Fix to support Tx capture for below issues
a. intermittent change to drops all MU frames in Tx capture.
b. Fix to support, FW indicates enqueue bitmap with more bits than
actual MPDUs tried by HW tx capture holds more pending PPDUs, it causes
higher memory usage.
c. holding peer reference on get and release reference on delete
during tx capture.
Change-Id: I0ac5dce7995413585164b6c15dd8b647f0886fb1
Currently, there is no check for QoS NULL when
handling data frames in the TX Cap feature. This
leads to QoS NULL frames not being seen OTA. Add
a check in dp_tx_ppdu_stats_process to ensure data
frame is not a QoS NULL data frame before handling,
since QoS NULL payload comes in management path.
Change-Id: I9fa2e68115327a283b241214ff62534bcb1ed74a
CRs-Fixed: 2632712
Add temporary workaround for TX Capture Enhancements
feature to not process stats for MCAST traffic unless
the peer is a bss peer. This change avoids memory leaks
relating to MCAST Traffic stats handling.
Change-Id: I9b564897e402a4381e6d92d983bc10e1036ee2b4
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
Remove dp_rx_mon.h inclusion from dp_tx_capture.c
In I3a31dacd7d7e817f144708f9bda5536808080864,
dp monitor inline APIs are moved to header file.
This change is needed to get dp_tx_capture.c compiled.
Change-Id: I145cac1afbc4e19a5d36a97c4a9cbe93fe67f700
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