linux/drivers/net/wireless/realtek/rtlwifi
Larry Finger c72fc90937 rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded
Recently, it has been reported that D-Link DWA-582 cards, which use an
RTL8812AE chip are not able to scan for 5G networks. The problems started
with kernel 4.2, which is the first version that had commit d10101a603
("rtlwifi: rtl8821ae: Fix problem with regulatory information"). With this
patch, the driver went from setting a default channel plan to using
the value derived from EEPROM.

Bug reports at https://bugzilla.kernel.org/show_bug.cgi?id=111031 and
https://bugzilla.redhat.com/show_bug.cgi?id=1279653 are examples of this
problem.

The problem was solved once I learned that the internal country code was
resulting in a regulatory set with only 2.4 GHz channels. With the RTL8821AE
chips available to me, the country code was such that both 2.4 and 5 GHz
channels are allowed. The fix is to allow both bands even when the EEPROM
is incorrectly encoded.

Fixes: d10101a603 ("rtlwifi: rtl8821ae: Fix problem with regulatory information")
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: littlesmartguy@gmail.com
Cc: gabe@codehaus.org
Cc: Stable <stable@vger.kernel.org> [v4.2+]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-01-25 15:21:38 +02:00
..
btcoexist rtlwifi: btcoexist: re-use %*ph specifier to hexdump 2015-11-26 15:01:56 +02:00
rtl8188ee rtlwifi: rtl8188ee: Fix module parameter initialization 2015-12-30 17:06:34 +02:00
rtl8192c
rtl8192ce rtlwifi: rtl8192ce: Fix handling of module parameters 2015-12-30 17:06:36 +02:00
rtl8192cu rtlwifi: rtl8192cu: Add missing parameter setup 2015-12-30 17:06:38 +02:00
rtl8192de rtlwifi: rtl8192de: Fix incorrect module parameter descriptions 2015-12-30 17:06:35 +02:00
rtl8192ee
rtl8192se rtlwifi: rtl8192se: Fix module parameter initialization 2015-12-30 17:06:36 +02:00
rtl8723ae rtlwifi: rtl8723ae: Fix initialization of module parameters 2015-12-30 17:06:31 +02:00
rtl8723be rtlwifi: rtl8723be: Fix module parameter initialization 2015-12-30 17:06:30 +02:00
rtl8723com rtlwifi: Delete unnecessary checks before the function call "kfree_skb" 2015-11-26 14:55:27 +02:00
rtl8821ae rtlwifi: rtl8821ae: Fix errors in parameter initialization 2015-12-30 17:06:33 +02:00
Kconfig
Makefile
base.c
base.h
cam.c
cam.h
core.c rtlwifi: Delete unnecessary checks before the function call "kfree_skb" 2015-11-26 14:55:27 +02:00
core.h
debug.c
debug.h
efuse.c
efuse.h
pci.c rtlwifi: rtl_pci: Fix kernel panic 2015-12-30 17:36:05 +02:00
pci.h
ps.c
ps.h
pwrseqcmd.h
rc.c
rc.h
regd.c rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded 2016-01-25 15:21:38 +02:00
regd.h
stats.c
stats.h
usb.c rtlwifi: fix memory leak for USB device 2015-12-11 13:48:42 +02:00
usb.h
wifi.h