Home
last modified time | relevance | path

Searched refs:scan_plans (Results 1 – 6 of 6) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dautoscan.c47 struct sched_scan_plan *scan_plans; in autoscan_init() local
86 scan_plans = os_malloc(sizeof(*wpa_s->sched_scan_plans)); in autoscan_init()
87 if (!scan_plans) in autoscan_init()
94 os_free(scan_plans); in autoscan_init()
98 scan_plans[0].interval = 5; in autoscan_init()
99 scan_plans[0].iterations = 0; in autoscan_init()
101 wpa_s->sched_scan_plans = scan_plans; in autoscan_init()
Dscan.c3292 struct sched_scan_plan *scan_plans = NULL; in wpas_sched_scan_plans_set() local
3311 n = os_realloc_array(scan_plans, num + 1, sizeof(*scan_plans)); in wpas_sched_scan_plans_set()
3315 scan_plans = n; in wpas_sched_scan_plans_set()
3316 scan_plan = &scan_plans[num]; in wpas_sched_scan_plans_set()
3363 if (!scan_plans) { in wpas_sched_scan_plans_set()
3368 if (cstr_token(cmd, " ", &context) || scan_plans[num - 1].iterations) { in wpas_sched_scan_plans_set()
3375 num, scan_plans[num - 1].interval); in wpas_sched_scan_plans_set()
3384 os_memcpy(&scan_plans[wpa_s->max_sched_scan_plans - 1], in wpas_sched_scan_plans_set()
3385 &scan_plans[num - 1], sizeof(*scan_plans)); in wpas_sched_scan_plans_set()
3390 wpa_s->sched_scan_plans = scan_plans; in wpas_sched_scan_plans_set()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dautoscan.c47 struct sched_scan_plan *scan_plans; in autoscan_init() local
86 scan_plans = os_malloc(sizeof(*wpa_s->sched_scan_plans)); in autoscan_init()
87 if (!scan_plans) in autoscan_init()
94 os_free(scan_plans); in autoscan_init()
98 scan_plans[0].interval = 5; in autoscan_init()
99 scan_plans[0].iterations = 0; in autoscan_init()
101 wpa_s->sched_scan_plans = scan_plans; in autoscan_init()
Dscan.c2896 struct sched_scan_plan *scan_plans = NULL; in wpas_sched_scan_plans_set() local
2915 n = os_realloc_array(scan_plans, num + 1, sizeof(*scan_plans)); in wpas_sched_scan_plans_set()
2919 scan_plans = n; in wpas_sched_scan_plans_set()
2920 scan_plan = &scan_plans[num]; in wpas_sched_scan_plans_set()
2967 if (!scan_plans) { in wpas_sched_scan_plans_set()
2972 if (cstr_token(cmd, " ", &context) || scan_plans[num - 1].iterations) { in wpas_sched_scan_plans_set()
2979 num, scan_plans[num - 1].interval); in wpas_sched_scan_plans_set()
2988 os_memcpy(&scan_plans[wpa_s->max_sched_scan_plans - 1], in wpas_sched_scan_plans_set()
2989 &scan_plans[num - 1], sizeof(*scan_plans)); in wpas_sched_scan_plans_set()
2994 wpa_s->sched_scan_plans = scan_plans; in wpas_sched_scan_plans_set()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_scan.c428 struct sched_scan_plan *scan_plans = params->sched_scan_plans; in nl80211_sched_scan_add_scan_plans() local
441 if (!scan_plans[i].interval || in nl80211_sched_scan_add_scan_plans()
442 scan_plans[i].interval > in nl80211_sched_scan_add_scan_plans()
446 i, scan_plans[i].interval); in nl80211_sched_scan_add_scan_plans()
451 scan_plans[i].interval)) in nl80211_sched_scan_add_scan_plans()
454 if (scan_plans[i].iterations > in nl80211_sched_scan_add_scan_plans()
458 i, scan_plans[i].iterations); in nl80211_sched_scan_add_scan_plans()
462 if (scan_plans[i].iterations && in nl80211_sched_scan_add_scan_plans()
464 scan_plans[i].iterations)) in nl80211_sched_scan_add_scan_plans()
475 if (!scan_plans[i].iterations) in nl80211_sched_scan_add_scan_plans()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_scan.c425 struct sched_scan_plan *scan_plans = params->sched_scan_plans; in nl80211_sched_scan_add_scan_plans() local
438 if (!scan_plans[i].interval || in nl80211_sched_scan_add_scan_plans()
439 scan_plans[i].interval > in nl80211_sched_scan_add_scan_plans()
443 i, scan_plans[i].interval); in nl80211_sched_scan_add_scan_plans()
448 scan_plans[i].interval)) in nl80211_sched_scan_add_scan_plans()
451 if (scan_plans[i].iterations > in nl80211_sched_scan_add_scan_plans()
455 i, scan_plans[i].iterations); in nl80211_sched_scan_add_scan_plans()
459 if (scan_plans[i].iterations && in nl80211_sched_scan_add_scan_plans()
461 scan_plans[i].iterations)) in nl80211_sched_scan_add_scan_plans()
472 if (!scan_plans[i].iterations) in nl80211_sched_scan_add_scan_plans()