Lines Matching refs:survey_data

676 	} survey_data[ARRAY_SIZE(hwsim_channels_2ghz) +  member
2357 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2358 if (data->survey_data[idx].channel == data->channel) { in mac80211_hwsim_config()
2359 data->survey_data[idx].start = in mac80211_hwsim_config()
2360 data->survey_data[idx].next_start; in mac80211_hwsim_config()
2361 data->survey_data[idx].end = jiffies; in mac80211_hwsim_config()
2369 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2370 if (data->survey_data[idx].channel && in mac80211_hwsim_config()
2371 data->survey_data[idx].channel != data->channel) in mac80211_hwsim_config()
2373 data->survey_data[idx].channel = data->channel; in mac80211_hwsim_config()
2374 data->survey_data[idx].next_start = jiffies; in mac80211_hwsim_config()
2688 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
2692 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
2709 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
2710 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
2903 hwsim->survey_data[hwsim->scan_chan_idx].channel = hwsim->tmp_chan; in hw_scan_work()
2904 hwsim->survey_data[hwsim->scan_chan_idx].start = jiffies; in hw_scan_work()
2905 hwsim->survey_data[hwsim->scan_chan_idx].end = in hw_scan_work()
2932 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_hw_scan()
2981 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_sw_scan()