2017-03-06 12:13:20

by Jouni Malinen

[permalink] [raw]
Subject: [PATCH] mac80211_hwsim: Add channel 169 (5845 MHz)

This channel is defined in the IEEE 802.11 standard and available in
number of countries, so extend the mac80211_hwsim channel list to cover
channel 169 to enable additional testing.

Signed-off-by: Jouni Malinen <[email protected]>
---
drivers/net/wireless/mac80211_hwsim.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 7b9662a..8b823c7 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -350,6 +350,7 @@ static const struct ieee80211_channel hwsim_channels_5ghz[] = {
CHAN5G(5785), /* Channel 157 */
CHAN5G(5805), /* Channel 161 */
CHAN5G(5825), /* Channel 165 */
+ CHAN5G(5845), /* Channel 169 */
};

static const struct ieee80211_rate hwsim_rates[] = {
--
2.7.4


2017-03-06 12:23:21

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] mac80211_hwsim: Add channel 169 (5845 MHz)

On Mon, 2017-03-06 at 11:56 +0200, Jouni Malinen wrote:
> This channel is defined in the IEEE 802.11 standard and available in
> number of countries, so extend the mac80211_hwsim channel list to
> cover
> channel 169 to enable additional testing.

Makes sense, applied.

johannes