Lines Matching refs:survey_data

676 	} survey_data[ARRAY_SIZE(hwsim_channels_2ghz) +  member
2209 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2210 if (data->survey_data[idx].channel == data->channel) { in mac80211_hwsim_config()
2211 data->survey_data[idx].start = in mac80211_hwsim_config()
2212 data->survey_data[idx].next_start; in mac80211_hwsim_config()
2213 data->survey_data[idx].end = jiffies; in mac80211_hwsim_config()
2221 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2222 if (data->survey_data[idx].channel && in mac80211_hwsim_config()
2223 data->survey_data[idx].channel != data->channel) in mac80211_hwsim_config()
2225 data->survey_data[idx].channel = data->channel; in mac80211_hwsim_config()
2226 data->survey_data[idx].next_start = jiffies; in mac80211_hwsim_config()
2539 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
2543 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
2560 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
2561 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
2754 hwsim->survey_data[hwsim->scan_chan_idx].channel = hwsim->tmp_chan; in hw_scan_work()
2755 hwsim->survey_data[hwsim->scan_chan_idx].start = jiffies; in hw_scan_work()
2756 hwsim->survey_data[hwsim->scan_chan_idx].end = in hw_scan_work()
2783 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_hw_scan()
2832 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_sw_scan()