Lines Matching refs:survey
922 struct survey_info *survey) in mt76_get_survey() argument
955 memset(survey, 0, sizeof(*survey)); in mt76_get_survey()
956 survey->channel = chan; in mt76_get_survey()
957 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey()
958 survey->filled |= dev->drv->survey_flags; in mt76_get_survey()
960 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey()
963 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey()
966 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey()
969 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey()
970 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey()
971 survey->time = div_u64(state->cc_active, 1000); in mt76_get_survey()
972 survey->noise = state->noise; in mt76_get_survey()
975 survey->time_bss_rx = div_u64(state->cc_bss_rx, 1000); in mt76_get_survey()
976 survey->time_tx = div_u64(state->cc_tx, 1000); in mt76_get_survey()