qcacmn: Update Peer rx/tx rate based on DATA packets
Packets sent/received at fixed rate were also considered to update the client rates as displayed in wlanconfig command output. An idle client transmits NULL packets at basic rate and hence rx rate shows up the basic rate when an idle client is connected. Consider only data packets to update rates. Do not consider NULL packets for rate update. CRs-Fixed: 2435447 Change-Id: Icbf9f2a656bb0d36e16d953952c529185c119f17
This commit is contained in:
@@ -67,6 +67,13 @@ typedef __in6_addr_t in6_addr_t;
|
||||
#define QDF_IEEE80211_FC1_TODS 0x01
|
||||
#define QDF_IEEE80211_FC1_FROMDS 0x02
|
||||
|
||||
#define QDF_IEEE80211_FC0_TYPE_MASK 0x0c
|
||||
#define QDF_IEEE80211_FC0_SUBTYPE_MASK 0xf0
|
||||
|
||||
#define QDF_IEEE80211_FC0_TYPE_DATA 0x08
|
||||
#define QDF_IEEE80211_FC0_SUBTYPE_DATA 0x00
|
||||
#define QDF_IEEE80211_FC0_SUBTYPE_QOS 0x80
|
||||
|
||||
#define QDF_NET_IS_MAC_MULTICAST(_a) (*(_a) & 0x01)
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user