Home | History | Annotate | Download | only in ap

Lines Matching full:freq

133 		if (first_chan->freq + i * 20 != chan->freq)
430 static int set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state)
440 wpa_printf(MSG_DEBUG, "set_dfs_state 0x%X for %d MHz", state, freq);
443 if (chan->freq == freq) {
451 wpa_printf(MSG_WARNING, "Can't set DFS state for freq %d MHz", freq);
456 static int set_dfs_state(struct hostapd_iface *iface, int freq, int ht_enabled,
462 int frequency = freq;
500 wpa_printf(MSG_DEBUG, "DFS freq: %dMHz, n_chans: %d", frequency,
511 static int dfs_are_channels_overlapped(struct hostapd_iface *iface, int freq,
517 int n_chans, i, j, frequency = freq, radar_n_chans = 1;
657 iface->freq = channel->freq;
667 wpa_printf(MSG_DEBUG, "DFS start CAC on %d MHz", iface->freq);
669 "freq=%d chan=%d sec_chan=%d, width=%d, seg0=%d, seg1=%d, cac_time=%ds",
670 iface->freq,
678 iface->freq,
696 int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
701 "success=%d freq=%d ht_enabled=%d chan_offset=%d chan_width=%d cf1=%d cf2=%d",
702 success, freq, ht_enabled, chan_offset, chan_width, cf1, cf2);
706 set_dfs_state(iface, freq, ht_enabled, chan_offset,
742 "freq=%d chan=%d sec_chan=%d", channel->freq,
745 iface->freq = channel->freq;
815 iface->freq = channel->freq;
831 "freq=%d chan=%d sec_chan=%d", channel->freq,
840 channel->freq,
851 wpa_printf(MSG_ERROR, "DFS failed to calculate CSA freq params");
865 iface->freq = channel->freq;
886 int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
896 "freq=%d ht_enabled=%d chan_offset=%d chan_width=%d cf1=%d cf2=%d",
897 freq, ht_enabled, chan_offset, chan_width, cf1, cf2);
900 set_dfs_state(iface, freq, ht_enabled, chan_offset, chan_width,
904 res = dfs_are_channels_overlapped(iface, freq, chan_width, cf1, cf2);
915 int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
920 "freq=%d ht_enabled=%d chan_offset=%d chan_width=%d cf1=%d cf2=%d",
921 freq, ht_enabled, chan_offset, chan_width, cf1, cf2);
923 set_dfs_state(iface, freq, ht_enabled, chan_offset, chan_width,