added fix for below issue
peer derived from peer_id for a radio return peer
from different radio which cause corruption in the queue
current we store xretry mpdu queue to ppdu desc user
which live for short time. added fix to use
xretry mpdu queue from peer user.
Change-Id: I320e3aae9f3df25aff5a6769acc4c037f40ced5c
Use timer to schedule work queue for tx capture stats
process to fix the deauth missing issue in tx capture
when AP is down.
Change-Id: Ie1d1e3fa9f576cd6034fe6035ef933b1e78df99b
tid queue init can be called from peer MAP event handler and peer
setup functions. Since they can run at same time because of the
sequencing, make init_done an atomic variable and set it before
allocating the retry ppdu. Otherwise, it can result in double
allocation and memory leak.
Change-Id: I354bf2763b8ddedcf83f04eccccaafc329eac66d
Currently, per-user information in Tx PPDU completion is allocated for
37 users though FW may send information for fewer number of users. In
new scheme, FW provides number of users in USERS_INFO TLV and host can
allocate the per-user struct based on this number. This can save memory
while processing each completion message.
Make related changes in tx capture files to use pointer instead of fixed
size member.
CRs-Fixed: 2730933
Change-Id: I8709665a481d64dc4ab086ce9b27e8837c38b53f
Debugfs is added to store the last 30 ppdu desc and display
as readable format to user. Feature of storing ppdu desc is
enabled through debugfs and it is not enabled by default.
Change-Id: I85ff52760462abd9a6e33d082db45d8179e67c0d
For some peers, tx capture tid init is not invoked,
It is resulting in ppdu_desc leak.
Invoking tid init on tid peer update, if tid is not
initialized.
Change-Id: Ia49c7e6d093a42e57e8d9239a60ad0b8dabfcc5b
CRs-Fixed: 2718150
Add support
a. Drop msdu on queue exceed threshold of 4096
b. Add support to print consolidated peer tid queue.
Change-Id: I2b91b151531c839657716ac52987cf5e4a62e7cc
a. ppdu desc in pending ppdu queue is dropped on queue length exceeds
threshold which is 32.
b. configuring ring map for soc only once.
Change-Id: I7398a478ce9e4d974d9ecc2a06d30821f151a1b5
The current implementation of the TX Capture
feature assumes a non QoS 3 address frame for
each frame. If a frame is a QoS frame, the extra
fields are manually added, but if the frame is a
4 address frame, there is no handling. Add QoS,
4 address and 4 address QoS frame types to the
TX Capture feature and update accordingly.
Change-Id: Idd7f8f55a5543718f52bc38be396d671b87b54bd
CRs-Fixed: 2636684
In tx capture, while changing the tx capture we run into
soft lock up. The fix addressed the soft lock up issue.
Change-Id: I0cb6abb9ede2fb0a5d380e6986ec14dcaa31a13f
1. Hanndle BAR frame.
2. set rate for ACK frame.
3. Check block ack session and use block ack if block
ack session is established.
4. no ACK for broadcast probe request.
5. no ack if the ack policy is set to no ack in qos control.
Change-Id: Id42b0e95fc7ea043d35c8d7d5686f15140acdea6
Block ack and ack frame is composed and sent to up
layer after a unicast packet to AP is received for
tx capture feature
Change-Id: I512519de7eaf4f524825b854b33dedc4caf90e0e
before sending tx capture data frame to stack
rts_success flag is checked on set we send rts and cts dummy frames
before data frame.
Change-Id: Id3dccf5c03b05ff381eb595d7807385afb78d462
Include host generated management and also update
phy information for control and mgmt indications from
FW when Tx capture is enabled.
Change-Id: Icbc0b175c73b6eab0bb6e35fa157bfce92927d24
Currently, tx_monitor mode is enabled/disabled for all peers on a
per-pdev basis. Since tx_monitor mode consumes significant amount of
MIPS and reduces throughput, new requirement is to enable/disable
tx_monitor mode on a per-peer basis as well.
Change-Id: Ib70ccd3238dfd5fae1be92a81e9bf91fe441e228
CRs-Fixed: 2500931
When CPU cores are fully loaded, PPDU stats process workqueue
is not getting enough time, resulting in excessive backlog of
PPDU status buffers. Check and drop buffers if the backlog is
beyond a threshold.
Change-Id: Ideef46cb4eec54dcd5a8315f36f2206653d81659