linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kei Kishiro <kei@kishiro.com>
To: linux-wireless@vger.kernel.org
Subject: [PATCH] ipw2x00: Adding active 11a wireless band support for Intel 2915abg (ZZJ:Japan)
Date: Tue, 28 Jul 2015 22:12:38 +0900	[thread overview]
Message-ID: <55B77FC6.4040108@kishiro.com> (raw)

Hi all,


Current ipw2200 driver cannot establish 11a wireless connection
using 2915abg device with countrycode ZZJ(for Japan), because of
mismatch of wireless band definition.

Current wireless band definition at section "ZZJ" in ipw2200.c
(at /usr/src/linux-3.4/drivers/net/wireless/ipw2x00) is J52 and
this wireless band was already discontinued in Japan.

Definition about J52 should be replaced to active W52 band.
And new definition about W53 and W56 band should be added to
this section.


Because ipw2000 driver was already discontinued and Intel
provides no support anymore, I propose this offer to
this mailinglist.


More detailed information about J52,W52,W53 and W56 is below:

========
[J52]

 34ch: 5170MHz
 38ch: 5190MHz
 42ch: 5210MHz
 46ch: 5230MHz

* Japanese local band for 11a wireless connection.
* This band was defined by Soumushou (Ministry of Internal Affairs
  and Communications) in Japan before WRC-03 and had been making us
  irritated.
* Each channel have 10MHz offset from worldwide standard channels.
* This band was discontinued at 2008/05/31 and further use was
  forbidden.

[W52]

 36ch: 5180MHz
 40ch: 5200MHz
 44ch: 5220MHz
 48ch: 5240MHz

* Wireless band having compatibility with world wide standard 11a
  channels.
* This band was launched at 2005/05/16 in Japan.

[W53]

 52ch: 5260MHz
 56ch: 5280MHz
 60ch: 5300MHz
 64ch: 5320MHz

* Wireless band having compatibility with world wide standard 11a
  channels.
* This band was launched at 2005/05/16 in Japan (same as W52).
* This band needs DFS (Dynamic Frequency Selection) and TPC
  (Transmission Power Control) function for AP, passive scan
  function for client in Japan.

[W56]

 100ch: 5500MHz
 104ch: 5520MHz
 108ch: 5540MHz
 112ch: 5560MHz
 116ch: 5580MHz
 120ch: 5600MHz
 124ch: 5620MHz
 128ch: 5640MHz
 132ch: 5660MHz
 136ch: 5680MHz
 140ch: 5700MHz

* Wireless band having compatibility with world wide standard 11a
  channels.
* This band was launched at 2007/01 in Japan.
* This band needs DFS (Dynamic Frequency Selection) and TPC
  (Transmission Power Control) function for AP, passive scan
  function for client in Japan.

========

Thank you for your consideration.


Signed-off-by: Kei Kishiro <linux@kishiro.com>
---
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 3dd80df..2d292a0 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -11157,7 +11157,7 @@ static const struct libipw_geo ipw_geos[] = {
 	       {5700, 140, LIBIPW_CH_PASSIVE_ONLY}},
 	 },

-	{			/* Custom Japan */
+	{			/* Custom Japan Modified */
 	 "ZZJ",
 	 .bg_channels = 14,
 	 .bg = {{2412, 1}, {2417, 2}, {2422, 3},
@@ -11165,9 +11165,26 @@ static const struct libipw_geo ipw_geos[] = {
 		{2442, 7}, {2447, 8}, {2452, 9},
 		{2457, 10}, {2462, 11}, {2467, 12},
 		{2472, 13}, {2484, 14, LIBIPW_CH_B_ONLY}},
-	 .a_channels = 4,
-	 .a = {{5170, 34}, {5190, 38},
-	       {5210, 42}, {5230, 46}},
+	 .a_channels = 19,
+	 .a = {{5180, 36},
+	       {5200, 40},
+	       {5220, 44},
+	       {5240, 48},
+	       {5260, 52, LIBIPW_CH_PASSIVE_ONLY},
+	       {5280, 56, LIBIPW_CH_PASSIVE_ONLY},
+	       {5300, 60, LIBIPW_CH_PASSIVE_ONLY},
+	       {5320, 64, LIBIPW_CH_PASSIVE_ONLY},
+	       {5500, 100, LIBIPW_CH_PASSIVE_ONLY},
+	       {5520, 104, LIBIPW_CH_PASSIVE_ONLY},
+	       {5540, 108, LIBIPW_CH_PASSIVE_ONLY},
+	       {5560, 112, LIBIPW_CH_PASSIVE_ONLY},
+	       {5580, 116, LIBIPW_CH_PASSIVE_ONLY},
+	       {5600, 120, LIBIPW_CH_PASSIVE_ONLY},
+	       {5620, 124, LIBIPW_CH_PASSIVE_ONLY},
+	       {5640, 128, LIBIPW_CH_PASSIVE_ONLY},
+	       {5660, 132, LIBIPW_CH_PASSIVE_ONLY},
+	       {5680, 136, LIBIPW_CH_PASSIVE_ONLY},
+	       {5700, 140, LIBIPW_CH_PASSIVE_ONLY}},
 	 },

 	{			/* Rest of World */

             reply	other threads:[~2015-07-28 13:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 13:12 Kei Kishiro [this message]
2015-07-28 14:43 ` [PATCH] ipw2x00: Adding active 11a wireless band support for Intel 2915abg (ZZJ:Japan) John W. Linville

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=55B77FC6.4040108@kishiro.com \
    --to=kei@kishiro.com \
    --cc=linux-wireless@vger.kernel.org \
    /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 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).