linux_dsm_epyc7002/drivers/net/wireless
Yan-Hsuan Chuang 6b6c150b84 rtw88: use shorter delay time to poll PS state
When TX packet arrives, driver should leave deep PS state to make
sure the DMA is working. After requested to leave deep PS state,
driver needs to poll the PS state to check if the mode has been
changed successfully. The driver used to check the state of the
hardware every 20 msecs, which means upon the first failure of
state check, the CPU is delayed 20 msecs for next check. This is
harmful for some time-sensitive applications such as media players.

So, use shorter delay time each check from 20 msecs to 100 usecs.
The state should be changed in several tries. But we still need
to reserve ~15 msecs in total in case of the state just took too
long to be changed successfully. If the states of driver and the
hardware is not synchronized, the power state could be locked
forever, which mean we could never enter/leave the PS state.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-01-26 17:42:56 +02:00
..
admtek adm80211: remove set but not used variables 'mem_addr' and 'io_addr' 2019-10-24 08:48:00 +03:00
ath wil6210: get rid of begin() and complete() ethtool_ops 2020-01-06 13:54:55 -08:00
atmel at76c50x-usb: fix endpoint debug message 2019-12-18 21:06:02 +02:00
broadcom brcmfmac: add initial support for monitor mode 2020-01-26 17:41:50 +02:00
cisco crypto: skcipher - rename the crypto_blkcipher module and kconfig option 2019-11-01 13:42:47 +08:00
intel First set of patches intended for v5.6 2020-01-26 12:10:02 +02:00
intersil hostap: Adjust indentation in prism2_hostapd_add_sta 2020-01-26 17:36:17 +02:00
marvell mwifiex: drop most magic numbers from mwifiex_process_tdls_action_frame() 2020-01-26 13:34:57 +02:00
mediatek mt76: mt76x0: fix default mac address overwrite 2019-12-02 16:49:05 +02:00
quantenna netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
ralink rt2x00usb: Fix a warning message in 'rt2x00usb_watchdog_tx_dma()' 2019-12-18 20:58:48 +02:00
realtek rtw88: use shorter delay time to poll PS state 2020-01-26 17:42:56 +02:00
rsi rsi_91x_usb: fix interface sanity check 2019-12-18 21:06:06 +02:00
st cw1200: use true,false for bool variable 2020-01-26 17:40:43 +02:00
ti wlcore: mesh: Add support for RX Broadcast Key 2020-01-26 17:33:40 +02:00
zydas wireless-drivers-next patches for v5.6 2019-12-20 21:55:00 -08:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops 2019-11-08 10:17:33 +01:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
virt_wifi.c virt_wifi: fix use-after-free in virt_wifi_newlink() 2019-11-22 13:36:25 +01:00
wl3501_cs.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
wl3501.h