Home | History | Annotate | Download | only in ap

Lines Matching full:channel

61 			       "Fetching hardware channel/rate support not "
92 wpa_printf(MSG_MSGDUMP, "Allowed channel: mode=%d "
195 sec_chan = iface->conf->channel + iface->conf->secondary_channel * 4;
196 wpa_printf(MSG_DEBUG, "HT40: control channel: %d "
197 "secondary channel: %d",
198 iface->conf->channel, sec_chan);
200 /* Verify that HT40 secondary channel is an allowed 20 MHz
201 * channel */
213 wpa_printf(MSG_ERROR, "HT40 secondary channel %d not allowed",
219 * Verify that HT40 primary,secondary channel pair is allowed per
221 * 2.4 GHz rules allow all cases where the secondary channel fits into
228 first = iface->conf->channel;
240 wpa_printf(MSG_ERROR, "HT40 channel pair (%d, %d) not allowed",
241 iface->conf->channel,
253 iface->conf->channel += 4;
256 iface->conf->channel -= 4;
295 pri_chan = iface->conf->channel;
305 * channel, but not on selected PRI channel.
317 "channel to get secondary channel with no Beacons "
323 * Match PRI/SEC channel with any existing HT40 BSS on the same
345 "secondary channel due to BSS "
365 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel);
372 wpa_printf(MSG_DEBUG, "40 MHz affected channel range: [%d,%d] MHz",
391 continue; /* not within affected channel range */
442 "channel pri=%d sec=%d based on overlapping BSSes",
443 iface->conf->channel,
444 iface->conf->channel +
466 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel);
473 wpa_printf(MSG_DEBUG, "40 MHz affected channel range: [%d,%d] MHz",
502 "40 MHz channel");
639 int channel, int primary)
646 if (chan->chan != channel)
668 if (!hostapd_is_usable_chan(iface, iface->conf->channel, 1))
674 return hostapd_is_usable_chan(iface, iface->conf->channel +
682 if (iface->conf->channel) {
690 * The user set channel=0 or channel=acs_survey
710 "Configured channel (%d) not found from the "
711 "channel list of current mode (%d) %s",
712 iface->conf->channel,
717 "Hardware does not support configured channel");
756 * Sets up the hardware mode, channel, rates, and passive scanning