Lines Matching refs:survey_data

515 	} survey_data[ARRAY_SIZE(hwsim_channels_2ghz) +  member
1652 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
1653 if (data->survey_data[idx].channel == data->channel) { in mac80211_hwsim_config()
1654 data->survey_data[idx].start = in mac80211_hwsim_config()
1655 data->survey_data[idx].next_start; in mac80211_hwsim_config()
1656 data->survey_data[idx].end = jiffies; in mac80211_hwsim_config()
1663 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
1664 if (data->survey_data[idx].channel && in mac80211_hwsim_config()
1665 data->survey_data[idx].channel != data->channel) in mac80211_hwsim_config()
1667 data->survey_data[idx].channel = data->channel; in mac80211_hwsim_config()
1668 data->survey_data[idx].next_start = jiffies; in mac80211_hwsim_config()
1866 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
1870 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
1887 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
1888 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
2068 hwsim->survey_data[hwsim->scan_chan_idx].channel = hwsim->tmp_chan; in hw_scan_work()
2069 hwsim->survey_data[hwsim->scan_chan_idx].start = jiffies; in hw_scan_work()
2070 hwsim->survey_data[hwsim->scan_chan_idx].end = in hw_scan_work()
2097 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_hw_scan()
2144 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_sw_scan()