OpenCloudOS-Kernel/drivers/net/wireless/rtlwifi/rtl8192de
Forest Bond f1b00f4dab rtlwifi: rtl8192de: Fix phy-based version calculation
Commit d83579e2a5 incorporated some
changes from the vendor driver that made it newly important that the
calculated hardware version correctly include the CHIP_92D bit, as all
of the IS_92D_* macros were changed to depend on it.  However, this bit
was being unset for dual-mac, dual-phy devices.  The vendor driver
behavior was modified to not do this, but unfortunately this change was
not picked up along with the others.  This caused scanning in the 2.4GHz
band to be broken, and possibly other bugs as well.

This patch brings the version calculation logic in parity with the
vendor driver in this regard, and in doing so fixes the regression.
However, the version calculation code in general continues to be largely
incoherent and messy, and needs to be cleaned up.

Signed-off-by: Forest Bond <forest.bond@rapidrollout.com>
Cc: Stable <stable@vger.kernel.org> [v3.2+]
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-07-17 15:11:32 -04:00
..
Makefile rtlwifi: rtl8192de: Modify Kconfig and Makefile routines for new driver 2011-06-27 15:09:38 -04:00
def.h rtl8192de: Clean up and fix 92D cut version constants and macros. 2012-04-12 15:06:06 -04:00
dm.c rtlwifi: rtl8192de: Convert driver to use private dm structs 2012-04-23 15:35:33 -04:00
dm.h rtlwifi: rtl8192de: Convert driver to use private dm structs 2012-04-23 15:35:33 -04:00
fw.c rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
fw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
hw.c rtl8192de: Recognize 92D E-CUT version. 2012-04-12 15:06:06 -04:00
hw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
led.c rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
led.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
phy.c rtlwifi: rtl8192de: Fix phy-based version calculation 2012-07-17 15:11:32 -04:00
phy.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
reg.h rtlwifi: Remove unused ETH_ADDR_LEN defines 2012-03-19 16:53:09 -04:00
rf.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
rf.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
sw.c rtlwifi: rtl8192de: Fix firmware initialization 2012-04-09 15:54:47 -04:00
sw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
table.c rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
table.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
trx.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
trx.h wireless: Remove unnecessary ; from while (0) macros 2012-04-11 16:23:56 -04:00