[PATCH v2] ath10k: fix the MAC address of peer statistic
Yeoh Chun-Yeow
yeohchunyeow at gmail.com
Fri Jan 17 08:11:24 EST 2014
> Any ideas what's happening here?
My one is MIPS32 (Compex WPJ344) and the following PEER stats are
printed correctly:
# cat /sys/kernel/debug/ieee80211/phy0/ath10k/fw_stats
MPDU errors (FCS, MIC, ENC) 0
ath10k PEER stats
=================
Peer MAC address 04:f0:21:0c:a5:44
Peer RSSI 68
Peer TX rate 0
Could this be the Endianness problem? How about if you remain the
struct wmi_peer_stats? Also, just to point out the TxRate is not
working (always 0).
>> + /* The first peer is self MAC address, ignore this */
>> + num_peer_stats--;
>> + tmp += sizeof(struct wmi_peer_stats);
>
> Should we show "self peer" separately? Does it provide any useful
> information?
So far, we only have RSSI and Tx Rate. Both are not really useful for
"self peer".
----
Chun-Yeow
More information about the ath10k
mailing list