linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] mwl8k: Expand non-DFS 5G channels
@ 2017-11-16  7:59 Weixiao Zhang
  2017-12-04 15:13 ` Kalle Valo
  2017-12-07 13:17 ` [v2] " Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Weixiao Zhang @ 2017-11-16  7:59 UTC (permalink / raw)
  To: Lennert Buytenhek, Kalle Valo, Johannes Berg, Andrew Zaborowski,
	Weixiao Zhang, linux-wireless, netdev, linux-kernel

Add non-DFS 5G upper channels (149-165) besides existed 4 lower channels
(36, 40, 44, 48).
{ .band = NL80211_BAND_5GHZ, .center_freq = 5745, .hw_value = 149, },
{ .band = NL80211_BAND_5GHZ, .center_freq = 5765, .hw_value = 153, },
{ .band = NL80211_BAND_5GHZ, .center_freq = 5785, .hw_value = 157, },
{ .band = NL80211_BAND_5GHZ, .center_freq = 5805, .hw_value = 161, },
{ .band = NL80211_BAND_5GHZ, .center_freq = 5825, .hw_value = 165, },

Signed-off-by: Weixiao Zhang <waveletboy@gmail.com>
---
 drivers/net/wireless/marvell/mwl8k.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/mwl8k.c b/drivers/net/wireless/marvell/mwl8k.c
index e813b2ca740c..8e4e9b6919e0 100644
--- a/drivers/net/wireless/marvell/mwl8k.c
+++ b/drivers/net/wireless/marvell/mwl8k.c
@@ -199,7 +199,7 @@ struct mwl8k_priv {
 	struct ieee80211_channel channels_24[14];
 	struct ieee80211_rate rates_24[13];
 	struct ieee80211_supported_band band_50;
-	struct ieee80211_channel channels_50[4];
+	struct ieee80211_channel channels_50[9];
 	struct ieee80211_rate rates_50[8];
 	u32 ap_macids_supported;
 	u32 sta_macids_supported;
@@ -383,6 +383,11 @@ static const struct ieee80211_channel mwl8k_channels_50[] = {
 	{ .band = NL80211_BAND_5GHZ, .center_freq = 5200, .hw_value = 40, },
 	{ .band = NL80211_BAND_5GHZ, .center_freq = 5220, .hw_value = 44, },
 	{ .band = NL80211_BAND_5GHZ, .center_freq = 5240, .hw_value = 48, },
+	{ .band = NL80211_BAND_5GHZ, .center_freq = 5745, .hw_value = 149, },
+	{ .band = NL80211_BAND_5GHZ, .center_freq = 5765, .hw_value = 153, },
+	{ .band = NL80211_BAND_5GHZ, .center_freq = 5785, .hw_value = 157, },
+	{ .band = NL80211_BAND_5GHZ, .center_freq = 5805, .hw_value = 161, },
+	{ .band = NL80211_BAND_5GHZ, .center_freq = 5825, .hw_value = 165, },
 };
 
 static const struct ieee80211_rate mwl8k_rates_50[] = {
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] mwl8k: Expand non-DFS 5G channels
  2017-11-16  7:59 [PATCH v2] mwl8k: Expand non-DFS 5G channels Weixiao Zhang
@ 2017-12-04 15:13 ` Kalle Valo
  2017-12-07 13:17 ` [v2] " Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2017-12-04 15:13 UTC (permalink / raw)
  To: Weixiao Zhang
  Cc: Lennert Buytenhek, Johannes Berg, Andrew Zaborowski,
	linux-wireless, netdev, linux-kernel

Weixiao Zhang <waveletboy@gmail.com> writes:

> Add non-DFS 5G upper channels (149-165) besides existed 4 lower channels
> (36, 40, 44, 48).
> { .band = NL80211_BAND_5GHZ, .center_freq = 5745, .hw_value = 149, },
> { .band = NL80211_BAND_5GHZ, .center_freq = 5765, .hw_value = 153, },
> { .band = NL80211_BAND_5GHZ, .center_freq = 5785, .hw_value = 157, },
> { .band = NL80211_BAND_5GHZ, .center_freq = 5805, .hw_value = 161, },
> { .band = NL80211_BAND_5GHZ, .center_freq = 5825, .hw_value = 165, },
>
> Signed-off-by: Weixiao Zhang <waveletboy@gmail.com>

You don't need to copy the code from the patch to the commit log, I'll
remove that when I commit this.

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [v2] mwl8k: Expand non-DFS 5G channels
  2017-11-16  7:59 [PATCH v2] mwl8k: Expand non-DFS 5G channels Weixiao Zhang
  2017-12-04 15:13 ` Kalle Valo
@ 2017-12-07 13:17 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2017-12-07 13:17 UTC (permalink / raw)
  To: Weixiao Zhang
  Cc: Lennert Buytenhek, Johannes Berg, Andrew Zaborowski,
	Weixiao Zhang, linux-wireless, netdev, linux-kernel

Weixiao Zhang <waveletboy@gmail.com> wrote:

> Add non-DFS 5G upper channels (149-165) besides existed 4 lower channels
> (36, 40, 44, 48).
> 
> Signed-off-by: Weixiao Zhang <waveletboy@gmail.com>

Patch applied to wireless-drivers-next.git, thanks.

4628257bf300 mwl8k: Expand non-DFS 5G channels

-- 
https://patchwork.kernel.org/patch/10060831/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-07 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16  7:59 [PATCH v2] mwl8k: Expand non-DFS 5G channels Weixiao Zhang
2017-12-04 15:13 ` Kalle Valo
2017-12-07 13:17 ` [v2] " Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).