linux_dsm_epyc7002/drivers/net/wireless
Maharaja Kennadyrajan d70c0d463f ath10k: add debugfs support to get power save state change of STA
This patch helps to get the power save state change of each peer
connected to the AP. With WMI_10_4_PEER_STA_PS_STATECHG_EVENTID
event, ps state of each peer is reported to user space via
debugfs.

Use the below command to get the ps state of each sta:
cat /sys/kernel/debug/ieee80211/phyX/netdev::wlanX/stations/
XX:XX:XX:XX:XX:XX/peer_ps_state

If STA is in power save state, we get the peer_ps_state value as 1.
if STA is not in power save state, we get the peer_ps_state value as 0.
If ps_state event is disabled, we get the peer_ps_state value as 2.

We can enable/disable the ps_state events using the debugfs flag
"ps_state_enable"

echo Y > /sys/kernel/debug/ieee80211/phyX/ath10k/ps_state_enable

Y = 1 to enable and Y = 0 to disable

Tested in QCA4019 with firmware ver 10.4-3.2.1.1-00011

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-10-01 17:02:08 +03:00
..
admtek net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
ath ath10k: add debugfs support to get power save state change of STA 2018-10-01 17:02:08 +03:00
atmel atmel: Replace mdelay() with msleep() in probe_atmel_card() 2018-07-31 10:25:33 +03:00
broadcom b43legacy/leds: Ensure NUL-termination of LED name string 2018-08-09 18:44:54 +03:00
cisco airo: remove unused variables len and dev and clean up formatting 2018-07-31 10:17:19 +03:00
intel pci-v4.19-changes 2018-08-16 09:21:54 -07:00
intersil hostap: hide unused procfs helpers 2018-07-31 10:21:33 +03:00
marvell mwifiex: Fix skipped vendor specific IEs 2018-07-31 10:13:39 +03:00
mediatek mt76: fix build for MediaTek MT7610U USB wireless dongle 2018-08-09 18:12:28 +03:00
quantenna qtnfmac: implement basic WoWLAN support 2018-08-02 21:55:49 +03:00
ralink pci-v4.19-changes 2018-08-16 09:21:54 -07:00
realtek rtlwifi: btcoex: Fix if == else warnings in halbtc8723b2ant.c 2018-08-09 18:15:01 +03:00
rsi rsi: remove redundant variables bss, wh and temp_flash_content 2018-08-09 18:13:46 +03:00
st treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ti Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
zydas zd1211rw: use irqsave() in USB's complete callback 2018-06-27 19:12:43 +03:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: Add support for HE 2018-07-09 10:21:28 +02:00
mac80211_hwsim.h mac80211_hwsim: add permanent mac address option for new radios 2018-01-31 12:45:35 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ray_cs.c ray_cs: remove redundant pointer 'p' 2018-07-31 10:19:50 +03:00
ray_cs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rayctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rndis_wlan.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
wl3501_cs.c
wl3501.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00