Home
last modified time | relevance | path

Searched refs:scan_res (Results 1 – 25 of 27) sorted by relevance

12

/external/wpa_supplicant_8/src/common/
Dhw_features_common.c180 struct wpa_scan_results *scan_res, int pri_chan, in check_40mhz_5g() argument
188 if (!mode || !scan_res || !pri_chan || !sec_chan || in check_40mhz_5g()
200 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
201 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g()
219 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
220 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g()
229 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
230 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g()
277 struct wpa_scan_results *scan_res, int pri_chan, in check_40mhz_2g4() argument
284 if (!mode || !scan_res || !pri_chan || !sec_chan || in check_40mhz_2g4()
[all …]
Dhw_features_common.h27 struct wpa_scan_results *scan_res, int pri_chan,
30 struct wpa_scan_results *scan_res, int pri_chan,
/external/wpa_supplicant_8/wpa_supplicant/
Dautoscan.h20 int (*notify_scan)(void *priv, struct wpa_scan_results *scan_res);
28 struct wpa_scan_results *scan_res);
52 struct wpa_scan_results *scan_res) in autoscan_notify_scan() argument
Dbgscan.h22 int (*notify_scan)(void *priv, struct wpa_scan_results *scan_res);
36 struct wpa_scan_results *scan_res);
64 struct wpa_scan_results *scan_res) in bgscan_notify_scan() argument
Dscan.c2063 static void dump_scan_res(struct wpa_scan_results *scan_res) in dump_scan_res() argument
2068 if (scan_res->res == NULL || scan_res->num == 0) in dump_scan_res()
2073 for (i = 0; i < scan_res->num; i++) { in dump_scan_res()
2074 struct wpa_scan_res *r = scan_res->res[i]; in dump_scan_res()
2355 struct wpa_scan_results *scan_res; in wpa_supplicant_get_scan_results() local
2359 scan_res = wpa_drv_get_scan_results2(wpa_s); in wpa_supplicant_get_scan_results()
2360 if (scan_res == NULL) { in wpa_supplicant_get_scan_results()
2364 if (scan_res->fetch_time.sec == 0) { in wpa_supplicant_get_scan_results()
2369 os_get_reltime(&scan_res->fetch_time); in wpa_supplicant_get_scan_results()
2371 filter_scan_res(wpa_s, scan_res); in wpa_supplicant_get_scan_results()
[all …]
Drrm.c1467 struct wpa_scan_results *scan_res, in wpas_beacon_rep_scan_process() argument
1494 for (i = 0; i < scan_res->num; i++) { in wpas_beacon_rep_scan_process()
1496 wpa_bss_get_bssid(wpa_s, scan_res->res[i]->bssid); in wpas_beacon_rep_scan_process()
1503 os_memcmp(scan_res->res[i]->tsf_bssid, in wpas_beacon_rep_scan_process()
1508 MAC2STR(scan_res->res[i]->bssid), in wpas_beacon_rep_scan_process()
1509 MAC2STR(scan_res->res[i]->tsf_bssid)); in wpas_beacon_rep_scan_process()
1526 calculate_update_time(&scan_res->fetch_time, in wpas_beacon_rep_scan_process()
1527 scan_res->res[i]->age, in wpas_beacon_rep_scan_process()
1537 MAC2STR(scan_res->res[i]->bssid), in wpas_beacon_rep_scan_process()
1538 scan_res->res[i]->age, in wpas_beacon_rep_scan_process()
[all …]
Dbgscan.c84 struct wpa_scan_results *scan_res) in bgscan_notify_scan() argument
88 scan_res); in bgscan_notify_scan()
Dautoscan.c144 struct wpa_scan_results *scan_res) in autoscan_notify_scan() argument
150 scan_res); in autoscan_notify_scan()
Dbgscan_learn.c482 struct wpa_scan_results *scan_res) in bgscan_learn_notify_scan() argument
496 for (i = 0; i < scan_res->num; i++) { in bgscan_learn_notify_scan()
497 struct wpa_scan_res *res = scan_res->res[i]; in bgscan_learn_notify_scan()
510 for (i = 0; i < scan_res->num; i++) { in bgscan_learn_notify_scan()
511 struct wpa_scan_res *res = scan_res->res[i]; in bgscan_learn_notify_scan()
Dwps_supplicant.h88 struct wpa_scan_results *scan_res);
144 struct wpa_scan_results *scan_res) in wpas_wps_update_ap_info() argument
Dwnm_sta.c1292 struct wpa_scan_results *scan_res; in wnm_fetch_scan_results() local
1300 scan_res = wpa_drv_get_scan_results2(wpa_s); in wnm_fetch_scan_results()
1301 if (!scan_res) { in wnm_fetch_scan_results()
1306 if (scan_res->fetch_time.sec == 0) in wnm_fetch_scan_results()
1307 os_get_reltime(&scan_res->fetch_time); in wnm_fetch_scan_results()
1309 filter_scan_res(wpa_s, scan_res); in wnm_fetch_scan_results()
1318 for (j = 0; j < scan_res->num; j++) { in wnm_fetch_scan_results()
1322 res = scan_res->res[j]; in wnm_fetch_scan_results()
1339 &scan_res->fetch_time); in wnm_fetch_scan_results()
1343 wpa_scan_results_free(scan_res); in wnm_fetch_scan_results()
Dautoscan_periodic.c70 struct wpa_scan_results *scan_res) in autoscan_periodic_notify_scan() argument
Dautoscan_exponential.c77 struct wpa_scan_results *scan_res) in autoscan_exponential_notify_scan() argument
Dscan.h40 struct wpa_scan_results *scan_res);
Devents.c1805 struct wpa_scan_results *scan_res = NULL; in _wpa_supplicant_event_scan_results() local
1819 scan_res = wpa_supplicant_get_scan_results(wpa_s, in _wpa_supplicant_event_scan_results()
1822 if (scan_res == NULL) { in _wpa_supplicant_event_scan_results()
1838 num = scan_res->num; in _wpa_supplicant_event_scan_results()
1843 struct wpa_scan_res *res = scan_res->res[i]; in _wpa_supplicant_event_scan_results()
1861 struct wpa_scan_results *scan_res); in _wpa_supplicant_event_scan_results()
1865 scan_res_handler(wpa_s, scan_res); in _wpa_supplicant_event_scan_results()
1897 wpa_scan_results_free(scan_res); in _wpa_supplicant_event_scan_results()
1908 wpas_beacon_rep_scan_process(wpa_s, scan_res, &data->scan_info) > 0) in _wpa_supplicant_event_scan_results()
1914 if (autoscan_notify_scan(wpa_s, scan_res)) in _wpa_supplicant_event_scan_results()
[all …]
Dbgscan_simple.c171 struct wpa_scan_results *scan_res) in bgscan_simple_notify_scan() argument
Dwpa_supplicant_i.h583 struct wpa_scan_results *scan_res);
1382 struct wpa_scan_results *scan_res,
Dwpa_supplicant.c788 struct wpa_scan_results *scan_res; in wpa_supplicant_start_bgscan() local
790 scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, in wpa_supplicant_start_bgscan()
792 if (scan_res) { in wpa_supplicant_start_bgscan()
793 bgscan_notify_scan(wpa_s, scan_res); in wpa_supplicant_start_bgscan()
794 wpa_scan_results_free(scan_res); in wpa_supplicant_start_bgscan()
2273 struct wpa_scan_results *scan_res; in ibss_mesh_setup_freq() local
2275 scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, 0); in ibss_mesh_setup_freq()
2276 if (scan_res == NULL) { in ibss_mesh_setup_freq()
2282 res = check_40mhz_5g(mode, scan_res, pri_chan->chan, in ibss_mesh_setup_freq()
2303 wpa_scan_results_free(scan_res); in ibss_mesh_setup_freq()
Dp2p_supplicant.c246 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_handler() argument
260 (int) scan_res->num); in wpas_p2p_scan_res_handler()
262 for (i = 0; i < scan_res->num; i++) { in wpas_p2p_scan_res_handler()
263 struct wpa_scan_res *bss = scan_res->res[i]; in wpas_p2p_scan_res_handler()
270 os_reltime_sub(&scan_res->fetch_time, &time_tmp_age, &entry_ts); in wpas_p2p_scan_res_handler()
4871 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_join() argument
4883 scan_res ? (int) scan_res->num : -1, in wpas_p2p_scan_res_join()
4886 if (scan_res) in wpas_p2p_scan_res_join()
4887 wpas_p2p_scan_res_handler(wpa_s, scan_res); in wpas_p2p_scan_res_join()
6855 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_ignore_search() argument
[all …]
Dwps_supplicant.c2938 struct wpa_scan_results *scan_res) in wpas_wps_update_ap_info() argument
2942 for (i = 0; i < scan_res->num; i++) in wpas_wps_update_ap_info()
2943 wpas_wps_update_ap_info_bss(wpa_s, scan_res->res[i]); in wpas_wps_update_ap_info()
Dhs20_supplicant.c1181 struct wpa_scan_results *scan_res) in hs20_osu_scan_res_handler() argument
/external/wpa_supplicant_8/src/ap/
Dhw_features.c253 struct wpa_scan_results *scan_res) in ieee80211n_check_40mhz_5g() argument
261 res = check_40mhz_5g(iface->current_mode, scan_res, pri_chan, sec_chan); in ieee80211n_check_40mhz_5g()
277 struct wpa_scan_results *scan_res) in ieee80211n_check_40mhz_2g4() argument
284 return check_40mhz_2g4(iface->current_mode, scan_res, pri_chan, in ieee80211n_check_40mhz_2g4()
291 struct wpa_scan_results *scan_res; in ieee80211n_check_scan() local
300 scan_res = hostapd_driver_get_scan_results(iface->bss[0]); in ieee80211n_check_scan()
301 if (scan_res == NULL) { in ieee80211n_check_scan()
307 oper40 = ieee80211n_check_40mhz_5g(iface, scan_res); in ieee80211n_check_scan()
309 oper40 = ieee80211n_check_40mhz_2g4(iface, scan_res); in ieee80211n_check_scan()
310 wpa_scan_results_free(scan_res); in ieee80211n_check_scan()
/external/wpa_supplicant_8/src/p2p/
Dp2p_i.h888 size_t ies_len, int scan_res);
Dp2p.c708 size_t ies_len, int scan_res) in p2p_add_device() argument
812 if (dev->listen_freq && dev->listen_freq != freq && scan_res) { in p2p_add_device()
818 if (scan_res) { in p2p_add_device()
854 if (scan_res) { in p2p_add_device()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dp2p_iface.cpp210 struct wpa_scan_results *scan_res) in scanResJoinWrapper() argument
376 void scanResJoinIgnore(struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res) { in scanResJoinIgnore() argument

12