Searched refs:scan_plans (Results 1 – 3 of 3) sorted by relevance
47 struct sched_scan_plan *scan_plans; in autoscan_init() local86 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()
2993 struct sched_scan_plan *scan_plans = NULL; in wpas_sched_scan_plans_set() local3012 n = os_realloc_array(scan_plans, num + 1, sizeof(*scan_plans)); in wpas_sched_scan_plans_set()3016 scan_plans = n; in wpas_sched_scan_plans_set()3017 scan_plan = &scan_plans[num]; in wpas_sched_scan_plans_set()3064 if (!scan_plans) { in wpas_sched_scan_plans_set()3069 if (cstr_token(cmd, " ", &context) || scan_plans[num - 1].iterations) { in wpas_sched_scan_plans_set()3076 num, scan_plans[num - 1].interval); in wpas_sched_scan_plans_set()3085 os_memcpy(&scan_plans[wpa_s->max_sched_scan_plans - 1], in wpas_sched_scan_plans_set()3086 &scan_plans[num - 1], sizeof(*scan_plans)); in wpas_sched_scan_plans_set()3091 wpa_s->sched_scan_plans = scan_plans; in wpas_sched_scan_plans_set()[all …]
428 struct sched_scan_plan *scan_plans = params->sched_scan_plans; in nl80211_sched_scan_add_scan_plans() local441 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()