Lines Matching refs:survey
631 struct survey_info *survey) in mt76_get_survey() argument
658 memset(survey, 0, sizeof(*survey)); in mt76_get_survey()
659 survey->channel = chan; in mt76_get_survey()
660 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey()
661 survey->filled |= dev->drv->survey_flags; in mt76_get_survey()
663 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey()
666 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey()
669 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey()
672 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey()
673 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey()
674 survey->time = div_u64(state->cc_active, 1000); in mt76_get_survey()
675 survey->noise = state->noise; in mt76_get_survey()
678 survey->time_bss_rx = div_u64(state->cc_bss_rx, 1000); in mt76_get_survey()
679 survey->time_tx = div_u64(state->cc_tx, 1000); in mt76_get_survey()