android_kernel_xiaomi_sdm845/drivers/net/wimax/i2400m
Inaky Perez-Gonzalez 6a0f7ab830 wimax/i2400m: firmware_check() encodes the firmware version in i2400m->fw_version
Upcoming modifications will need to test for the running firmware
version before activating a feature or not. This is helpful to
implement backward compatibility with older firmware versions.

Modify i2400m_firmware_check() to encode in i2400m->fw_version the
major and minor version numbers of the firmware interface.

As well, move the call to be done as the very first operation once we
have communication with the device during probe() [in
__i2400m_dev_start()]. This is needed so any operation that is
executed afterwards can determine which fw version it is talking to.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 03:10:24 -08:00
..
control.c wimax/i2400m: firmware_check() encodes the firmware version in i2400m->fw_version 2009-03-02 03:10:24 -08:00
debug-levels.h i2400m: host/device procotol and core driver definitions 2009-01-07 10:00:18 -08:00
debugfs.c wimax: fix build issue when debugfs is disabled 2009-01-29 17:18:31 -08:00
driver.c wimax/i2400m: firmware_check() encodes the firmware version in i2400m->fw_version 2009-03-02 03:10:24 -08:00
fw.c wimax/i2400m: add the ability to fallback to other firmware files if the default is not there 2009-03-02 03:10:23 -08:00
i2400m-sdio.h i2400m/SDIO: header for the SDIO subdriver 2009-01-07 10:00:22 -08:00
i2400m-usb.h i2400m/USB: header for the USB bus driver 2009-01-07 10:00:21 -08:00
i2400m.h wimax/i2400m: firmware_check() encodes the firmware version in i2400m->fw_version 2009-03-02 03:10:24 -08:00
Kconfig i2400m: Makefile and Kconfig 2009-01-07 10:00:22 -08:00
Makefile i2400m: Makefile and Kconfig 2009-01-07 10:00:22 -08:00
netdev.c wimax: replace uses of __constant_{endian} 2009-02-01 00:43:54 -08:00
op-rfkill.c i2400m: Generic probe/disconnect, reset and message passing 2009-01-07 10:00:18 -08:00
rx.c i2400m: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:31 -08:00
sdio-debug-levels.h i2400m/SDIO: header for the SDIO subdriver 2009-01-07 10:00:22 -08:00
sdio-fw.c i2400m/SDIO: firmware upload backend 2009-01-07 10:00:22 -08:00
sdio-rx.c i2400m/SDIO: TX and RX path backends 2009-01-07 10:00:22 -08:00
sdio-tx.c i2400m/SDIO: TX and RX path backends 2009-01-07 10:00:22 -08:00
sdio.c wimax/i2400m: add the ability to fallback to other firmware files if the default is not there 2009-03-02 03:10:23 -08:00
tx.c i2400m: RX and TX data/control paths 2009-01-07 10:00:19 -08:00
usb-debug-levels.h i2400m/USB: header for the USB bus driver 2009-01-07 10:00:21 -08:00
usb-fw.c i2400m/USB: firmware upload backend 2009-01-07 10:00:21 -08:00
usb-notif.c i2400m/USB: TX and RX path backends 2009-01-07 10:00:21 -08:00
usb-rx.c wimax/i2400m: error paths that need to free an skb should use kfree_skb() 2009-01-19 17:58:08 -08:00
usb-tx.c i2400m/USB: TX and RX path backends 2009-01-07 10:00:21 -08:00
usb.c wimax/i2400m: add the ability to fallback to other firmware files if the default is not there 2009-03-02 03:10:23 -08:00