[PATCH 2/3] ath10k: remove return for NL80211_STA_INFO_TX_BITRATE

2020-08-13 Thread Wen Gong
ath10k_sta_statistics is used to report many info to iw wlan0 link, if it return for empty legacy and nss of arsta->txrate, then the other stats after it will not be set. It has 4 bit to set after the return: NL80211_STA_INFO_TX_FAILED NL80211_STA_INFO_RX_BITRATE NL80211_STA_INFO_TX_BITRATE

[PATCH 1/3] ath10k: add wmi service peer stat info for wmi tlv

2020-08-13 Thread Wen Gong
ath10k_sta_statistics is used to report info for iw wlan0 link, it check ath10k_peer_stats_enabled, and ath10k_peer_stats_enabled check WMI_SERVICE_PEER_STATS bit of ar->wmi.svc_map. SVCMAP() for WMI_SERVICE_PEER_STATS was defined only for wmi_10x_svc_map and wmi_10_4_svc_map interfaces, it missed

[PATCH 3/3] ath10k: enable supports_peer_stats_info for QCA6174 PCI devices

2020-08-13 Thread Wen Gong
When using QCA6174 PCI devices working in station mode, after connected to AP, tx bitrate is always '1.0 MBit/s' in output of command 'iw wlan0 station dump'. (QCA6174 SDIO devices are working fine.) After this patch, it show correct bitrate: Station c4:04:15:5d:97:22 (on wls1) inactive

[PATCH 0/3] ath10k: correct tx/rx bitrate for QCA6174 PCIe and SDIO

2020-08-13 Thread Wen Gong
iw wlan0 station dump not show the correct tx/rx bitrate of QCA6174 PCIe and SDIO, it is because it has 1 check for WMI_SERVICE_PEER_STATS and 1 return for empty arsta->txrate, so change to pass the check and remove the return, then iw wlan0 station dump show correct tx/rx bitrate for QCA6174

[ath6kl:master-pending] BUILD SUCCESS f0d798d8db833956b7fc80c08b303c221e68c72d

2020-08-13 Thread kernel test robot
randconfig-a001-20200811 x86_64 randconfig-a003-20200811 x86_64 randconfig-a005-20200811 x86_64 randconfig-a004-20200811 x86_64 randconfig-a002-20200811 x86_64 randconfig-a006-20200813 x86_64 randconfig-a001-20200813 x86_64

[ath6kl:pending] BUILD SUCCESS abde6854f66829c7a2a576aac22c143d9eaffeed

2020-08-13 Thread kernel test robot
randconfig-a001-20200811 x86_64 randconfig-a003-20200811 x86_64 randconfig-a005-20200811 x86_64 randconfig-a004-20200811 x86_64 randconfig-a002-20200811 x86_64 randconfig-a006-20200813 x86_64 randconfig-a001

[ath6kl:ath11k-qca6390-bringup] BUILD SUCCESS 3e087f384cf817170ca13ff92c0a5f41625a9d47

2020-08-13 Thread kernel test robot
-20200811 x86_64 randconfig-a005-20200811 x86_64 randconfig-a004-20200811 x86_64 randconfig-a002-20200811 x86_64 randconfig-a006-20200813 x86_64 randconfig-a001-20200813 x86_64 randconfig-a005-20200813 x86_64