Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dhw_features.c288 struct wpa_scan_results *scan_res) in ieee80211n_check_40mhz_5g() argument
308 for (i = 0; i < scan_res->num; i++) { in ieee80211n_check_40mhz_5g()
309 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g()
328 for (i = 0; i < scan_res->num; i++) { in ieee80211n_check_40mhz_5g()
329 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g()
338 for (i = 0; i < scan_res->num; i++) { in ieee80211n_check_40mhz_5g()
339 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g()
359 struct wpa_scan_results *scan_res) in ieee80211n_check_40mhz_2g4() argument
374 for (i = 0; i < scan_res->num; i++) { in ieee80211n_check_40mhz_2g4()
375 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_2g4()
[all …]
/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);
35 struct wpa_scan_results *scan_res);
54 struct wpa_scan_results *scan_res) in bgscan_notify_scan() argument
Dscan.c1512 static void dump_scan_res(struct wpa_scan_results *scan_res) in dump_scan_res() argument
1517 if (scan_res->res == NULL || scan_res->num == 0) in dump_scan_res()
1522 for (i = 0; i < scan_res->num; i++) { in dump_scan_res()
1523 struct wpa_scan_res *r = scan_res->res[i]; in dump_scan_res()
1621 struct wpa_scan_results *scan_res; in wpa_supplicant_get_scan_results() local
1625 scan_res = wpa_drv_get_scan_results2(wpa_s); in wpa_supplicant_get_scan_results()
1626 if (scan_res == NULL) { in wpa_supplicant_get_scan_results()
1630 if (scan_res->fetch_time.sec == 0) { in wpa_supplicant_get_scan_results()
1635 os_get_time(&scan_res->fetch_time); in wpa_supplicant_get_scan_results()
1637 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.c125 struct wpa_scan_results *scan_res) in autoscan_notify_scan() argument
131 scan_res); in autoscan_notify_scan()
Dwnm_sta.c466 struct wpa_scan_results *scan_res, in compare_scan_neighbor_results() argument
473 if (scan_res == NULL || num_neigh_rep == 0) in compare_scan_neighbor_results()
477 for (j = 0; j < scan_res->num; j++) { in compare_scan_neighbor_results()
479 if (os_memcmp(scan_res->res[j]->bssid, in compare_scan_neighbor_results()
481 scan_res->res[j]->level > in compare_scan_neighbor_results()
535 struct wpa_scan_results *scan_res) in wnm_scan_response() argument
539 if (scan_res == NULL) { in wnm_scan_response()
545 if (compare_scan_neighbor_results(wpa_s, scan_res, in wnm_scan_response()
Dwps_supplicant.h82 struct wpa_scan_results *scan_res);
137 struct wpa_scan_results *scan_res) in wpas_wps_update_ap_info() argument
Dbgscan_learn.c475 struct wpa_scan_results *scan_res) in bgscan_learn_notify_scan() argument
489 for (i = 0; i < scan_res->num; i++) { in bgscan_learn_notify_scan()
490 struct wpa_scan_res *res = scan_res->res[i]; in bgscan_learn_notify_scan()
503 for (i = 0; i < scan_res->num; i++) { in bgscan_learn_notify_scan()
504 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
Devents.c1151 struct wpa_scan_results *scan_res; in _wpa_supplicant_event_scan_results() local
1181 scan_res = wpa_supplicant_get_scan_results(wpa_s, in _wpa_supplicant_event_scan_results()
1184 if (scan_res == NULL) { in _wpa_supplicant_event_scan_results()
1197 num = scan_res->num; in _wpa_supplicant_event_scan_results()
1202 struct wpa_scan_res *res = scan_res->res[i]; in _wpa_supplicant_event_scan_results()
1214 struct wpa_scan_results *scan_res); in _wpa_supplicant_event_scan_results()
1218 scan_res_handler(wpa_s, scan_res); in _wpa_supplicant_event_scan_results()
1220 wpa_scan_results_free(scan_res); in _wpa_supplicant_event_scan_results()
1230 wpa_scan_results_free(scan_res); in _wpa_supplicant_event_scan_results()
1241 wpa_scan_results_free(scan_res); in _wpa_supplicant_event_scan_results()
[all …]
Dscan.h38 struct wpa_scan_results *scan_res);
Dautoscan_exponential.c77 struct wpa_scan_results *scan_res) in autoscan_exponential_notify_scan() argument
Dwnm_sta.h84 struct wpa_scan_results *scan_res);
Dbgscan_simple.c179 struct wpa_scan_results *scan_res) in bgscan_simple_notify_scan() argument
Dp2p_supplicant.c186 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_handler() argument
194 (int) scan_res->num); in wpas_p2p_scan_res_handler()
196 for (i = 0; i < scan_res->num; i++) { in wpas_p2p_scan_res_handler()
197 struct wpa_scan_res *bss = scan_res->res[i]; in wpas_p2p_scan_res_handler()
201 os_time_sub(&scan_res->fetch_time, &time_tmp_age, &entry_ts); in wpas_p2p_scan_res_handler()
3626 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_join() argument
3638 scan_res ? (int) scan_res->num : -1, in wpas_p2p_scan_res_join()
3641 if (scan_res) in wpas_p2p_scan_res_join()
3642 wpas_p2p_scan_res_handler(wpa_s, scan_res); in wpas_p2p_scan_res_join()
5778 struct wpa_scan_results *scan_res) in wpas_p2p_scan_res_ignore() argument
Dwpa_supplicant_i.h389 struct wpa_scan_results *scan_res);
Dwpa_supplicant.c589 struct wpa_scan_results *scan_res; in wpa_supplicant_start_bgscan() local
591 scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, in wpa_supplicant_start_bgscan()
593 if (scan_res) { in wpa_supplicant_start_bgscan()
594 bgscan_notify_scan(wpa_s, scan_res); in wpa_supplicant_start_bgscan()
595 wpa_scan_results_free(scan_res); in wpa_supplicant_start_bgscan()
Dwps_supplicant.c2452 struct wpa_scan_results *scan_res) in wpas_wps_update_ap_info() argument
2456 for (i = 0; i < scan_res->num; i++) in wpas_wps_update_ap_info()
2457 wpas_wps_update_ap_info_bss(wpa_s, scan_res->res[i]); in wpas_wps_update_ap_info()
Dinterworking.c2040 struct wpa_scan_results *scan_res) in interworking_scan_res_handler() argument
/external/wpa_supplicant_8/src/p2p/
Dp2p_i.h713 size_t ies_len, int scan_res);
Dp2p.c648 size_t ies_len, int scan_res) in p2p_add_device() argument
735 if (dev->listen_freq && dev->listen_freq != freq && scan_res) { in p2p_add_device()
741 if (scan_res) { in p2p_add_device()
769 if (scan_res) { in p2p_add_device()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c2140 struct wpa_scan_res *scan_res; in get_noise_for_scan_results() local
2166 scan_res = scan_results->res[i]; in get_noise_for_scan_results()
2167 if (!scan_res) in get_noise_for_scan_results()
2170 scan_res->freq) in get_noise_for_scan_results()
2172 if (!(scan_res->flags & WPA_SCAN_NOISE_INVALID)) in get_noise_for_scan_results()
2174 scan_res->noise = (s8) in get_noise_for_scan_results()
2176 scan_res->flags &= ~WPA_SCAN_NOISE_INVALID; in get_noise_for_scan_results()
2185 struct wpa_scan_results *scan_res) in nl80211_get_noise_for_scan_results() argument
2198 scan_res); in nl80211_get_noise_for_scan_results()