Lines Matching full:channel
132 wpa_printf(MSG_ERROR, "Channel %d is not allowed as primary",
138 "HT40: control channel: %d (%d MHz), secondary channel: %d (%d MHz)",
141 /* Verify that HT40 secondary channel is an allowed 20 MHz
142 * channel */
146 wpa_printf(MSG_ERROR, "HT40 secondary channel %d not allowed",
152 * Verify that HT40 primary,secondary channel pair is allowed per
154 * 2.4 GHz rules allow all cases where the secondary channel fits into
170 wpa_printf(MSG_ERROR, "HT40 channel pair (%d, %d) not allowed",
217 * channel, but not on selected PRI channel.
229 "Switch own primary and secondary channel to get secondary channel with no Beacons from other BSSes");
234 * Match PRI/SEC channel with any existing HT40 BSS on the same
255 "secondary channel due to BSS "
316 wpa_printf(MSG_DEBUG, "40 MHz affected channel range: [%d,%d] MHz",
343 continue; /* not within affected channel range */
373 "40 MHz Intolerant is set on channel %d in BSS "
455 int freq, int channel, int enable_edmg,
476 data->channel = channel;
497 hostapd_encode_edmg_chan(enable_edmg, edmg_channel, channel,
507 if (center_idx_to_bw_6ghz(channel) < 0) {
509 "Invalid control channel for 6 GHz band");
532 /* The 6 GHz channel 2 uses a different operating class
575 "320 MHz channel width is not supported in 5 or 6 GHz");
593 "40 MHz channel width is not supported in 2.4 GHz");
605 "40/80 MHz channel width is not supported in 5/6 GHz");
615 "80+80 MHz channel width is not supported in 5/6 GHz");
624 "160 MHz channel width is not supported in 5 / 6GHz");
636 "80+80 channel width is not supported!");
646 "160 MHz channel width is not supported!");
658 punct_update_legacy_bw(punct_bitmap, channel,
689 "80/80+80 MHz: no second channel offset");
705 if (channel <= 48)
707 else if (channel <= 64)
709 else if (channel <= 112)
711 else if (channel <= 128)
713 else if (channel <= 144)
715 else if (channel <= 161)
717 else if (channel <= 177)
723 * HT40 channel band is in VHT80 Pri channel band
726 if (center_segment0 == channel + 6 ||
727 center_segment0 == channel + 2 ||
728 center_segment0 == channel - 2 ||
729 center_segment0 == channel - 6)
733 "Wrong coupling between HT and VHT/HE channel setting");
748 "160 MHz: second channel offset not set");
753 * HT40 channel band is in VHT160 channel band configuration.
755 if (center_segment0 == channel + 14 ||
756 center_segment0 == channel + 10 ||
757 center_segment0 == channel + 6 ||
758 center_segment0 == channel + 2 ||
759 center_segment0 == channel - 2 ||
760 center_segment0 == channel - 6 ||
761 center_segment0 == channel - 10 ||
762 center_segment0 == channel - 14)
766 "160 MHz: HT40 channel band is not in 160 MHz band");
774 "320 MHz: EHT not enabled or not a 6 GHz channel");
782 if (center_segment0 == channel + 30 ||
783 center_segment0 == channel + 26 ||
784 center_segment0 == channel + 22 ||
785 center_segment0 == channel + 18 ||
786 center_segment0 == channel + 14 ||
787 center_segment0 == channel + 10 ||
788 center_segment0 == channel + 6 ||
789 center_segment0 == channel + 2 ||
790 center_segment0 == channel - 2 ||
791 center_segment0 == channel - 6 ||
792 center_segment0 == channel - 10 ||
793 center_segment0 == channel - 14 ||
794 center_segment0 == channel - 18 ||
795 center_segment0 == channel - 22 ||
796 center_segment0 == channel - 26 ||
797 center_segment0 == channel - 30)
925 /* check if BW is applicable for channel */
936 /* HT 40 MHz support declared only for primary channel,
963 /* check if channel is allowed to be used as primary */
971 /* IEEE P802.11be/D3.0, Table 36-30 - Definition of the Punctured Channel
1021 if (!bitmap) /* No channel active */
1025 wpa_printf(MSG_DEBUG, "Primary channel cannot be punctured");