OpenCloudOS-Kernel/drivers/net/wireless/iwlwifi
Bruno Randolf 59eb21a650 cfg80211: Extend channel to frequency mapping for 802.11j
Extend channel to frequency mapping for 802.11j Japan 4.9GHz band, according to
IEEE802.11 section 17.3.8.3.2 and Annex J. Because there are now overlapping
channel numbers in the 2GHz and 5GHz band we can't map from channel to
frequency without knowing the band. This is no problem as in most contexts we
know the band. In places where we don't know the band (and WEXT compatibility)
we assume the 2GHz band for channels below 14.

This patch does not implement all channel to frequency mappings defined in
802.11, it's just an extension for 802.11j 20MHz channels. 5MHz and 10MHz
channels as well as 802.11y channels have been omitted.

The following drivers have been updated to reflect the API changes:
iwl-3945, iwl-agn, iwmc3200wifi, libertas, mwl8k, rt2x00, wl1251, wl12xx.
The drivers have been compile-tested only.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Brian Prodoehl <bprodoehl@gmail.com>
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-21 15:34:17 -05:00
..
Kconfig iwlwifi: add new devices to Kconfig 2010-11-15 13:24:58 -05:00
Makefile iwlwifi: fix modular 3945 only build 2010-11-22 15:48:51 -05:00
iwl-1000.c iwlagn: code clean up to remove duplicate code 2010-12-13 15:53:54 -08:00
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-3945-hw.h iwlwifi: prepare for PAN queue/fifo assignment 2010-08-27 08:27:29 -07:00
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
iwl-3945.c cfg80211: Extend channel to frequency mapping for 802.11j 2011-01-21 15:34:17 -05:00
iwl-3945.h iwlagn: new RXON processing for modern devices 2010-11-15 13:24:53 -05:00
iwl-4965-hw.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-4965.c iwlwifi: fix 4965 notification wait setup 2011-01-21 15:32:21 -05:00
iwl-5000-hw.h iwlwifi: update out-of-date comments 2010-08-25 14:33:20 -04:00
iwl-5000.c iwlagn: code clean up to remove duplicate code 2010-12-13 15:53:54 -08:00
iwl-6000-hw.h iwlwifi: update out-of-date comments 2010-08-25 14:33:20 -04:00
iwl-6000.c iwlagn: fix scan tx antenna setting on 5Ghz band 2011-01-04 14:35:11 -05:00
iwl-agn-calib.c iwlwifi: disable disconnected antenna for advanced bt coex 2010-11-15 13:26:57 -05:00
iwl-agn-calib.h iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-agn-debugfs.c iwlwifi: keep track of bt coex enable/disable stage 2010-12-13 15:53:38 -08:00
iwl-agn-debugfs.h iwlagn: keep track of failure tx status 2010-09-17 13:17:36 -07:00
iwl-agn-eeprom.c iwlagn: More detail tx power logging 2010-12-13 15:53:09 -08:00
iwl-agn-hcmd.c iwlagn: fix PAN slot timing wrt. DTIM 2010-11-16 07:46:49 -08:00
iwl-agn-hw.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-agn-ict.c wireless: comment typo fix diable -> disable. 2011-01-03 16:05:53 +01:00
iwl-agn-led.c
iwl-agn-led.h
iwl-agn-lib.c cfg80211: Extend channel to frequency mapping for 802.11j 2011-01-21 15:34:17 -05:00
iwl-agn-rs.c iwlwifi: Fix error: struct iwl_lq_sta has no member named dbg_fixed_rate 2010-12-16 09:47:02 -05:00
iwl-agn-rs.h iwlwifi: remove agn rates info there 2010-10-07 15:51:20 -07:00
iwl-agn-rx.c iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-agn-rxon.c iwlagn: return error if PAN disable timeout 2011-01-21 15:32:21 -05:00
iwl-agn-sta.c iwlagn: fix non-5000+ build 2010-11-15 13:26:43 -05:00
iwl-agn-tt.c iwlwifi: remove spurious exports 2010-10-07 15:51:11 -07:00
iwl-agn-tt.h iwlwifi: separate thermal throttling function 2010-08-24 16:28:07 -04:00
iwl-agn-tx.c iwlagn: fix debug variable access 2010-12-13 15:51:33 -08:00
iwl-agn-ucode.c iwlagn: Enable PCI L1 ACTIVE state after uCode has been loaded 2010-12-02 08:35:02 -08:00
iwl-agn.c iwlagn: add support for waiting for notifications 2011-01-21 15:32:20 -05:00
iwl-agn.h iwlagn: add support for waiting for notifications 2011-01-21 15:32:20 -05:00
iwl-commands.h iwlagn: properly wait for PAN disable 2011-01-21 15:32:21 -05:00
iwl-core.c cfg80211: Extend channel to frequency mapping for 802.11j 2011-01-21 15:34:17 -05:00
iwl-core.h iwlagn: fix scan tx antenna setting on 5Ghz band 2011-01-04 14:35:11 -05:00
iwl-csr.h iwlagn: enable shadow register 2010-11-15 13:26:59 -05:00
iwl-debug.h iwlwifi: add new EEPROM debug log type 2010-12-13 15:52:39 -08:00
iwl-debugfs.c iwlwifi: keep track of bt coex enable/disable stage 2010-12-13 15:53:38 -08:00
iwl-dev.h iwlagn: add support for waiting for notifications 2011-01-21 15:32:20 -05:00
iwl-devtrace.c
iwl-devtrace.h iwlwifi: fix TX tracer 2010-08-06 13:53:58 -04:00
iwl-eeprom.c iwlwifi: use IWL_DEBUG_EEPROM for EEPROM related info 2010-12-13 15:52:53 -08:00
iwl-eeprom.h iwlagn: remove old EEPROM TX power reading 2010-12-13 15:52:23 -08:00
iwl-fh.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-07-13 15:57:29 -04:00
iwl-hcmd.c iwlagn: properly wait for PAN disable 2011-01-21 15:32:21 -05:00
iwl-helpers.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-01-05 14:35:41 -05:00
iwl-io.h
iwl-led.c iwlwifi: remove extra string 2010-12-26 10:01:04 -08:00
iwl-led.h iwlwifi: change default led mode for different devices 2010-11-16 07:44:24 -08:00
iwl-legacy.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
iwl-legacy.h iwlwifi: legacy tx_cmd_protection function 2010-11-15 13:26:47 -05:00
iwl-power.c iwlwifi: advance power management support 2010-11-24 16:19:37 -05:00
iwl-power.h iwlwifi: defer update power mode while scan 2010-11-15 13:24:28 -05:00
iwl-prph.h iwlwifi: do not reload fw if WiMAX own the RF 2010-12-13 15:53:24 -08:00
iwl-rx.c iwlagn: enable shadow register 2010-11-15 13:26:59 -05:00
iwl-scan.c iwlwifi: kill elapsed_jiffies 2010-11-16 16:39:09 -05:00
iwl-spectrum.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-sta.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
iwl-sta.h iwlagn: reprogram AP STA after assoc 2010-11-16 07:46:35 -08:00
iwl-tx.c iwlwifi: jiffies based tx queues watchdog 2010-12-06 16:01:29 -05:00
iwl3945-base.c iwlwifi: jiffies based tx queues watchdog 2010-12-06 16:01:29 -05:00