diff options
| author | Ferry Zhou <tianguiz@codeaurora.org> | 2019-07-02 15:31:08 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-07-08 01:46:13 -0700 |
| commit | cd15da232745b0e4318a85a145635e2d38d86446 (patch) | |
| tree | 88d82628c407da1881a2faea2d0b7d77d64a9c81 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | a97fdb54ece039e6c8a7ef49de369fa918b82cc9 (diff) | |
qcacld-2.0: Fix loss of DSRC per packet tx stats
There are two corner cases as below that have too many failures of
frame transmission in firmware, which results in use out of tx stats
ring item. The driver can't reclaim ring item timely since the
continuous transmission failaures occupy so many ring items. So, when
driver has no free ring items, it overwrites complete tx stats items,
which results in loss of per packet tx stats items.
Two corner cases of transmission failaures in firmware:
1) tx lots of packets on channel1 in multi-channel mode without
GPS/PPS, which indicates WAL_TX_COMP_TYPE_DISCARD in firmware.
2) tx lots of unicast packets routed to a nonexistent peer device,
which indicates HTT_TX_COMPL_IND_STAT_NO_ACK in firmware.
Fix it in three aspects:
1) enlarge ring depth from 32 to 128.
2) reclaim tx stats items of host first to keep the complete tx stats
items as much as possible.
3) reclaim tx stats items of host when receive invalid tx power from
firmware.
Change-Id: I00707e881581c168b58bd92483772e2f6c03e117
CRs-fixed: 2447385
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
