Grafico dei commit

22 Commit

Autore SHA1 Messaggio Data
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