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:
Jeffin Mammen
2019-05-20 10:30:44 +05:30
committed by nshrivas
부모 d74e1fdc5f
커밋 1514e796b6
3개의 변경된 파일33개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -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)
/**