Home | History | Annotate | Download | only in ap

Lines Matching refs:survey

939 			      struct freq_survey *survey)
942 chan->min_nf = survey->nf;
943 iface->lowest_nf = survey->nf;
946 chan->min_nf = survey->nf;
947 else if (survey->nf < chan->min_nf)
948 chan->min_nf = survey->nf;
949 if (survey->nf < iface->lowest_nf)
950 iface->lowest_nf = survey->nf;
959 struct freq_survey *survey;
962 survey = dl_list_first(&survey_res->survey_list, struct freq_survey,
964 if (!survey || !survey->freq)
967 chan = hostapd_get_mode_channel(iface, survey->freq);
971 wpa_printf(MSG_DEBUG, "Single Channel Survey: (freq=%d channel_time=%ld channel_time_busy=%ld)",
972 survey->freq,
973 (unsigned long int) survey->channel_time,
974 (unsigned long int) survey->channel_time_busy);
976 if (survey->channel_time > iface->last_channel_time &&
977 survey->channel_time > survey->channel_time_busy) {
978 dividend = survey->channel_time_busy -
980 divisor = survey->channel_time - iface->last_channel_time;
986 iface->last_channel_time = survey->channel_time;
987 iface->last_channel_time_busy = survey->channel_time_busy;
995 struct freq_survey *survey, *tmp;
999 wpa_printf(MSG_DEBUG, "No survey data received");
1008 dl_list_for_each_safe(survey, tmp, &survey_results->survey_list,
1010 chan = hostapd_get_mode_channel(iface, survey->freq);
1016 dl_list_del(&survey->list);
1017 dl_list_add_tail(&chan->survey_list, &survey->list);
1019 hostapd_update_nf(iface, chan, survey);