wifi: ath11k: add channel 177 into 5 GHz channel list
authorWen Gong <quic_wgong@quicinc.com>
Tue, 10 Jan 2023 13:30:58 +0000 (15:30 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 17 Jan 2023 11:57:12 +0000 (13:57 +0200)
Add support for the 5 GHz channel 177 with center frequency 5885 MHz and
operating class 125 per IEEE Std 802.11ax-2021, Table E-4.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3

Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20221220101912.30816-1-quic_wgong@quicinc.com
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/mac.c

index b01c806ffa2394c9ab1abe896df192c35bb10da8..0830276e5028103be5b9fdf3927713c7771b4b25 100644 (file)
@@ -521,8 +521,8 @@ struct ath11k_sta {
 #define ATH11K_MIN_5G_FREQ 4150
 #define ATH11K_MIN_6G_FREQ 5925
 #define ATH11K_MAX_6G_FREQ 7115
-#define ATH11K_NUM_CHANS 101
-#define ATH11K_MAX_5G_CHAN 173
+#define ATH11K_NUM_CHANS 102
+#define ATH11K_MAX_5G_CHAN 177
 
 enum ath11k_state {
        ATH11K_STATE_OFF,
index 767a2a39ad6a10a62a1d74699b934ee56db83019..110a38cce0a714a1711fb21cfc86e721893a9554 100644 (file)
@@ -96,6 +96,7 @@ static const struct ieee80211_channel ath11k_5ghz_channels[] = {
        CHAN5G(165, 5825, 0),
        CHAN5G(169, 5845, 0),
        CHAN5G(173, 5865, 0),
+       CHAN5G(177, 5885, 0),
 };
 
 static const struct ieee80211_channel ath11k_6ghz_channels[] = {