Lines Matching refs:survey_data

585 	} survey_data[ARRAY_SIZE(hwsim_channels_2ghz) +  member
1864 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
1865 if (data->survey_data[idx].channel == data->channel) { in mac80211_hwsim_config()
1866 data->survey_data[idx].start = in mac80211_hwsim_config()
1867 data->survey_data[idx].next_start; in mac80211_hwsim_config()
1868 data->survey_data[idx].end = jiffies; in mac80211_hwsim_config()
1875 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
1876 if (data->survey_data[idx].channel && in mac80211_hwsim_config()
1877 data->survey_data[idx].channel != data->channel) in mac80211_hwsim_config()
1879 data->survey_data[idx].channel = data->channel; in mac80211_hwsim_config()
1880 data->survey_data[idx].next_start = jiffies; in mac80211_hwsim_config()
2080 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
2084 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
2101 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
2102 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
2295 hwsim->survey_data[hwsim->scan_chan_idx].channel = hwsim->tmp_chan; in hw_scan_work()
2296 hwsim->survey_data[hwsim->scan_chan_idx].start = jiffies; in hw_scan_work()
2297 hwsim->survey_data[hwsim->scan_chan_idx].end = in hw_scan_work()
2324 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_hw_scan()
2373 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_sw_scan()