#ifndef BPF_EXT #define BPF_EXT #ifndef SKF_AD_OFF # define SKF_AD_OFF (-0x1000) #endif #ifndef SKF_AD_PROTOCOL # define SKF_AD_PROTOCOL 0 #endif #ifndef SKF_AD_PKTTYPE # define SKF_AD_PKTTYPE 4 #endif #ifndef SKF_AD_IFINDEX # define SKF_AD_IFINDEX 8 #endif #ifndef SKF_AD_NLATTR # define SKF_AD_NLATTR 12 #endif #ifndef SKF_AD_NLATTR_NEST # define SKF_AD_NLATTR_NEST 16 #endif #ifndef SKF_AD_MARK # define SKF_AD_MARK 20 #endif #ifndef SKF_AD_QUEUE # define SKF_AD_QUEUE 24 #endif #ifndef SKF_AD_HATYPE # define SKF_AD_HATYPE 28 #endif #ifndef SKF_AD_RXHASH # define SKF_AD_RXHASH 32 #endif #ifndef SKF_AD_CPU # define SKF_AD_CPU 36 #endif #ifndef SKF_AD_VLAN_TAG # define SKF_AD_VLAN_TAG 44 #endif #ifndef SKF_AD_VLAN_TAG_PRESENT # define SKF_AD_VLAN_TAG_PRESENT 48 #endif #ifndef SKF_AD_PAY_OFFSET # define SKF_AD_PAY_OFFSET 52 #endif #endif /* BPF_EXT */ method='get'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>2017-01-12 13:02:22 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2017-01-13 15:35:26 +0200
commitcd59102779aca33e50967bdb6147334fb298d7ad (patch)
tree3c14f6ea0d0b926d48a03f17c0b4998e23b95f12
parentc486dc571a370ec58aefc9cc93937945403ef351 (diff)
ath10k: fix tx legacy rate reporting
Tx legacy rate is reported 10 fold, as below iw dev wlan#N station dump | grep "tx bitrate" tx bitrate: 240.0 MBit/s This is because by mistake we multiply by the hardware reported rate twice by 10, fix this. Fixes: cec17c382140 ("ath10k: add per peer htt tx stats support for 10.4") Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat
-rw-r--r--drivers/net/wireless/ath/ath10k/htt_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c