Commit Graph

14 Commits

Author SHA1 Message Date
Neha Bisht
b00137ec18 qcacmn: Restore NUM_HE_MCS value to 12 for correct rate computation
Since dp_11abgnratetable table supports till 12 mcs for HE modes,
restoring NUM_HE_MCS value to 12 for correct computation of rates

Change-Id: Ieea846cf17866612f94af36de39a4a16f13b9beb
2020-12-08 21:34:10 -08:00
Vevek Venkatesan
cad7c21002 qcacmn: add MCS 12/13 stats support for 4K QAM mode
Add MCS 12/13 stats support for 4K QAM mode.

Change-Id: Ib4c0a216f2201d4b7cecc010d65bbebc07cfb3b4
CRs-Fixed: 2786348
2020-11-12 05:40:32 -08:00
Surya Prakash Raajen
c4d6b4d9c5 qcacmn: Move support_11ax macro to buildcaps
Move support_11ax macro to buildcaps to remove dependency
on legacy FW headers and add it on Buildcaps to fix
redefine error.

CRs-Fixed: 2719782
Change-Id: Ic2902663083cda10e0a9e9b2da85ee1b267b6b7c
2020-07-07 07:25:06 -07:00
Ankit Kumar
cd66fff1ce qcacmn: Process smart antenna fields from tlv
Process smart antenna fields from tlv
HTT_PPDU_STATS_USR_COMPLTN_COMMON_TLV in tx
completion path and export it to tx_completion.

Change-Id: If14e711b0aee8e583fd329f3c3915904649ffe47
CRs-Fixed: 2491429
2019-08-15 01:28:21 -07:00
Akshay Kosigi
67c8bb9e06 qcacmn: Remove void ptr usage in DP cal client
Make change to remove void pointer usage in DP cal client
instead use cdp opaque pointers.

Change-Id: Ie966ebb7b6bb937d4ee1d6dce3b040804e61ac37
Crs-Fixed: 2484412
2019-07-27 13:42:56 -07:00
Amir Patel
f0fa2f5beb qcacmn: Compute client inactive time from last one second tx/rx activity
If client is having non-zero tx/rx packets in last one second,
reset inactive time to zero, else increment inactive time.

Change-Id: Ie25fb43adec252e93ebc1bb1a7aa0fa207e7af1e
2019-06-10 04:11:34 -07:00
Shashikala Prabhu
f7786d3822 qcacmn: Change the data type of average/roundup tx rate
The datatype of average and round up tx rate was uint32_t which truncates
the upper byte of the average and round up tx rate value.

changing the datatype of average and round up tx rate from uint32_t to
uint64_t.

Change-Id: I3809ba7cfc73ec0b4609981e70d57112ac958f33
CRs-Fixed: 2409751
2019-04-16 09:09:38 -07:00
Amir Patel
78824b1d4e qcacmn: Add changes for RDK statistics
Change API signature for dp_getrateindex to populate rate index
and add additional stats required for RDK.
Add QDF abstraction for EWMA average rssi

CRs-Fixed: 2397918
Change-Id: Id878971799c5df2ae60057a86b2769724ee0dcc5
2019-02-27 03:13:56 -08:00
Amir Patel
d577d09497 qcacmn: Fix last_per overflow issue
Check if ucast pkts count is more than success pkts count,
compute last packet error rate only if ucast is less than success
pkts.

Change-Id: I0aa4d41d09b1691e4d554beab2f2ed7a7f2ceb1e
CRs-Fixed: 2343479
2018-11-30 06:45:20 -08:00
Amir Patel
3c60631d7c qcacmn: Add support for last_per
Calculate last_per based on unicast packets and success packets
in last one second

Change-Id: I8b469e5d9c1e40498b3267bf7bdf3149159bdc31
CRs-Fixed: 2343479
2018-11-15 03:38:29 -08:00
Anish Nataraj
376d9b19f3 qcacmn: Include sgi parameter for ratekps calculation
Currently gi value was not considered for ratekbps calculation
if sgi is enabled, include gi parameter for ratekbps calculation

Change-Id: Idd8b36375493c26f22f2f4f0c7ae922df37e65a1
2018-08-31 04:01:22 -07:00
Ruchi, Agrawal
7d32b0aebb qcacmn: common api for cal client timer
common api for cal client timer, stats update
per sec.

Change-Id: Ic508a818a7ad38253f157326c063fdc1d719c425
CRs-Fixed: 2286826
2018-08-31 00:51:15 -07:00
y
db24745af8 qcacmn: PPDU changes for DP Componentization
PPDU rate related change moved to data path layer

Change-Id: Id362da61336fb439e394437636af53c0c2c10988
2018-08-10 18:11:36 -07:00
Pranita Solanke
a1e18aa1e2 qcacmn: Move ratetable API to cmn code
Move rate table API changes from umac to common
data path in order to make the APIs available
throughout the driver.

Change-Id: I1a8aeb3b73ca9df3ab7535c23c8b7e02e6af13de
CRs-Fixed: 2286841
2018-08-08 03:40:05 -07:00