Lines Matching refs:survey
1094 struct survey_info *survey) in mt76_get_survey() argument
1129 memset(survey, 0, sizeof(*survey)); in mt76_get_survey()
1130 survey->channel = chan; in mt76_get_survey()
1131 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey()
1132 survey->filled |= dev->drv->survey_flags; in mt76_get_survey()
1134 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey()
1137 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey()
1140 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey()
1143 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey()
1144 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey()
1145 survey->time = div_u64(state->cc_active, 1000); in mt76_get_survey()
1146 survey->noise = state->noise; in mt76_get_survey()
1149 survey->time_bss_rx = div_u64(state->cc_bss_rx, 1000); in mt76_get_survey()
1150 survey->time_tx = div_u64(state->cc_tx, 1000); in mt76_get_survey()