Home | History | Annotate | Download | only in ap

Lines Matching defs:survey

1215 			      struct freq_survey *survey)
1218 chan->min_nf = survey->nf;
1219 iface->lowest_nf = survey->nf;
1222 chan->min_nf = survey->nf;
1223 else if (survey->nf < chan->min_nf)
1224 chan->min_nf = survey->nf;
1225 if (survey->nf < iface->lowest_nf)
1226 iface->lowest_nf = survey->nf;
1235 struct freq_survey *survey;
1238 survey = dl_list_first(&survey_res->survey_list, struct freq_survey,
1240 if (!survey || !survey->freq)
1243 chan = hostapd_get_mode_channel(iface, survey->freq);
1248 "Single Channel Survey: (freq=%d channel_time=%ld channel_time_busy=%ld)",
1249 survey->freq,
1250 (unsigned long int) survey->channel_time,
1251 (unsigned long int) survey->channel_time_busy);
1253 if (survey->channel_time > iface->last_channel_time &&
1254 survey->channel_time > survey->channel_time_busy) {
1255 dividend = survey->channel_time_busy -
1257 divisor = survey->channel_time - iface->last_channel_time;
1263 iface->last_channel_time = survey->channel_time;
1264 iface->last_channel_time_busy = survey->channel_time_busy;
1271 struct freq_survey *survey, *tmp;
1275 wpa_printf(MSG_DEBUG, "No survey data received");
1284 dl_list_for_each_safe(survey, tmp, &survey_results->survey_list,
1286 chan = hostapd_get_mode_channel(iface, survey->freq);
1292 dl_list_del(&survey->list);
1293 dl_list_add_tail(&chan->survey_list, &survey->list);
1295 hostapd_update_nf(iface, chan, survey);