Lines Matching refs:survey_data

704 	} survey_data[ARRAY_SIZE(hwsim_channels_2ghz) +  member
2464 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2465 if (data->survey_data[idx].channel == data->channel) { in mac80211_hwsim_config()
2466 data->survey_data[idx].start = in mac80211_hwsim_config()
2467 data->survey_data[idx].next_start; in mac80211_hwsim_config()
2468 data->survey_data[idx].end = jiffies; in mac80211_hwsim_config()
2476 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2477 if (data->survey_data[idx].channel && in mac80211_hwsim_config()
2478 data->survey_data[idx].channel != data->channel) in mac80211_hwsim_config()
2480 data->survey_data[idx].channel = data->channel; in mac80211_hwsim_config()
2481 data->survey_data[idx].next_start = jiffies; in mac80211_hwsim_config()
2804 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
2808 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
2825 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
2826 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
3036 hwsim->survey_data[hwsim->scan_chan_idx].channel = hwsim->tmp_chan; in hw_scan_work()
3037 hwsim->survey_data[hwsim->scan_chan_idx].start = jiffies; in hw_scan_work()
3038 hwsim->survey_data[hwsim->scan_chan_idx].end = in hw_scan_work()
3065 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_hw_scan()
3114 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_sw_scan()