summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2019-05-21 22:08:20 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2019-06-11 07:27:31 +0000
commit966f3e9da9a6e943333542b26778357b304c2f1b (patch)
tree0a75a1fbf625136abb0316ba9d9434ebeaa50c43 /src
parent79b0d466b91dc6b5e0038d3ce5934912392be4b8 (diff)
downloadconnman-966f3e9da9a6e943333542b26778357b304c2f1b.tar.gz
connman-966f3e9da9a6e943333542b26778357b304c2f1b.tar.bz2
connman-966f3e9da9a6e943333542b26778357b304c2f1b.zip
Improve support of Multiple same SSIDs including band steering.submit/tizen/20190611.082034accepted/tizen/unified/20190611.110358
1. Supports up to 8 BSSIDs per each SSID 2. Attempt to connect only once per each BSSID 3. Sorted by signal strength and try to connect in sorted order 4. Sets the correct frequency for each bssid. Change-Id: I668fff29f2df99b2e5f637a39b5c70da84f8ee1c Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/network.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/network.c b/src/network.c
index 9933b723..4a53bba3 100755
--- a/src/network.c
+++ b/src/network.c
@@ -102,7 +102,6 @@ struct connman_network {
#if defined TIZEN_EXT
char encryption_mode[WIFI_ENCYPTION_MODE_LEN_MAX];
unsigned char bssid[WIFI_BSSID_LEN_MAX];
- char last_bssid[MAC_ADDRESS_LENGTH];
unsigned int maxrate;
int maxspeed;
bool isHS20AP;
@@ -1580,11 +1579,6 @@ int connman_network_set_connected(struct connman_network *network,
network, network->connected, connected, network->connecting,
network->associating);
-#if defined TIZEN_EXT
- /* reset last connect request bssid */
- connman_network_set_last_bssid(network, NULL);
-#endif
-
if ((network->connecting || network->associating) &&
!connected) {
connman_network_set_error(network,
@@ -1976,23 +1970,6 @@ unsigned char *connman_network_get_bssid(struct connman_network *network)
return (unsigned char *)network->wifi.bssid;
}
-int connman_network_set_last_bssid(struct connman_network *network,
- const char *bssid)
-{
- if (bssid == NULL) {
- memset(network->wifi.last_bssid, '\0', sizeof(network->wifi.last_bssid));
- return -EINVAL;
- }
- strncpy(network->wifi.last_bssid, bssid, MAC_ADDRESS_LENGTH - 1);
-
- return 0;
-}
-
-char *connman_network_get_last_bssid(struct connman_network *network)
-{
- return (char *)network->wifi.last_bssid;
-}
-
int connman_network_set_maxspeed(struct connman_network *network,
int maxspeed)
{