Lines Matching refs:survey_data
650 } survey_data[ARRAY_SIZE(hwsim_channels_2ghz) + member
1928 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
1929 if (data->survey_data[idx].channel == data->channel) { in mac80211_hwsim_config()
1930 data->survey_data[idx].start = in mac80211_hwsim_config()
1931 data->survey_data[idx].next_start; in mac80211_hwsim_config()
1932 data->survey_data[idx].end = jiffies; in mac80211_hwsim_config()
1939 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
1940 if (data->survey_data[idx].channel && in mac80211_hwsim_config()
1941 data->survey_data[idx].channel != data->channel) in mac80211_hwsim_config()
1943 data->survey_data[idx].channel = data->channel; in mac80211_hwsim_config()
1944 data->survey_data[idx].next_start = jiffies; in mac80211_hwsim_config()
2144 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
2148 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
2165 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
2166 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
2347 hwsim->survey_data[hwsim->scan_chan_idx].channel = hwsim->tmp_chan; in hw_scan_work()
2348 hwsim->survey_data[hwsim->scan_chan_idx].start = jiffies; in hw_scan_work()
2349 hwsim->survey_data[hwsim->scan_chan_idx].end = in hw_scan_work()
2376 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_hw_scan()
2425 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_sw_scan()