From 8f2254b8e0554e78efcef5fb752be0eb3573d281 Mon Sep 17 00:00:00 2001 From: testuser7 Date: Wed, 3 Apr 2024 16:03:12 +0200 Subject: [PATCH] ath10k-ct: add channel 177 for 5 GHz range MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add channel 177 (5885 MHz ) for the 5 GHz range. Signed-off-by: Paweł Owoc --- ath10k-6.10/core.h | 4 ++-- ath10k-6.10/mac.c | 1 + ath10k-6.4/core.h | 4 ++-- ath10k-6.4/mac.c | 1 + ath10k-6.7/core.h | 4 ++-- ath10k-6.7/mac.c | 1 + ath10k-6.9/core.h | 4 ++-- ath10k-6.9/mac.c | 1 + 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ath10k-6.10/core.h b/ath10k-6.10/core.h index 5c1b6d8..68110c5 100644 --- a/ath10k-6.10/core.h +++ b/ath10k-6.10/core.h @@ -38,8 +38,8 @@ #define WMI_READY_TIMEOUT (5 * HZ) #define ATH10K_FLUSH_TIMEOUT_HZ (5 * HZ) #define ATH10K_CONNECTION_LOSS_HZ (3 * HZ) -#define ATH10K_NUM_CHANS 41 -#define ATH10K_MAX_5G_CHAN 173 +#define ATH10K_NUM_CHANS 42 +#define ATH10K_MAX_5G_CHAN 177 /* Antenna noise floor */ #define ATH10K_DEFAULT_NOISE_FLOOR -95 diff --git a/ath10k-6.10/mac.c b/ath10k-6.10/mac.c index 7579a1c..67bae90 100644 --- a/ath10k-6.10/mac.c +++ b/ath10k-6.10/mac.c @@ -10681,6 +10681,7 @@ static const struct ieee80211_channel ath10k_5ghz_channels[] = { CHAN5G(165, 5825, 0), CHAN5G(169, 5845, 0), CHAN5G(173, 5865, 0), + CHAN5G(177, 5885, 0), /* If you add more, you may need to change ATH10K_MAX_5G_CHAN */ /* And you will definitely need to change ATH10K_NUM_CHANS in core.h */ }; diff --git a/ath10k-6.4/core.h b/ath10k-6.4/core.h index a152ee1..1f5b1a7 100644 --- a/ath10k-6.4/core.h +++ b/ath10k-6.4/core.h @@ -37,8 +37,8 @@ #define WMI_READY_TIMEOUT (5 * HZ) #define ATH10K_FLUSH_TIMEOUT_HZ (5 * HZ) #define ATH10K_CONNECTION_LOSS_HZ (3 * HZ) -#define ATH10K_NUM_CHANS 41 -#define ATH10K_MAX_5G_CHAN 173 +#define ATH10K_NUM_CHANS 42 +#define ATH10K_MAX_5G_CHAN 177 /* Antenna noise floor */ #define ATH10K_DEFAULT_NOISE_FLOOR -95 diff --git a/ath10k-6.4/mac.c b/ath10k-6.4/mac.c index 83d8a93..9878812 100644 --- a/ath10k-6.4/mac.c +++ b/ath10k-6.4/mac.c @@ -10670,6 +10670,7 @@ static const struct ieee80211_channel ath10k_5ghz_channels[] = { CHAN5G(165, 5825, 0), CHAN5G(169, 5845, 0), CHAN5G(173, 5865, 0), + CHAN5G(177, 5885, 0), /* If you add more, you may need to change ATH10K_MAX_5G_CHAN */ /* And you will definitely need to change ATH10K_NUM_CHANS in core.h */ }; diff --git a/ath10k-6.7/core.h b/ath10k-6.7/core.h index de87763..8143320 100644 --- a/ath10k-6.7/core.h +++ b/ath10k-6.7/core.h @@ -37,8 +37,8 @@ #define WMI_READY_TIMEOUT (5 * HZ) #define ATH10K_FLUSH_TIMEOUT_HZ (5 * HZ) #define ATH10K_CONNECTION_LOSS_HZ (3 * HZ) -#define ATH10K_NUM_CHANS 41 -#define ATH10K_MAX_5G_CHAN 173 +#define ATH10K_NUM_CHANS 42 +#define ATH10K_MAX_5G_CHAN 177 /* Antenna noise floor */ #define ATH10K_DEFAULT_NOISE_FLOOR -95 diff --git a/ath10k-6.7/mac.c b/ath10k-6.7/mac.c index ea08b0b..c93d24d 100644 --- a/ath10k-6.7/mac.c +++ b/ath10k-6.7/mac.c @@ -10676,6 +10676,7 @@ static const struct ieee80211_channel ath10k_5ghz_channels[] = { CHAN5G(165, 5825, 0), CHAN5G(169, 5845, 0), CHAN5G(173, 5865, 0), + CHAN5G(177, 5885, 0), /* If you add more, you may need to change ATH10K_MAX_5G_CHAN */ /* And you will definitely need to change ATH10K_NUM_CHANS in core.h */ }; diff --git a/ath10k-6.9/core.h b/ath10k-6.9/core.h index 5e28b02..04eee81 100644 --- a/ath10k-6.9/core.h +++ b/ath10k-6.9/core.h @@ -38,8 +38,8 @@ #define WMI_READY_TIMEOUT (5 * HZ) #define ATH10K_FLUSH_TIMEOUT_HZ (5 * HZ) #define ATH10K_CONNECTION_LOSS_HZ (3 * HZ) -#define ATH10K_NUM_CHANS 41 -#define ATH10K_MAX_5G_CHAN 173 +#define ATH10K_NUM_CHANS 42 +#define ATH10K_MAX_5G_CHAN 177 /* Antenna noise floor */ #define ATH10K_DEFAULT_NOISE_FLOOR -95 diff --git a/ath10k-6.9/mac.c b/ath10k-6.9/mac.c index 32b2f6b..517167f 100644 --- a/ath10k-6.9/mac.c +++ b/ath10k-6.9/mac.c @@ -10681,6 +10681,7 @@ static const struct ieee80211_channel ath10k_5ghz_channels[] = { CHAN5G(165, 5825, 0), CHAN5G(169, 5845, 0), CHAN5G(173, 5865, 0), + CHAN5G(177, 5885, 0), /* If you add more, you may need to change ATH10K_MAX_5G_CHAN */ /* And you will definitely need to change ATH10K_NUM_CHANS in core.h */ };