All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: linville@tuxdriver.com, wireless-regdb@lists.infradead.org,
	kandala@qca.qualcomm.com, linux-wireless@vger.kernel.org,
	qca_vkondrat@qca.qualcomm.com, green@qca.qualcomm.com,
	yunsenw@qca.qualcomm.com
Subject: Re: [wireless-regdb] [PATCH 2/3] wireless-regdb: enable VHT80 when world roaming
Date: Tue, 09 Apr 2013 08:51:18 +0200	[thread overview]
Message-ID: <1365490278.8465.1.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <1365486778-2336-3-git-send-email-mcgrof@do-not-panic.com>

On Mon, 2013-04-08 at 22:52 -0700, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
> 
> For VHT, the wider bandwidths (up to 160 MHz) need
> to be allowed. Since world roaming only covers the
> case of connecting to an AP, it can be opened up
> there, we will rely on the AP to know the local
> regulations.
> 
> Based on a patch by Johannes Berg for upstream Linux.

> --- a/db.txt
> +++ b/db.txt
> @@ -6,10 +6,10 @@ country 00:
>  	# Channel 14. Only JP enables this and for 802.11b only
>  	(2474 - 2494 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS, NO-OFDM
>  	# Channel 36 - 48
> -	(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
> +	(5170 - 5250 @ 80), (3, 20), PASSIVE-SCAN, NO-IBSS
>  	# NB: 5260 MHz - 5700 MHz requies DFS
>  	# Channel 149 - 165
> -	(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
> +	(5735 - 5835 @ 80), (3, 20), PASSIVE-SCAN, NO-IBSS

I also have a separate upstream patch that I haven't sent here yet to
enable 160 MHz by enabling the radar channels (passively), see below;
any thoughts on that?

--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -184,11 +184,21 @@ static const struct ieee80211_regdomain
world_regdom = {
                        NL80211_RRF_NO_IBSS |
                        NL80211_RRF_NO_OFDM),
                /* IEEE 802.11a, channel 36..48 */
-               REG_RULE(5180-10, 5240+10, 80, 6, 20,
+               REG_RULE(5180-10, 5240+10, 160, 6, 20,
                         NL80211_RRF_PASSIVE_SCAN |
                         NL80211_RRF_NO_IBSS),
 
-               /* NB: 5260 MHz - 5700 MHz requires DFS */
+               /* IEEE 802.11a, channel 52..64 - DFS required */
+               REG_RULE(5260-10, 5320+10, 160, 6, 20,
+                       NL80211_RRF_PASSIVE_SCAN |
+                       NL80211_RRF_NO_IBSS |
+                       NL80211_RRF_DFS),
+
+               /* IEEE 802.11a, channel 100..144 - DFS required */
+               REG_RULE(5500-10, 5720+10, 160, 6, 20,
+                       NL80211_RRF_PASSIVE_SCAN |
+                       NL80211_RRF_NO_IBSS |
+                       NL80211_RRF_DFS),
 
                /* IEEE 802.11a, channel 149..165 */
                REG_RULE(5745-10, 5825+10, 80, 6, 20,

johannes


WARNING: multiple messages have this Message-ID (diff)
From: Johannes Berg <johannes@sipsolutions.net>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: wireless-regdb@lists.infradead.org, kandala@qca.qualcomm.com,
	linux-wireless@vger.kernel.org, linville@tuxdriver.com,
	qca_vkondrat@qca.qualcomm.com, green@qca.qualcomm.com,
	yunsenw@qca.qualcomm.com
Subject: Re: [wireless-regdb] [PATCH 2/3] wireless-regdb: enable VHT80 when world roaming
Date: Tue, 09 Apr 2013 08:51:18 +0200	[thread overview]
Message-ID: <1365490278.8465.1.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <1365486778-2336-3-git-send-email-mcgrof@do-not-panic.com>

On Mon, 2013-04-08 at 22:52 -0700, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
> 
> For VHT, the wider bandwidths (up to 160 MHz) need
> to be allowed. Since world roaming only covers the
> case of connecting to an AP, it can be opened up
> there, we will rely on the AP to know the local
> regulations.
> 
> Based on a patch by Johannes Berg for upstream Linux.

> --- a/db.txt
> +++ b/db.txt
> @@ -6,10 +6,10 @@ country 00:
>  	# Channel 14. Only JP enables this and for 802.11b only
>  	(2474 - 2494 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS, NO-OFDM
>  	# Channel 36 - 48
> -	(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
> +	(5170 - 5250 @ 80), (3, 20), PASSIVE-SCAN, NO-IBSS
>  	# NB: 5260 MHz - 5700 MHz requies DFS
>  	# Channel 149 - 165
> -	(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
> +	(5735 - 5835 @ 80), (3, 20), PASSIVE-SCAN, NO-IBSS

I also have a separate upstream patch that I haven't sent here yet to
enable 160 MHz by enabling the radar channels (passively), see below;
any thoughts on that?

--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -184,11 +184,21 @@ static const struct ieee80211_regdomain
world_regdom = {
                        NL80211_RRF_NO_IBSS |
                        NL80211_RRF_NO_OFDM),
                /* IEEE 802.11a, channel 36..48 */
-               REG_RULE(5180-10, 5240+10, 80, 6, 20,
+               REG_RULE(5180-10, 5240+10, 160, 6, 20,
                         NL80211_RRF_PASSIVE_SCAN |
                         NL80211_RRF_NO_IBSS),
 
-               /* NB: 5260 MHz - 5700 MHz requires DFS */
+               /* IEEE 802.11a, channel 52..64 - DFS required */
+               REG_RULE(5260-10, 5320+10, 160, 6, 20,
+                       NL80211_RRF_PASSIVE_SCAN |
+                       NL80211_RRF_NO_IBSS |
+                       NL80211_RRF_DFS),
+
+               /* IEEE 802.11a, channel 100..144 - DFS required */
+               REG_RULE(5500-10, 5720+10, 160, 6, 20,
+                       NL80211_RRF_PASSIVE_SCAN |
+                       NL80211_RRF_NO_IBSS |
+                       NL80211_RRF_DFS),
 
                /* IEEE 802.11a, channel 149..165 */
                REG_RULE(5745-10, 5825+10, 80, 6, 20,

johannes


_______________________________________________
wireless-regdb mailing list
wireless-regdb@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/wireless-regdb


  reply	other threads:[~2013-04-09  6:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09  5:52 [PATCH 0/3] wireless-regdb: a few regulatory updates Luis R. Rodriguez
2013-04-09  5:52 ` [wireless-regdb] " Luis R. Rodriguez
2013-04-09  5:52 ` [PATCH 1/3] wireless-regdb: enable HT40 in RU - Russian Federation Luis R. Rodriguez
2013-04-09  5:52   ` [wireless-regdb] " Luis R. Rodriguez
2013-04-09  5:52 ` [PATCH 2/3] wireless-regdb: enable VHT80 when world roaming Luis R. Rodriguez
2013-04-09  5:52   ` [wireless-regdb] " Luis R. Rodriguez
2013-04-09  6:51   ` Johannes Berg [this message]
2013-04-09  6:51     ` Johannes Berg
2013-04-09  8:26     ` Luis R. Rodriguez
2013-04-09  8:26       ` Luis R. Rodriguez
2013-04-09 13:54       ` Green, Michael
2013-04-09 13:54         ` Green, Michael
2013-04-10  7:22         ` Luis R. Rodriguez
2013-04-10  7:22           ` Luis R. Rodriguez
2013-04-09  5:52 ` [PATCH 3/3] wireless-regdb: add VHT channels 1..3 to world regdom Luis R. Rodriguez
2013-04-09  5:52   ` [wireless-regdb] " Luis R. Rodriguez
2013-04-09  6:52   ` Johannes Berg
2013-04-09  6:52     ` [wireless-regdb] " Johannes Berg
2013-04-09  6:52   ` Johannes Berg
2013-04-09  6:52     ` [wireless-regdb] " Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365490278.8465.1.camel@jlt4.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=green@qca.qualcomm.com \
    --cc=kandala@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mcgrof@do-not-panic.com \
    --cc=qca_vkondrat@qca.qualcomm.com \
    --cc=wireless-regdb@lists.infradead.org \
    --cc=yunsenw@qca.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.