* [PATCH RESEND] mwifiex: Remove custom world regulatory domain
@ 2014-06-28 13:49 Markus Pargmann
2014-07-01 6:18 ` Bing Zhao
0 siblings, 1 reply; 3+ messages in thread
From: Markus Pargmann @ 2014-06-28 13:49 UTC (permalink / raw)
To: John W. Linville
Cc: Bing Zhao, linux-wireless-u79uwXL29TY76Z2rM5mHXA,
netdev-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
Markus Pargmann
A custom regulatory domain was introduced in this commit:
cc0ba0d522c4 (mwifiex: support custom world regulatory domain)
The commit description says that it was introduced because the world
regulatory domain does not include channels 52-64 and 100-140. These
channels are described in the world regulatory domain now, so we can
drop this custom regulatory domain.
Signed-off-by: Markus Pargmann <mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Acked-by: Bing Zhao <bzhao-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
---
drivers/net/wireless/mwifiex/cfg80211.c | 36 ---------------------------------
1 file changed, 36 deletions(-)
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index e95dec91a561..201edbf76c81 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -42,36 +42,6 @@ static const struct ieee80211_iface_combination mwifiex_iface_comb_ap_sta = {
.beacon_int_infra_match = true,
};
-static const struct ieee80211_regdomain mwifiex_world_regdom_custom = {
- .n_reg_rules = 7,
- .alpha2 = "99",
- .reg_rules = {
- /* Channel 1 - 11 */
- REG_RULE(2412-10, 2462+10, 40, 3, 20, 0),
- /* Channel 12 - 13 */
- REG_RULE(2467-10, 2472+10, 20, 3, 20,
- NL80211_RRF_NO_IR),
- /* Channel 14 */
- REG_RULE(2484-10, 2484+10, 20, 3, 20,
- NL80211_RRF_NO_IR |
- NL80211_RRF_NO_OFDM),
- /* Channel 36 - 48 */
- REG_RULE(5180-10, 5240+10, 40, 3, 20,
- NL80211_RRF_NO_IR),
- /* Channel 149 - 165 */
- REG_RULE(5745-10, 5825+10, 40, 3, 20,
- NL80211_RRF_NO_IR),
- /* Channel 52 - 64 */
- REG_RULE(5260-10, 5320+10, 40, 3, 30,
- NL80211_RRF_NO_IR |
- NL80211_RRF_DFS),
- /* Channel 100 - 140 */
- REG_RULE(5500-10, 5700+10, 40, 3, 30,
- NL80211_RRF_NO_IR |
- NL80211_RRF_DFS),
- }
-};
-
/*
* This function maps the nl802.11 channel type into driver channel type.
*
@@ -2916,12 +2886,6 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS |
WIPHY_FLAG_TDLS_EXTERNAL_SETUP;
- wiphy->regulatory_flags |=
- REGULATORY_CUSTOM_REG |
- REGULATORY_STRICT_REG;
-
- wiphy_apply_custom_regulatory(wiphy, &mwifiex_world_regdom_custom);
^ permalink raw reply related [flat|nested] 3+ messages in thread* RE: [PATCH RESEND] mwifiex: Remove custom world regulatory domain
2014-06-28 13:49 [PATCH RESEND] mwifiex: Remove custom world regulatory domain Markus Pargmann
@ 2014-07-01 6:18 ` Bing Zhao
2014-07-01 7:47 ` Markus Pargmann
0 siblings, 1 reply; 3+ messages in thread
From: Bing Zhao @ 2014-07-01 6:18 UTC (permalink / raw)
To: Markus Pargmann, John W. Linville
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
kernel@pengutronix.de
Hi Markus,
> Subject: [PATCH RESEND] mwifiex: Remove custom world regulatory domain
This patch has been merged to wireless-next already:
http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git/commit/?id=7d8831bb1bfbf8db896bfc1de9d0b3bc7a8e60f0
>
> A custom regulatory domain was introduced in this commit:
> cc0ba0d522c4 (mwifiex: support custom world regulatory domain)
>
> The commit description says that it was introduced because the world
> regulatory domain does not include channels 52-64 and 100-140. These
> channels are described in the world regulatory domain now, so we can drop
> this custom regulatory domain.
>
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
> Acked-by: Bing Zhao <bzhao@marvell.com>
Regards,
Bing
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] mwifiex: Remove custom world regulatory domain
2014-07-01 6:18 ` Bing Zhao
@ 2014-07-01 7:47 ` Markus Pargmann
0 siblings, 0 replies; 3+ messages in thread
From: Markus Pargmann @ 2014-07-01 7:47 UTC (permalink / raw)
To: Bing Zhao
Cc: John W. Linville, linux-wireless@vger.kernel.org,
netdev@vger.kernel.org, kernel@pengutronix.de
[-- Attachment #1: Type: text/plain, Size: 713 bytes --]
Hi Bing,
On Mon, Jun 30, 2014 at 11:18:07PM -0700, Bing Zhao wrote:
> Hi Markus,
>
> > Subject: [PATCH RESEND] mwifiex: Remove custom world regulatory domain
>
> This patch has been merged to wireless-next already:
> http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git/commit/?id=7d8831bb1bfbf8db896bfc1de9d0b3bc7a8e60f0
Thanks, I didn't notice.
Regards,
Markus
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-01 7:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-28 13:49 [PATCH RESEND] mwifiex: Remove custom world regulatory domain Markus Pargmann
2014-07-01 6:18 ` Bing Zhao
2014-07-01 7:47 ` Markus Pargmann
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).