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
Currently, no NULL check exists before the mpdu array from
the ppdu_dsc is populated. Add a NULL check after
qdf_nbuf_queue_remove before assigning it to the
ppdu_desc->mpdus array.
Change-Id: Ic5002b7939bb85440dbb8ea96dd46d30c70eb2ff
As a part of peer filter feature fix, tx capture feature
support only for peer filter. with this fix it support
tx capture enable too.
Change-Id: I76e02b79a351bb3f73fa5c5d9e9a6dd583c27cc5
Replace skb_copy_expand with qdf_nbuf_copy_expand to correctly
get offset for expand length. Additionally, loop over all elements
in nbuf_ppdu_desc_list instead of only checking once.
Change-Id: If9aed3c7c97354d912923ca25c8c52f1db27dac1
CRs-Fixed: 2620672
FW set mprot_type in NDPA frame as all ping request is a sound + steer.
check mprot type in mgmt frame and send dummy rts and cts.
Change-Id: I0f275c57e254117e06cb17173f4ae4b65f0e07aa
Currently mesh mode uses channel numbering scheme which is derived
from APIs which don't support 6GHz channel numbering. This is
important because the channel numbers for 6GHz are overloaded with
those in the 2.4GHz and 5GHz band.
Add support to obtain the correct channel number (and auxiliary
information like band and frequency) through the new APIs that
support 6GHz.
Change-Id: I60afa5294af5e5681974f1bbc45c9e008eda1232
CRs-Fixed: 2605229
rx ack does not get created for tx failed frames.
this is done with a check for completion status on the previous frame.
Change-Id: Idfff8aa8165542bb2ca2cf1370a201ccb057997e
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
use resp_type to identify packets with HTT_PPDU_STATS_ACK_EXPECTED_E.
this condition triggers rx legacy ack frame.
Change-Id: I17b2ce428692da655580a9365d1c3d920ac360fc
for probe response with missing payload is not handled properly
causing N -1 probe response count compared to sniffer.
Change-Id: I13b00b35be78b67f2242c84a8a9978814d097a21
a. On flush tlv from firmware, dequeue msdu from peer tid queue.
b. Fix msdus out of bound crash.
c. Fix non qos tid excess retries.
Change-Id: Iac50ec2e74762138b78ec78ada8c62c58601536e
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
Bar frames without payload are generated for tx capture.
added a generic function to generate dummy frames
for type CTL and MGT into function.
Change-Id: I4408b1b023eeaefa17a6e121cda6a9a64d025202
Include host generated management and also update
phy information for control and mgmt indications from
FW when Tx capture is enabled.
Change-Id: Icbc0b175c73b6eab0bb6e35fa157bfce92927d24
In Tx capture feature, Addr 3 is wrongly populated
with peer mac. Add fix to pick correct SA from
ethernet frame and use in wireless hdr.
Change-Id: I457c3118a1e8e5e7aace4e784e2978e89dda2eda
CRs-Fixed:2532324
Grouping ppdu with same schedule command id into list
as there is no finite number on ppdu count with a same
schedule command id.
Change-Id: Ibf0fe7e29923b641ff6330c12200b351f42b6efb
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
In TX packet capture, we expect wbm to comes in order
but sometimes we see it comes out of order. During that case we
free msdu and mpdu that we recreate for ppdu.
Change-Id: Id8e6082ade4e3d24937af490014c0fe4152906d8
Fix cpu stall during TX capture feature enable
and copy and expand sk_buff is used instead of
expanding sk_buff header alone.
Change-Id: I100e13304f4e1cd3dfabd3d6177d658be8fcb31f