summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMayank Haarit <mayank.h@samsung.com>2018-04-18 19:59:49 +0530
committerMayank Haarit <mayank.h@samsung.com>2018-04-20 19:34:29 +0530
commitdce2054780e8142aebe5a7d11c4751040437f7ec (patch)
treecbbe0c26f6956b267d8192e409e13c66b966505a /include
parentf08451dc1450406af7f5db6d3cd2f49e1da33836 (diff)
downloadconnman-dce2054780e8142aebe5a7d11c4751040437f7ec.tar.gz
connman-dce2054780e8142aebe5a7d11c4751040437f7ec.tar.bz2
connman-dce2054780e8142aebe5a7d11c4751040437f7ec.zip
Added logic to get country code of APs
It also includes parsing country code from IEs received from the supplicant Change-Id: Iea5f8b2ea7cc8fefe07591cc4d636d27b015d427 Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index baf1c01d..63c4e44d 100755
--- a/include/network.h
+++ b/include/network.h
@@ -157,6 +157,9 @@ int connman_network_get_disconnect_reason(struct connman_network *network);
int connman_network_get_assoc_status_code(struct connman_network *network);
int connman_network_set_assoc_status_code(struct connman_network *network,
int assoc_status_code);
+int connman_network_set_countrycode(struct connman_network *network, const
+ unsigned char *country_code);
+unsigned char *connman_network_get_countrycode(struct connman_network *network);
#endif
int connman_network_set_name(struct connman_network *network,