diff options
-rw-r--r-- | Documentation/networking/README.ipw2200 | 30 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 12 |
2 files changed, 39 insertions, 3 deletions
diff --git a/Documentation/networking/README.ipw2200 b/Documentation/networking/README.ipw2200 index c6492d3839fa..712c5681338b 100644 --- a/Documentation/networking/README.ipw2200 +++ b/Documentation/networking/README.ipw2200 | |||
@@ -26,6 +26,7 @@ Index | |||
26 | 1.2. Module parameters | 26 | 1.2. Module parameters |
27 | 1.3. Wireless Extension Private Methods | 27 | 1.3. Wireless Extension Private Methods |
28 | 1.4. Sysfs Helper Files | 28 | 1.4. Sysfs Helper Files |
29 | 1.5. Supported channels | ||
29 | 2. Ad-Hoc Networking | 30 | 2. Ad-Hoc Networking |
30 | 3. Interacting with Wireless Tools | 31 | 3. Interacting with Wireless Tools |
31 | 3.1. iwconfig mode | 32 | 3.1. iwconfig mode |
@@ -314,6 +315,35 @@ For the device level files, see /sys/bus/pci/drivers/ipw2200: | |||
314 | running ifconfig and is therefore disabled by default. | 315 | running ifconfig and is therefore disabled by default. |
315 | 316 | ||
316 | 317 | ||
318 | 1.5. Supported channels | ||
319 | ----------------------------------------------- | ||
320 | |||
321 | Upon loading the Intel(R) PRO/Wireless 2915ABG Driver for Linux, a | ||
322 | message stating the detected geography code and the number of 802.11 | ||
323 | channels supported by the card will be displayed in the log. | ||
324 | |||
325 | The geography code corresponds to a regulatory domain as shown in the | ||
326 | table below. | ||
327 | |||
328 | Supported channels | ||
329 | Code Geography 802.11bg 802.11a | ||
330 | |||
331 | --- Restricted 11 0 | ||
332 | ZZF Custom US/Canada 11 8 | ||
333 | ZZD Rest of World 13 0 | ||
334 | ZZA Custom USA & Europe & High 11 13 | ||
335 | ZZB Custom NA & Europe 11 13 | ||
336 | ZZC Custom Japan 11 4 | ||
337 | ZZM Custom 11 0 | ||
338 | ZZE Europe 13 19 | ||
339 | ZZJ Custom Japan 14 4 | ||
340 | ZZR Rest of World 14 0 | ||
341 | ZZH High Band 13 4 | ||
342 | ZZG Custom Europe 13 4 | ||
343 | ZZK Europe 13 24 | ||
344 | ZZL Europe 11 13 | ||
345 | |||
346 | |||
317 | 2. Ad-Hoc Networking | 347 | 2. Ad-Hoc Networking |
318 | ----------------------------------------------- | 348 | ----------------------------------------------- |
319 | 349 | ||
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index d8a2a6fa72e3..a7483809d872 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -10364,6 +10364,9 @@ static int ipw_config(struct ipw_priv *priv) | |||
10364 | * not intended for resale of the above mentioned Intel adapters has | 10364 | * not intended for resale of the above mentioned Intel adapters has |
10365 | * not been tested. | 10365 | * not been tested. |
10366 | * | 10366 | * |
10367 | * Remember to update the table in README.ipw2200 when changing this | ||
10368 | * table. | ||
10369 | * | ||
10367 | */ | 10370 | */ |
10368 | static const struct ieee80211_geo ipw_geos[] = { | 10371 | static const struct ieee80211_geo ipw_geos[] = { |
10369 | { /* Restricted */ | 10372 | { /* Restricted */ |
@@ -10662,9 +10665,6 @@ static int ipw_up(struct ipw_priv *priv) | |||
10662 | return 0; | 10665 | return 0; |
10663 | } | 10666 | } |
10664 | 10667 | ||
10665 | IPW_DEBUG_INFO("Geography %03d [%s] detected.\n", | ||
10666 | j, priv->ieee->geo.name); | ||
10667 | |||
10668 | if (priv->status & STATUS_RF_KILL_SW) { | 10668 | if (priv->status & STATUS_RF_KILL_SW) { |
10669 | IPW_WARNING("Radio disabled by module parameter.\n"); | 10669 | IPW_WARNING("Radio disabled by module parameter.\n"); |
10670 | return 0; | 10670 | return 0; |
@@ -10985,6 +10985,12 @@ static int ipw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
10985 | IPW_ERROR("failed to register network device\n"); | 10985 | IPW_ERROR("failed to register network device\n"); |
10986 | goto out_remove_sysfs; | 10986 | goto out_remove_sysfs; |
10987 | } | 10987 | } |
10988 | |||
10989 | printk(KERN_INFO DRV_NAME ": Detected geography %s (%d 802.11bg " | ||
10990 | "channels, %d 802.11a channels)\n", | ||
10991 | priv->ieee->geo.name, priv->ieee->geo.bg_channels, | ||
10992 | priv->ieee->geo.a_channels); | ||
10993 | |||
10988 | return 0; | 10994 | return 0; |
10989 | 10995 | ||
10990 | out_remove_sysfs: | 10996 | out_remove_sysfs: |