Beacon frames are FW generated frames, FW indicated them as DATA_SU,
with this, frame is not marked as self gen. It gets added to retry_q.
Check ppdu frame type and subtype to mark frame as selfgen if it beacon
Change-Id: If0bfd9bf2cc321afe207a4db7529e24baebfd376
CRs-Fixed: 2643848
if last_msdu is not received then allocated
mpdu_nbuf and mpdu_q is not freed,
This change frees the buffers in last_msdu not seen case.
Change-Id: Icaaa6e227f3ea1d314c6d15a9f76c2f622d5d93f
CRs-Fixed: 2643848
If tx_capture is disabled, the frames notified to tx_capture
module needs to be freed.
This change frees mgmt frames in tx capture module, in case feature
is disabled
Change-Id: I71f102ba2f25f23bdcef63dddb525d5f7b0a692a
CRs-Fixed: 2643848
1) Avoid removing wrong nbuf from queue
In corner case, the current flow can remove first nbuf instead of
actual nbuf from queue, this can lead to having the actual pointer
stored at two array indexs.
2) tsf wraparound handling for mgmt frame
3) Mpdu tried is higher than ba_sisze
mpdus[] is allocated with ba_size, it is observed that mpdu_tried
is higher than ba_size, which can lead to buffer overlow.
Added the check of ba_size along with mpdu_tried.
To avoid it, copied nbuf in the corner case, and left the actual nbuf
in the xretries queue.
Change-Id: Ifa57eaf62cf50aa2c356a6d1f41ef4b7283be52e
CRs-Fixed: 2643848
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