Lines Matching refs:survey
857 struct survey_info *survey) in mt76_get_survey() argument
890 memset(survey, 0, sizeof(*survey)); in mt76_get_survey()
891 survey->channel = chan; in mt76_get_survey()
892 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey()
893 survey->filled |= dev->drv->survey_flags; in mt76_get_survey()
895 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey()
898 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey()
901 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey()
904 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey()
905 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey()
906 survey->time = div_u64(state->cc_active, 1000); in mt76_get_survey()
907 survey->noise = state->noise; in mt76_get_survey()
910 survey->time_bss_rx = div_u64(state->cc_bss_rx, 1000); in mt76_get_survey()
911 survey->time_tx = div_u64(state->cc_tx, 1000); in mt76_get_survey()