Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/common/
Dhw_features_common.c171 struct wpa_scan_results *scan_res, int pri_chan, in check_40mhz_5g() argument
179 if (!mode || !scan_res || !pri_chan || !sec_chan || in check_40mhz_5g()
191 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
192 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g()
210 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
211 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g()
220 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
221 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g()
268 struct wpa_scan_results *scan_res, int pri_chan, in check_40mhz_2g4() argument
275 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);
42 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);
55 struct wpa_scan_results *scan_res) in bgscan_notify_scan() argument
Dscan.c1806 static void dump_scan_res(struct wpa_scan_results *scan_res) in dump_scan_res() argument
1811 if (scan_res->res == NULL || scan_res->num == 0) in dump_scan_res()
1816 for (i = 0; i < scan_res->num; i++) { in dump_scan_res()
1817 struct wpa_scan_res *r = scan_res->res[i]; in dump_scan_res()
2098 struct wpa_scan_results *scan_res; in wpa_supplicant_get_scan_results() local
2102 scan_res = wpa_drv_get_scan_results2(wpa_s); in wpa_supplicant_get_scan_results()
2103 if (scan_res == NULL) { in wpa_supplicant_get_scan_results()
2107 if (scan_res->fetch_time.sec == 0) { in wpa_supplicant_get_scan_results()
2112 os_get_reltime(&scan_res->fetch_time); in wpa_supplicant_get_scan_results()
2114 filter_scan_res(wpa_s, scan_res); in wpa_supplicant_get_scan_results()
[all …]
Dbgscan.c92 struct wpa_scan_results *scan_res) in bgscan_notify_scan() argument
96 scan_res); in bgscan_notify_scan()
Dautoscan.c146 struct wpa_scan_results *scan_res) in autoscan_notify_scan() argument
152 scan_res); in autoscan_notify_scan()
Dwps_supplicant.h86 struct wpa_scan_results *scan_res);
142 struct wpa_scan_results *scan_res) in wpas_wps_update_ap_info() argument
Dbgscan_learn.c485 struct wpa_scan_results *scan_res) in bgscan_learn_notify_scan() argument
499 for (i = 0; i < scan_res->num; i++) { in bgscan_learn_notify_scan()
500 struct wpa_scan_res *res = scan_res->res[i]; in bgscan_learn_notify_scan()
513 for (i = 0; i < scan_res->num; i++) { in bgscan_learn_notify_scan()
514 struct wpa_scan_res *res = scan_res->res[i]; in bgscan_learn_notify_scan()
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.c1453 struct wpa_scan_results *scan_res = NULL; in _wpa_supplicant_event_scan_results() local
1467 scan_res = wpa_supplicant_get_scan_results(wpa_s, in _wpa_supplicant_event_scan_results()
1470 if (scan_res == NULL) { in _wpa_supplicant_event_scan_results()
1486 num = scan_res->num; in _wpa_supplicant_event_scan_results()
1491 struct wpa_scan_res *res = scan_res->res[i]; in _wpa_supplicant_event_scan_results()
1504 struct wpa_scan_results *scan_res); in _wpa_supplicant_event_scan_results()
1508 scan_res_handler(wpa_s, scan_res); in _wpa_supplicant_event_scan_results()
1540 wpa_scan_results_free(scan_res); in _wpa_supplicant_event_scan_results()
1553 if (autoscan_notify_scan(wpa_s, scan_res)) in _wpa_supplicant_event_scan_results()
1562 bgscan_notify_scan(wpa_s, scan_res) == 1) in _wpa_supplicant_event_scan_results()
[all …]
Dbgscan_simple.c179 struct wpa_scan_results *scan_res) in bgscan_simple_notify_scan() argument
Dwpa_supplicant.c684 struct wpa_scan_results *scan_res; in wpa_supplicant_start_bgscan() local
686 scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, in wpa_supplicant_start_bgscan()
688 if (scan_res) { in wpa_supplicant_start_bgscan()
689 bgscan_notify_scan(wpa_s, scan_res); in wpa_supplicant_start_bgscan()
690 wpa_scan_results_free(scan_res); in wpa_supplicant_start_bgscan()
1932 struct wpa_scan_results *scan_res; in ibss_mesh_setup_freq() local
1934 scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, 0); in ibss_mesh_setup_freq()
1935 if (scan_res == NULL) { in ibss_mesh_setup_freq()
1941 res = check_40mhz_5g(mode, scan_res, pri_chan->chan, in ibss_mesh_setup_freq()
1962 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()
4703 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_join() argument
4715 scan_res ? (int) scan_res->num : -1, in wpas_p2p_scan_res_join()
4718 if (scan_res) in wpas_p2p_scan_res_join()
4719 wpas_p2p_scan_res_handler(wpa_s, scan_res); in wpas_p2p_scan_res_join()
6563 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_ignore_search() argument
[all …]
Dwpa_supplicant_i.h554 struct wpa_scan_results *scan_res);
Dwps_supplicant.c2896 struct wpa_scan_results *scan_res) in wpas_wps_update_ap_info() argument
2900 for (i = 0; i < scan_res->num; i++) in wpas_wps_update_ap_info()
2901 wpas_wps_update_ap_info_bss(wpa_s, scan_res->res[i]); in wpas_wps_update_ap_info()
Dhs20_supplicant.c1023 struct wpa_scan_results *scan_res) in hs20_osu_scan_res_handler() argument
Dinterworking.c3025 struct wpa_scan_results *scan_res) in interworking_scan_res_handler() argument
Dctrl_iface.c7394 struct wpa_scan_results *scan_res); in wpas_ctrl_scan()
/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/drivers/
Ddriver_nl80211_scan.c33 struct wpa_scan_res *scan_res; in get_noise_for_scan_results() local
59 scan_res = scan_results->res[i]; in get_noise_for_scan_results()
60 if (!scan_res) in get_noise_for_scan_results()
63 scan_res->freq) in get_noise_for_scan_results()
65 if (!(scan_res->flags & WPA_SCAN_NOISE_INVALID)) in get_noise_for_scan_results()
67 scan_res->noise = (s8) in get_noise_for_scan_results()
69 scan_res->flags &= ~WPA_SCAN_NOISE_INVALID; in get_noise_for_scan_results()
78 struct wpa_scan_results *scan_res) in nl80211_get_noise_for_scan_results() argument
84 scan_res); in nl80211_get_noise_for_scan_results()
/external/wpa_supplicant_8/src/p2p/
Dp2p_i.h868 size_t ies_len, int scan_res);
Dp2p.c708 size_t ies_len, int scan_res) in p2p_add_device() argument
811 if (dev->listen_freq && dev->listen_freq != freq && scan_res) { in p2p_add_device()
817 if (scan_res) { in p2p_add_device()
847 if (scan_res) { in p2p_add_device()