Lines Matching refs:survey_data
703 } survey_data[ARRAY_SIZE(hwsim_channels_2ghz) + member
2413 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2414 if (data->survey_data[idx].channel == data->channel) { in mac80211_hwsim_config()
2415 data->survey_data[idx].start = in mac80211_hwsim_config()
2416 data->survey_data[idx].next_start; in mac80211_hwsim_config()
2417 data->survey_data[idx].end = jiffies; in mac80211_hwsim_config()
2425 for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) { in mac80211_hwsim_config()
2426 if (data->survey_data[idx].channel && in mac80211_hwsim_config()
2427 data->survey_data[idx].channel != data->channel) in mac80211_hwsim_config()
2429 data->survey_data[idx].channel = data->channel; in mac80211_hwsim_config()
2430 data->survey_data[idx].next_start = jiffies; in mac80211_hwsim_config()
2753 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
2757 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
2774 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
2775 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
2986 hwsim->survey_data[hwsim->scan_chan_idx].channel = hwsim->tmp_chan; in hw_scan_work()
2987 hwsim->survey_data[hwsim->scan_chan_idx].start = jiffies; in hw_scan_work()
2988 hwsim->survey_data[hwsim->scan_chan_idx].end = in hw_scan_work()
3015 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_hw_scan()
3064 memset(hwsim->survey_data, 0, sizeof(hwsim->survey_data)); in mac80211_hwsim_sw_scan()