Home
last modified time | relevance | path

Searched refs:ssids (Results 1 – 25 of 38) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_android.c98 params->ssids[i].ssid, in android_pno_start()
99 params->ssids[i].ssid_len); in android_pno_start()
101 buf[bp++] = params->ssids[i].ssid_len; in android_pno_start()
102 os_memcpy(&buf[bp], params->ssids[i].ssid, in android_pno_start()
103 params->ssids[i].ssid_len); in android_pno_start()
104 bp += params->ssids[i].ssid_len; in android_pno_start()
Ddriver_nl80211_scan.c194 struct nlattr *ssids; in nl80211_scan_common() local
196 ssids = nla_nest_start(msg, NL80211_ATTR_SCAN_SSIDS); in nl80211_scan_common()
197 if (ssids == NULL) in nl80211_scan_common()
201 wpa_ssid_txt(params->ssids[i].ssid, in nl80211_scan_common()
202 params->ssids[i].ssid_len)); in nl80211_scan_common()
203 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in nl80211_scan_common()
204 params->ssids[i].ssid)) in nl80211_scan_common()
207 nla_nest_end(msg, ssids); in nl80211_scan_common()
1095 struct nlattr *ssids; in wpa_driver_nl80211_vendor_scan() local
1097 ssids = nla_nest_start(msg, QCA_WLAN_VENDOR_ATTR_SCAN_SSIDS); in wpa_driver_nl80211_vendor_scan()
[all …]
Dwpa_hal.c1240 scan->ssids = (WifiDriverScanSsid *)os_zalloc(sizeof(WifiDriverScanSsid) * params->num_ssids); in WifiWpaScanProcessSsid()
1241 if (scan->ssids == NULL) { in WifiWpaScanProcessSsid()
1246 …wpa_printf(MSG_INFO, "WIFI: Scan : %s SSID : %zu\n", params->ssids[loop].ssid, params->ssids[loop]… in WifiWpaScanProcessSsid()
1248 if (params->ssids[loop].ssid_len > MAX_SSID_LEN) { in WifiWpaScanProcessSsid()
1249 params->ssids[loop].ssid_len = MAX_SSID_LEN; in WifiWpaScanProcessSsid()
1251 if (params->ssids[loop].ssid_len) { in WifiWpaScanProcessSsid()
1252 …rc = memcpy_s(scan->ssids[loop].ssid, MAX_SSID_LEN, params->ssids[loop].ssid, params->ssids[loop].… in WifiWpaScanProcessSsid()
1257 scan->ssids[loop].ssidLen = params->ssids[loop].ssid_len; in WifiWpaScanProcessSsid()
1331 if ((*scan)->ssids != NULL) { in WifiWpaScanFree()
1332 os_free((*scan)->ssids); in WifiWpaScanFree()
[all …]
Ddriver_privsep.c112 if (!params->ssids[i].ssid) in wpa_driver_privsep_scan()
114 scan.ssid_lens[i] = params->ssids[i].ssid_len; in wpa_driver_privsep_scan()
115 os_memcpy(scan.ssids[i], params->ssids[i].ssid, in wpa_driver_privsep_scan()
Ddriver_bsd.c1192 sr.sr_ssid[i].len = params->ssids[i].ssid_len; in wpa_driver_bsd_scan()
1193 os_memcpy(sr.sr_ssid[i].ssid, params->ssids[i].ssid, in wpa_driver_bsd_scan()
1201 if (bsd_set_ssid(drv, params->ssids[0].ssid, in wpa_driver_bsd_scan()
1202 params->ssids[0].ssid_len) < 0) in wpa_driver_bsd_scan()
Ddriver.h403 struct wpa_driver_scan_ssid ssids[WPAS_MAX_SCAN_SSIDS]; member
5356 struct wpa_driver_scan_ssid ssids[WPAS_MAX_SCAN_SSIDS]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_android.c98 params->ssids[i].ssid, in android_pno_start()
99 params->ssids[i].ssid_len); in android_pno_start()
101 buf[bp++] = params->ssids[i].ssid_len; in android_pno_start()
102 os_memcpy(&buf[bp], params->ssids[i].ssid, in android_pno_start()
103 params->ssids[i].ssid_len); in android_pno_start()
104 bp += params->ssids[i].ssid_len; in android_pno_start()
Ddriver_nl80211_scan.c192 struct nlattr *ssids; in nl80211_scan_common() local
194 ssids = nla_nest_start(msg, NL80211_ATTR_SCAN_SSIDS); in nl80211_scan_common()
195 if (ssids == NULL) in nl80211_scan_common()
199 wpa_ssid_txt(params->ssids[i].ssid, in nl80211_scan_common()
200 params->ssids[i].ssid_len)); in nl80211_scan_common()
201 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in nl80211_scan_common()
202 params->ssids[i].ssid)) in nl80211_scan_common()
205 nla_nest_end(msg, ssids); in nl80211_scan_common()
1113 struct nlattr *ssids; in wpa_driver_nl80211_vendor_scan() local
1115 ssids = nla_nest_start(msg, QCA_WLAN_VENDOR_ATTR_SCAN_SSIDS); in wpa_driver_nl80211_vendor_scan()
[all …]
Dwpa_hal.c1245 scan->ssids = (WifiDriverScanSsid *)os_zalloc(sizeof(WifiDriverScanSsid) * params->num_ssids); in WifiWpaScanProcessSsid()
1246 if (scan->ssids == NULL) { in WifiWpaScanProcessSsid()
1251 …wpa_printf(MSG_INFO, "WIFI: Scan : %s SSID : %zu\n", params->ssids[loop].ssid, params->ssids[loop]… in WifiWpaScanProcessSsid()
1253 if (params->ssids[loop].ssid_len > MAX_SSID_LEN) { in WifiWpaScanProcessSsid()
1254 params->ssids[loop].ssid_len = MAX_SSID_LEN; in WifiWpaScanProcessSsid()
1256 if (params->ssids[loop].ssid_len) { in WifiWpaScanProcessSsid()
1257 …rc = memcpy_s(scan->ssids[loop].ssid, MAX_SSID_LEN, params->ssids[loop].ssid, params->ssids[loop].… in WifiWpaScanProcessSsid()
1262 scan->ssids[loop].ssidLen = params->ssids[loop].ssid_len; in WifiWpaScanProcessSsid()
1336 if ((*scan)->ssids != NULL) { in WifiWpaScanFree()
1337 os_free((*scan)->ssids); in WifiWpaScanFree()
[all …]
Ddriver_privsep.c112 if (!params->ssids[i].ssid) in wpa_driver_privsep_scan()
114 scan.ssid_lens[i] = params->ssids[i].ssid_len; in wpa_driver_privsep_scan()
115 os_memcpy(scan.ssids[i], params->ssids[i].ssid, in wpa_driver_privsep_scan()
Ddriver_bsd.c1335 sr.sr_ssid[i].len = params->ssids[i].ssid_len; in wpa_driver_bsd_scan()
1336 os_memcpy(sr.sr_ssid[i].ssid, params->ssids[i].ssid, in wpa_driver_bsd_scan()
1344 if (bsd_set_ssid(drv, params->ssids[0].ssid, in wpa_driver_bsd_scan()
1345 params->ssids[0].ssid_len) < 0) in wpa_driver_bsd_scan()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dscan.c341 struct wpa_driver_scan_filter *ssids; in wpa_supplicant_build_filter_ssids() local
355 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); in wpa_supplicant_build_filter_ssids()
356 if (ssids == NULL) in wpa_supplicant_build_filter_ssids()
362 os_memcpy(ssids[*num_ssids].ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_build_filter_ssids()
363 ssids[*num_ssids].ssid_len = ssid->ssid_len; in wpa_supplicant_build_filter_ssids()
367 return ssids; in wpa_supplicant_build_filter_ssids()
698 if (params->ssids[j].ssid_len == ssid_len && in wpa_add_scan_ssid()
699 params->ssids[j].ssid && in wpa_add_scan_ssid()
700 os_memcmp(params->ssids[j].ssid, ssid, ssid_len) == 0) in wpa_add_scan_ssid()
712 params->ssids[params->num_ssids].ssid = ssid; in wpa_add_scan_ssid()
[all …]
Dbgscan_simple.c41 params.ssids[0].ssid = data->ssid->ssid; in bgscan_simple_timeout()
42 params.ssids[0].ssid_len = data->ssid->ssid_len; in bgscan_simple_timeout()
Dbgscan_learn.c281 params.ssids[0].ssid = data->ssid->ssid; in bgscan_learn_timeout()
282 params.ssids[0].ssid_len = data->ssid->ssid_len; in bgscan_learn_timeout()
Dwpa_priv.c161 params.ssids[i].ssid = scan->ssids[i]; in wpa_priv_cmd_scan()
162 params.ssids[i].ssid_len = scan->ssid_lens[i]; in wpa_priv_cmd_scan()
Drrm.c1225 params->ssids[params->num_ssids].ssid = data->ssid; in wpas_rm_handle_beacon_req()
1226 params->ssids[params->num_ssids++].ssid_len = data->ssid_len; in wpas_rm_handle_beacon_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dscan.c376 struct wpa_driver_scan_filter *ssids; in wpa_supplicant_build_filter_ssids() local
390 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); in wpa_supplicant_build_filter_ssids()
391 if (ssids == NULL) in wpa_supplicant_build_filter_ssids()
397 os_memcpy(ssids[*num_ssids].ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_build_filter_ssids()
398 ssids[*num_ssids].ssid_len = ssid->ssid_len; in wpa_supplicant_build_filter_ssids()
402 return ssids; in wpa_supplicant_build_filter_ssids()
783 if (params->ssids[j].ssid_len == ssid_len && in wpa_add_scan_ssid()
784 params->ssids[j].ssid && in wpa_add_scan_ssid()
785 os_memcmp(params->ssids[j].ssid, ssid, ssid_len) == 0) in wpa_add_scan_ssid()
797 params->ssids[params->num_ssids].ssid = ssid; in wpa_add_scan_ssid()
[all …]
Dbgscan_simple.c41 params.ssids[0].ssid = data->ssid->ssid; in bgscan_simple_timeout()
42 params.ssids[0].ssid_len = data->ssid->ssid_len; in bgscan_simple_timeout()
Dbgscan_learn.c281 params.ssids[0].ssid = data->ssid->ssid; in bgscan_learn_timeout()
282 params.ssids[0].ssid_len = data->ssid->ssid_len; in bgscan_learn_timeout()
Dwpa_priv.c161 params.ssids[i].ssid = scan->ssids[i]; in wpa_priv_cmd_scan()
162 params.ssids[i].ssid_len = scan->ssid_lens[i]; in wpa_priv_cmd_scan()
Drrm.c1244 params->ssids[params->num_ssids].ssid = data->ssid; in wpas_rm_handle_beacon_req()
1245 params->ssids[params->num_ssids++].ssid_len = data->ssid_len; in wpas_rm_handle_beacon_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dprivsep_commands.h37 u8 ssids[WPAS_MAX_SCAN_SSIDS][32]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dprivsep_commands.h37 u8 ssids[WPAS_MAX_SCAN_SSIDS][32]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new_handlers.c1060 struct wpa_driver_scan_ssid *ssids = params->ssids; in wpas_dbus_get_scan_ssids() local
1125 ssids[ssids_num].ssid = ssid; in wpas_dbus_get_scan_ssids()
1126 ssids[ssids_num].ssid_len = len; in wpas_dbus_get_scan_ssids()
1451 os_free((u8 *) params.ssids[i].ssid); in wpas_dbus_handler_scan()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new_handlers.c1207 struct wpa_driver_scan_ssid *ssids = params->ssids; in wpas_dbus_get_scan_ssids() local
1272 ssids[ssids_num].ssid = ssid; in wpas_dbus_get_scan_ssids()
1273 ssids[ssids_num].ssid_len = len; in wpas_dbus_get_scan_ssids()
1598 os_free((u8 *) params.ssids[i].ssid); in wpas_dbus_handler_scan()

12