Lines Matching defs:survey
5974 struct survey_info *survey)
6003 survey->channel = &sband->channels[chan_idx];
6004 survey->filled = SURVEY_INFO_TIME |
6008 survey->time = info->time;
6009 survey->time_busy = info->time_busy;
6010 survey->time_rx = info->time_rx;
6011 survey->time_tx = info->time_tx;
6012 survey->noise = info->noise;
6013 if (survey->noise < 0)
6014 survey->filled |= SURVEY_INFO_NOISE_DBM;
6033 struct survey_info *survey)
6041 memset(survey, 0, sizeof(*survey));
6049 * to the function returning the full survey, most likely for ACS
6053 return iwl_mvm_mac_get_acs_survey(mvm, idx - 1, survey);
6064 survey->filled = SURVEY_INFO_TIME_RX |
6067 survey->time_rx = mvm->accu_radio_stats.rx_time +
6069 do_div(survey->time_rx, USEC_PER_MSEC);
6071 survey->time_tx = mvm->accu_radio_stats.tx_time +
6073 do_div(survey->time_tx, USEC_PER_MSEC);
6079 survey->filled |= SURVEY_INFO_TIME |
6081 survey->time = mvm->accu_radio_stats.on_time_rf +
6083 do_div(survey->time, USEC_PER_MSEC);
6085 survey->time_scan = mvm->accu_radio_stats.on_time_scan +
6087 do_div(survey->time_scan, USEC_PER_MSEC);