linux/drivers/net/wireless/realtek/rtlwifi
Bernd Edlinger 5bb5385fbf rtl8723ae: Dont use old data for input gain control
When no beacon was received, the value in dm.undec_sm_pwdb is most
likely out of date and should not be used to adjust the input path.
Assume instead that the signal level is low.

Fix the state machine in rtl8723e_dm_cck_packet_detection_thresh
which did not clear pre_cck_fa_state when changing cur_cck_pd_state
from CCK_PD_STAGE_LOWRSSI/CCK_FA_STAGE_LOW to CCK_PD_STAGE_HIGHRSSI
and back again to CCK_PD_STAGE_LOWRSSI/CCK_FA_STAGE_LOW, the register
RCCK0_CCA not written to 0x83 on the second change.

Explicitly initialize pre_cck_fa_state/cur_cck_fa_state in
rtl_dm_diginit.

Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-02-01 14:07:29 +02:00
..
btcoexist rtlwifi: btcoex: remove set but not used variable 'ppsc' 2018-11-06 18:58:07 +02:00
rtl8188ee rtlwifi: Remove same duplicated includes 2018-11-06 19:01:52 +02:00
rtl8192c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
rtl8192ce rtlwifi: remove unused fw C2H command ID 2018-05-29 10:16:47 +03:00
rtl8192cu rtlwifi: rtl8192cu: remove pointless memcpy 2018-02-27 18:17:59 +02:00
rtl8192de rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information 2018-11-06 19:05:00 +02:00
rtl8192ee rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8192se rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
rtl8723ae rtl8723ae: Dont use old data for input gain control 2019-02-01 14:07:29 +02:00
rtl8723be rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8723com rtlwifi: fill FW version and subversion 2018-01-08 19:08:00 +02:00
rtl8821ae rtlwifi: rtl8821ae: remove set but not used variable 'type' in translate_rx_signal_stuff 2018-12-13 17:04:09 +02:00
base.c rtlwifi: Fix leak of skb when processing C2H_BT_INFO 2018-12-13 15:35:07 +02:00
base.h rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
cam.c
cam.h
core.c rtl8723ae: Dont use old data for input gain control 2019-02-01 14:07:29 +02:00
core.h
debug.c rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
debug.h rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
efuse.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
efuse.h rtlwifi: add efuse ops for other components 2018-02-27 18:15:25 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
pci.h rtlwifi: cleanup the code that check whether TX ring is available 2017-12-07 15:14:52 +02:00
ps.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
ps.h
pwrseqcmd.h
rc.c rtlwifi: Fix VHT NSS in RC 2018-02-27 18:15:23 +02:00
rc.h
regd.c rtlwifi: fix spelling mistake: "conuntry" -> "country" 2017-03-08 17:07:32 +02:00
regd.h
stats.c
stats.h
usb.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
usb.h rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv 2017-02-08 17:24:42 +02:00
wifi.h rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h 2018-10-05 11:31:52 +03:00