커밋 그래프

38 커밋

작성자 SHA1 메시지 날짜
Karunakar Dasineni
f7e9e55e85 qca-wifi: Support HW generated CTS in Tx capture
Generate CTS frames when RTS is received for Tx capture.

Change-Id: I18facb952bbdc3f34fd2403806b7cd5c9c6f18d4
2020-02-11 10:24:47 -08:00
Ruben Columbus
11ec57d57b qca-wifi: support for rx ack recreation frame for tx failed frames
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
2020-02-04 13:09:24 -08:00
Linux Build Service Account
c339a0ffb2 Merge "qca-wifi: fix the issue in block ack/ack for tx capture mode" 2020-01-28 19:39:18 -08:00
Linux Build Service Account
e0a5418db2 Merge "qca-wifi: N -1 probe response retry count fix" 2020-01-28 19:39:17 -08:00
Linux Build Service Account
49bc88672c Merge "qca-wifi: legacy rx ack frames generation" 2020-01-24 09:42:18 -08:00
Kai Chen
b49539b149 qca-wifi: fix the issue in block ack/ack for tx capture mode
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
2020-01-23 17:41:41 -08:00
Linux Build Service Account
f5915b72b4 Merge "qca-wifi: dequeue peer tid queue on flush tlv and fix out of bound crash" 2020-01-23 10:29:31 -08:00
Ruben Columbus
7059791eb2 qca-wifi: legacy rx ack frames generation
use resp_type to identify packets with HTT_PPDU_STATS_ACK_EXPECTED_E.
this condition triggers rx legacy ack frame.

Change-Id: I17b2ce428692da655580a9365d1c3d920ac360fc
2020-01-22 23:43:07 -08:00
nobelj
f184e7c299 qca-wifi: N -1 probe response retry count fix
for probe response with missing payload is not handled properly
causing N -1 probe response count compared to sniffer.

Change-Id: I13b00b35be78b67f2242c84a8a9978814d097a21
2020-01-22 17:40:49 -08:00
nobelj
922a0db454 qca-wifi: dequeue peer tid queue on flush tlv and fix out of bound crash
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
2020-01-16 14:44:20 -08:00
Pavankumar Nandeshwar
5ccd5a8727 qca-wifi: umac-dp decoupling changes in ctrl_ops for datapath
Modify datapath APIs to make sure they do not need
to receive dp handles from umac interface.

Change-Id: I0979795a6356a29394daa2719dfbd36cdde3d0e2
2020-01-16 12:59:04 +05:30
nobelj
dd3213d1e8 qca-wifi: Fix tx capture issue
Fix tx capture issue
a. update tx capture debug stats
b. store ppdu_desc before sending to stack

Change-Id: I006ebf3504d045d88d6e87963bbb681d568d2e92
2020-01-08 06:27:34 -08:00
Ruben Columbus
6829a32527 qca-wifi: Check peer capture enable while enqueuing MSDUS
this is done to queue frames when filtering and eventually free them
when the feature is disabled

Change-Id: I2dcaa1b354e8e2a0403cf438526a545669ed84e6
2020-01-08 06:24:57 -08:00
Kai Chen
0c218ff57a qca-wifi: Add block ack and ack frame in tx capture feature
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
2019-12-23 12:37:53 -08:00
nobelj
2726d39497 qca-wifi: support dummy frame for rts success, mprot_type
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
2019-12-20 09:56:25 -08:00
nobelj
4623df972f qca-wifi: Fix mgmt/ctrl retries frames in tx capture
Fix tx capture retries mgmt/ctrl frames

Change-Id: I6060a48368f609522a326b5801d82e9899403e77
2019-12-20 07:40:04 -08:00
Ruben Columbus
043046be76 qca-wifi: add ppdu descriptor to tx_capture info
add ppdu_desc to tx_capture_info before handler gets called to send
tx_capture info to stack

Change-Id: Ibdd4b7ce68bdfb359b8b55352ee5494f6062d5fd
2019-12-20 07:29:33 -08:00
nobelj
da95696a44 qca-wifi: support flush tlv in tx capture
all pending excess retries  ppdu desc are handled
for flush tlv

Change-Id: Id34664eec0680cd3712d14e9abd6329f7d1b10aa
2019-12-20 07:25:09 -08:00
Linux Build Service Account
2e01bacee7 Merge "qca-wifi: Fix NULL data Tx frame capture" 2019-12-19 22:32:10 -08:00
Linux Build Service Account
b8855c41c6 Merge "qca-wifi: support for tx capture stats" 2019-12-19 22:32:10 -08:00
nobelj
826fd86990 qca-wifi: support for tx capture stats
added debug stats for tx capture

Change-Id: Id5f9206b0996607419ce0d90ea2ff54c42b51026
2019-12-17 07:21:10 -08:00
nobelj
b313f71971 qca-wifi: tx capture update bar frames
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
2019-12-16 09:12:52 -08:00
nobelj
d8a5ccc005 qca-wifi: Fix NULL data Tx frame capture
Handle ppdu descriptor for NULL data frame as payload comes in
mgmt ctrl payload tlv.

Change-Id: If0292688620c44e4ebd907217d61e13b6551b4ab
2019-12-05 08:08:07 -08:00
Karunakar Dasineni
207fb25c9b qca-wifi: Include SW retries in Tx capture
Changes to include SW retried frames in Tx capture.

Change-Id: Id42e2aafa94c81e22f5cd9a0dfd1cce5d2039312
2019-11-22 17:19:22 -08:00
Karunakar Dasineni
8b89b32689 qca-wifi: Fix non-QOS Tx frame capture
Fix for missing non-QOS frames in Tx capture.

Change-Id: I8f76130b894d72701e675f36caadb5b555bc2ed6
2019-10-14 11:44:05 -07:00
Karunakar Dasineni
781e84c254 qca-wifi: Fix mgmt/ctrl frames in tx capture
Include host generated management and also update
phy information for control and mgmt indications from
FW when Tx capture is enabled.

Change-Id: Icbc0b175c73b6eab0bb6e35fa157bfce92927d24
2019-10-01 11:01:55 -07:00
sumedh baikady
6024ab97e2 qca-wifi: Fix to include SA in addr3 in tx capture
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
2019-09-27 11:02:48 -07:00
nobelj
c870ef44c4 qca-wifi: tx capture grouping ppdu with same schedule cmd id into list.
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
2019-08-27 13:23:23 -07:00
Sumeet Rao
4338fc07aa qca-wifi: Add support to enable/disable tx packet cap on per-peer basis
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
2019-08-07 00:19:37 -07:00
Karunakar Dasineni
505d7d9c6c qca-wifi: Drop excessive PPDU status buffers
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
2019-08-05 07:27:37 -07:00
nobelj
b53625aefe qca-wifi: Fix skb under panic issue.
Handled SKB Null check while sending to
above stack as part of TX capture feature.

Change-Id: I4e4f8764f48c4ad9efcebae16830b3731169cf14
2019-07-30 07:01:23 -07:00
nobelj
68866584a3 qca-wifi: Free ppdu when wbm completion comes out of order
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
2019-06-26 06:50:16 -07:00
Linux Build Service Account
504ff4d4b4 Merge "qca-wifi: Fix use after free when bpr flag enabled" 2019-06-15 01:07:29 -07:00
nobelj
c0b383c43a qca-wifi: Fix use after free when bpr flag enabled
tx capture flag check added and corresponding check added
during skb free.

Change-Id: I5f367b59fd715a56766fa5614b650c6486197775
2019-06-13 21:23:02 -07:00
nobelj
70bf56fc09 qca-wifi: Increased maximum supported ppdu count in a burst
Increased maximum supported ppdu count in a burst from 10 to 50.
added some additional fix.

Change-Id: I1aed76a25f769d5689b23c92797779328e34a169
2019-06-13 12:22:42 -07:00
nobelj
d4503ac191 qca-wifi: Fix cpu stall on TX capture feature
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
2019-06-10 11:17:29 -07:00
Prathyusha Guduri
76cd8648a3 qca-wifi: Capture ppdu_cookie in mpdu_info
ppdu_cookie extracted from ppdu htt completion in user stats tlv is
copied to mpdu_info which is delivered to upper layer

Change-Id: I9c3b5a86b345b5f5545ec81b41b682c82547d5f5
2019-05-27 02:00:56 -07:00
nobelj
e37d964295 qca-wifi: Move WIN ENH TX capture feature out of cmndev
support TX capture mode to deliver msdu along with meta data

Change-Id: I05b988860eec4afe29382b26136958801cccb6eb
2019-05-09 12:16:14 -07:00