linux/drivers/net/wireless/iwlwifi
Reinette Chatre a0987a8d68 iwlwifi: rely on API version read from firmware
This adds the infrastructure to support older firmware APIs.
The API version number is stored as part of the filename, we first try to
load the most recent firmware and progressively try lower versions.
The API version is also read from the firmware self and stored as part
of the iwl_priv structure. Only firmware that is supported by driver will
be loaded. The version number read from firmware is compared
to supported versions in the driver not the API version used as part of
filename.

An example using this new infrastrucure:
   if (IWL_UCODE_API(priv->ucode_ver) >= 2) {
        Driver interacts with Firmware API version >= 2.
   } else {
        Driver interacts with Firmware API version 1.
   }

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-05 09:35:56 -05:00
..
Kconfig wireless: consolidate on a single escape_essid implementation 2008-10-31 19:00:46 -04:00
Makefile iwlwifi: move host command check function into separate file 2008-12-05 09:35:51 -05:00
iwl-3945-commands.h iwlwifi: store ucode version number 2008-12-05 09:35:55 -05:00
iwl-3945-core.h iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00
iwl-3945-debug.h wireless: replace __FUNCTION__ with __func__ 2008-08-22 16:29:56 -04:00
iwl-3945-hw.h iwlwifi: 3945 remove unused SCD definitions 2008-05-07 15:02:20 -04:00
iwl-3945-io.h iwlwifi : fix checkpatch.pl errors 2008-11-25 16:41:18 -05:00
iwl-3945-led.c wireless: remove unused #include <version.h> 2008-08-29 16:24:08 -04:00
iwl-3945-led.h iwlwifi: Don't use buffer allocated on the stack for led names 2008-08-04 15:09:11 -04:00
iwl-3945-rs.c iwl3945: Fix iwl3945 rate scaling. 2008-12-05 09:35:55 -05:00
iwl-3945-rs.h mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
iwl-3945.c iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00
iwl-3945.h iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00
iwl-4965-hw.h iwlwifi: revamp tx scheduler byte count tables handling 2008-11-21 11:07:23 -05:00
iwl-4965.c iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00
iwl-5000-hw.h iwlwifi: revamp tx scheduler byte count tables handling 2008-11-21 11:07:23 -05:00
iwl-5000.c iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00
iwl-agn-hcmd-check.c iwlwifi: move host command check function into separate file 2008-12-05 09:35:51 -05:00
iwl-agn-rs.c iwlwifi : fix checkpatch.pl errors 2008-11-25 16:41:18 -05:00
iwl-agn-rs.h iwlwifi: trivial removal of some 4965 remaining from iwl-agn-rs.h 2008-11-10 15:17:36 -05:00
iwl-agn.c iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00
iwl-calib.c iwlwifi: make initial calibration set configurable 2008-10-31 19:00:02 -04:00
iwl-calib.h iwlwifi: move RX stats to core, and move temperature to handler 2008-06-30 17:37:39 -04:00
iwl-commands.h iwlwifi: store ucode version number 2008-12-05 09:35:55 -05:00
iwl-core.c iwlwifi: move disable/enable interrupts to iwl-core.c 2008-12-05 09:35:53 -05:00
iwl-core.h iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00
iwl-csr.h iwlwifi: protect headers from double inclusion 2008-10-31 19:00:36 -04:00
iwl-debug.h iwlwifi: move channels sysfs to debugfs 2008-12-05 09:35:54 -05:00
iwl-debugfs.c iwlwifi: move channels sysfs to debugfs 2008-12-05 09:35:54 -05:00
iwl-dev.h iwlwifi: store ucode version number 2008-12-05 09:35:55 -05:00
iwl-eeprom.c iwlwifi: run through spell checker 2008-10-31 19:02:28 -04:00
iwl-eeprom.h iwlwifi: 5150 compute ct kill threshold 2008-12-05 09:35:49 -05:00
iwl-fh.h iwlwifi: TX update chicken bits 2008-11-26 09:47:39 -05:00
iwl-hcmd.c iwlwifi : fix checkpatch.pl errors 2008-11-25 16:41:18 -05:00
iwl-helpers.h iwlwifi: refactor tx byte count table usage 2008-10-31 19:02:27 -04:00
iwl-io.h iwlwifi : fix checkpatch.pl errors 2008-11-25 16:41:18 -05:00
iwl-led.c iwlwifi: run through spell checker 2008-10-31 19:02:28 -04:00
iwl-led.h iwlwifi: Don't use buffer allocated on the stack for led names 2008-08-04 15:09:11 -04:00
iwl-power.c iwlwifi: don't fail power set when calibration is not done yet 2008-11-21 11:06:07 -05:00
iwl-power.h iwlwifi: remove uneeded declarations 2008-09-11 15:53:31 -04:00
iwl-prph.h iwlwifi: run through spell checker 2008-10-31 19:02:28 -04:00
iwl-rfkill.c iwlwifi: run through spell checker 2008-10-31 19:02:28 -04:00
iwl-rfkill.h iwlwifi: remove input device and fix rfkill state 2008-07-08 10:21:35 -04:00
iwl-rx.c iwlwifi: consolidate station management code 2008-11-25 16:41:06 -05:00
iwl-scan.c iwlwifi: remove implicit direct scan 2008-11-10 15:10:17 -05:00
iwl-spectrum.c iwlwifi: move spectrum measurement code to iwl-spectrum.c file 2008-11-21 11:07:23 -05:00
iwl-spectrum.h iwlwifi: move spectrum measurement code to iwl-spectrum.c file 2008-11-21 11:07:23 -05:00
iwl-sta.c iwlwifi: move iwl_clear_stations_table to iwl-sta.c 2008-11-26 09:47:37 -05:00
iwl-sta.h iwlwifi: move iwl_clear_stations_table to iwl-sta.c 2008-11-26 09:47:37 -05:00
iwl-tx.c iwlwifi: fix DMA channel number in iwl_txq_ctx_stop 2008-12-05 09:35:55 -05:00
iwl3945-base.c iwlwifi: rely on API version read from firmware 2008-12-05 09:35:56 -05:00