ath10k: check power save support in STA mode through FW IE
authorVenkateswara Naralasetty <vnaralas@qti.qualcomm.com>
Wed, 4 Oct 2017 09:22:57 +0000 (12:22 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 13 Oct 2017 11:38:09 +0000 (14:38 +0300)
commit36d9cdb6fb4a8b97af51bdd74683dd3e46b97b20
treed94e63b51901361f29b0c8fab46e1a0e59f18581
parent96378bd2c6cda5f04d0f6da2cd35d4670a982c38
ath10k: check power save support in STA mode through FW IE

Currently ath10k host enables power save support in station mode by
default for all firmwares but Power save for station mode still not supported
in some of the firmware versions. Which results in firmware crash while
issueing multiple scan commands.

Fix this problem by introducing new FW feature flag to check power save
support in firmware and then the firmware image can tell to ath10k that power
save mode is not supported in station mode.

Signed-off-by: Venkateswara Naralasetty <vnaralas@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c