]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: change the fw stats access mask
authorYanbo Li <yanbol@qca.qualcomm.com>
Wed, 1 Apr 2015 19:53:21 +0000 (22:53 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 9 Apr 2015 12:06:36 +0000 (15:06 +0300)
commit6844f31e9059e3fe841ab91890b5234c9c7c91c9
treea99e8a980a4a6f5b98b92fdacc1770a7dd8d9c2d
parent46d6983c2a4e8c65fdd5c3d8c022e5af73e8020d
ath10k: change the fw stats access mask

This fix the regerssion introduced after "ath10k_wmi_requests_stats()
call to use more stat bits", both the 10.2.X FW and community FW 10.1.X
will return time out when access the fw_stats with the STAT_VDEV and
STAT_PDEV. Add the condition to use different fw_stats mask for different
FW versions.

Fixes: 768d452376dd ("ath10k: implement fw stats for wmi-tlv")
Signed-off-by: Yanbo Li <yanbol@qca.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/debug.c