• Home
  • Raw
  • Download

Lines Matching refs:survey

939 			      struct freq_survey *survey)  in hostapd_update_nf()  argument
942 chan->min_nf = survey->nf; in hostapd_update_nf()
943 iface->lowest_nf = survey->nf; in hostapd_update_nf()
946 chan->min_nf = survey->nf; in hostapd_update_nf()
947 else if (survey->nf < chan->min_nf) in hostapd_update_nf()
948 chan->min_nf = survey->nf; in hostapd_update_nf()
949 if (survey->nf < iface->lowest_nf) in hostapd_update_nf()
950 iface->lowest_nf = survey->nf; in hostapd_update_nf()
959 struct freq_survey *survey; in hostapd_single_channel_get_survey() local
962 survey = dl_list_first(&survey_res->survey_list, struct freq_survey, in hostapd_single_channel_get_survey()
964 if (!survey || !survey->freq) in hostapd_single_channel_get_survey()
967 chan = hostapd_get_mode_channel(iface, survey->freq); in hostapd_single_channel_get_survey()
972 survey->freq, in hostapd_single_channel_get_survey()
973 (unsigned long int) survey->channel_time, in hostapd_single_channel_get_survey()
974 (unsigned long int) survey->channel_time_busy); in hostapd_single_channel_get_survey()
976 if (survey->channel_time > iface->last_channel_time && in hostapd_single_channel_get_survey()
977 survey->channel_time > survey->channel_time_busy) { in hostapd_single_channel_get_survey()
978 dividend = survey->channel_time_busy - in hostapd_single_channel_get_survey()
980 divisor = survey->channel_time - iface->last_channel_time; in hostapd_single_channel_get_survey()
986 iface->last_channel_time = survey->channel_time; in hostapd_single_channel_get_survey()
987 iface->last_channel_time_busy = survey->channel_time_busy; in hostapd_single_channel_get_survey()
995 struct freq_survey *survey, *tmp; in hostapd_event_get_survey() local
1008 dl_list_for_each_safe(survey, tmp, &survey_results->survey_list, in hostapd_event_get_survey()
1010 chan = hostapd_get_mode_channel(iface, survey->freq); in hostapd_event_get_survey()
1016 dl_list_del(&survey->list); in hostapd_event_get_survey()
1017 dl_list_add_tail(&chan->survey_list, &survey->list); in hostapd_event_get_survey()
1019 hostapd_update_nf(iface, chan, survey); in hostapd_event_get_survey()