summaryrefslogtreecommitdiff
path: root/include/network.h
diff options
context:
space:
mode:
authorMayank Haarit <mayank.h@samsung.com>2018-04-18 14:29:49 (GMT)
committerMayank Haarit <mayank.h@samsung.com>2018-04-20 14:04:29 (GMT)
commitdce2054780e8142aebe5a7d11c4751040437f7ec (patch)
treecbbe0c26f6956b267d8192e409e13c66b966505a /include/network.h
parentf08451dc1450406af7f5db6d3cd2f49e1da33836 (diff)
downloadconnman-dce2054780e8142aebe5a7d11c4751040437f7ec.zip
connman-dce2054780e8142aebe5a7d11c4751040437f7ec.tar.gz
connman-dce2054780e8142aebe5a7d11c4751040437f7ec.tar.bz2
Added logic to get country code of APsrefs/changes/48/176348/4
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/network.h')
-rwxr-xr-xinclude/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index baf1c01..63c4e44 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,