]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ffc691d5979cb620e84a3a62b6687fc61bee48b
treed94e63b51901361f29b0c8fab46e1a0e59f18581
parent49056923f4153b05fd54672ac6b270e787456f71
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