Граф коммитов

1559 Коммитов

Автор SHA1 Сообщение Дата
Christopher Chopp
06db648e34 qca-wifi: Temp WAR for MCAST traffic in TX Cap
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
2020-02-26 18:11:38 -08:00
Linux Build Service Account
50b9e06dc6 Merge "Revert "qca-wifi: Set max vdev count to 60"" 2020-02-25 13:09:55 -08:00
Linux Build Service Account
57ae16c6e0 Merge "qca-wifi: tx capture stats for msdu and pending ppdu queue" 2020-02-25 13:09:54 -08:00
Linux Build Service Account
ee5754429a Merge "qca-wifi: Fix for tx capture softlockup on mode change" 2020-02-25 13:09:54 -08:00
nobelj
c42f615d91 qca-wifi: Fix for tx capture softlockup on mode change
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
2020-02-24 22:54:13 -08:00
nobelj
965f45a0b3 qca-wifi: tx capture stats for msdu and pending ppdu queue
Add stats for msdu queue and pending queue as a part of tx capture stats.

Change-Id: I78f41cd1443715b6b763db01c9db2c4bcef44747
2020-02-24 22:46:53 -08:00
Naga
caf6a652c6 Revert "qca-wifi: Set max vdev count to 60"
This reverts commit 4ebefef145a041ad25b34f0b2add349f048b2492

CRs-Fixed: 2628313
2020-02-25 10:28:38 +05:30
Christopher Chopp
a141b91706 qca-wifi: Add NULL check for mpdu_nbuf in TX Cap
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
2020-02-24 15:51:53 -08:00
Linux Build Service Account
cc95a997ba Merge "qca-wifi: Fix tx capture enable and peer filter" 2020-02-23 12:10:10 -08:00
nobelj
bbcadc149e qca-wifi: Fix tx capture enable and peer filter
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
2020-02-21 12:03:30 -08:00
Linux Build Service Account
a633871412 Merge "qca-wifi: Rectify nbuf copy expand in TX Capture feature" 2020-02-21 11:44:21 -08:00
Debasis Das
ca1e6f5577 qca-wifi: peerstats Fix -Wformat compiler warnings
Fix -Wformat compiler warnings:
1. format '%lx' expects argument of type 'long unsigned int',
   but argument has type 'uint64_t {aka long long unsigned int}'.
2. format '%lu' expects argument of type 'long unsigned int',
   but argument has type 'unsigned int'.

Change-Id: Ie9e4c6b244802df7da8be89db7f497e51fb43c9c
2020-02-20 23:02:52 -08:00
Linux Build Service Account
95744c646d Merge "qca-wifi: Fix for incorrect channel frequency in radio tap" 2020-02-20 19:52:49 -08:00
Christopher Chopp
2a21448971 qca-wifi: Rectify nbuf copy expand in TX Capture feature
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
2020-02-20 19:34:59 -08:00
Linux Build Service Account
7732480801 Merge "qca-wifi: Add 6GHz support for chan/freq/band usage in mesh mode" 2020-02-20 11:09:38 -08:00
Linux Build Service Account
86e650e2d4 Merge "qca-wifi: Resolving parse error in wmi_stats_event" 2020-02-20 06:39:47 -08:00
Linux Build Service Account
b402abfe62 Merge "qca-wifi: Fix tx capture RTS/CTS send before mgmt frame" 2020-02-19 23:46:41 -08:00
Linux Build Service Account
7affcab576 Merge "qca-wifi: Set the default max descs to appropriate value" 2020-02-19 10:11:00 -08:00
Linux Build Service Account
dd73cd9b86 Merge "qca-wifi: Add multivdev restart wait timeout" 2020-02-19 04:13:44 -08:00
Amit Shukla
dacd2d5bb6 qca-wifi: Fix for incorrect channel frequency in radio tap
Channel frequency was shown as 0 in radio tap header for
tx capture feature.

Change-Id: Iae60770e59603a1d6056be649178fcdee26c1455
CRs-Fixed: 2621057
2020-02-18 21:51:19 -08:00
narayan
1776b97458 qca-wifi: Resolving parse error in wmi_stats_event
Parsing nac_rssi event only if both pdev_ext2_stat and nac_rssi_stat
are sent by FW in wmi_stats_event handling for non_tlv chipsets.

Change-Id: If39cc49106fd16c2a2b7fc729a82c863ae0c1b89
2020-02-18 00:38:29 -08:00
Padma Raghunathan
56fb3412f4 qca-wifi: CFR: Fix NULL check before invoking DBR unregister handler
In HKV2/Cypress, check if DBR unregister handler is non-null before
invoking the same.

Change-Id: If22eac6e0005b9aa8887888b8070c884ec52d40f
2020-02-17 19:32:47 -08:00
Linux Build Service Account
3abee06de0 Merge "qca-wifi: CFR: Change format-specifiers while printing CFR metadata" 2020-02-17 03:53:37 -08:00
Linux Build Service Account
962957f5b6 Merge "qca-wifi: CFR: Introduction of new flag to enable RCC" 2020-02-17 03:53:37 -08:00
Himanshu Batra
a24e7b7d12 qca-wifi: Add multivdev restart wait timeout
In the current implementaion, if multivdev restart req is not sent
due to error cases, then the multivdev restart timer gets restarted
after every timeout and the vdev sm is stuck in same state.
Add multivdev restart timeout wait counter and assert after the wait
timeout expires.

Change-Id: I5e249583e309660281b4a9cd7253b0731c5483cd
CRs-Fixed: 2621230
2020-02-17 12:30:12 +05:30
Linux Build Service Account
4d278e9291 Merge "qca-wifi: Support mgmt packet filter based on mac address" 2020-02-15 11:08:16 -08:00
Linux Build Service Account
b5da197c2c Merge "qca-wifi: Rename 165 MHz service bit as restricted 80+80 MHz" 2020-02-15 11:08:15 -08:00
Linux Build Service Account
40b95f4b29 Merge "qca-wifi: Set max vdev count to 60" 2020-02-14 11:55:52 -08:00
Pavankumar Nandeshwar
9df2ce2620 qca-wifi: Set the default max descs to appropriate value
Set the default max descs to appropriate value, as this will
be used in case there is no value is set explicitly from
ini file

Change-Id: I2011f47ebd3dbdb9a1501364c02747206577d282
2020-02-14 04:01:16 -08:00
nobelj
a503717b9c qca-wifi: Support mgmt packet filter based on mac address
tx capture mgmt packet peer filter are filtered
based on RA mac address.

Change-Id: Ib5a5b4d6fc8170e711127e3d15b4389330da9f11
2020-02-13 22:45:38 -08:00
Linux Build Service Account
58f8c0dc33 Merge "qca-wifi: Add API signature change for qcn9000" 2020-02-13 13:07:20 -08:00
Shashikala Prabhu
cf4e2669e7 qca-wifi: Rename 165 MHz service bit as restricted 80+80 MHz
Rename wmi_service_bw_165mhz_support as
wmi_service_bw_restricted_80p80_support.

Change-Id: I903afca5d561d879e1b74ffce96bd5eed02ee1ef
CRs-Fixed: 2621240
2020-02-13 14:43:13 +05:30
Linux Build Service Account
f668071692 Merge "qca-wifi: Copy bit map from TLV to host data structure" 2020-02-13 00:40:01 -08:00
Nandha Kishore Easwaran
e2c42c958d qca-wifi: Set max vdev count to 60
Setting max vdev count per psoc to 60 as max client qwrap
mode has max vdev count per psoc as 60 for 2 pdevs.

Similarly increased max vdev count per pdev to 30.

Change-Id: I1b6858f1461dfe05e11695435d52958083322345
2020-02-12 03:38:43 -08:00
Santosh Anbu
318d608c35 qca-wifi: Copy bit map from TLV to host data structure
On receiving multi-vdev restart response from FW, the bit map size
indicates the size in words. Due to which when extracting the info
into host data structure only 2bytes are copied as against 2words.

Fix by extracting the complete contents of the TLV.

Change-Id: Ibc5de7c2b1d74e0fbcd2317e57955915f2dc0c3d
CRs-Fixed: 2619141
2020-02-12 15:32:58 +05:30
Adwait Nayak
22aef01be3 qca-wifi: CFR: Introduction of new flag to enable RCC
A new flag "is_cfr_rcc_capable", is introduced to enable RCC.
Currently, this flag is enabled only for QCA6018.

Change-Id: Ifdd1922c655c0bb743147e3f51d3ca32cac3dd2e
2020-02-12 10:13:48 +05:30
Adwait Nayak
aac53d0bf9 qca-wifi: CFR: Add enhanced debug counters
Add counters for following scenarios -

1. Ucode aborts DMA of CFR data when a higher priority TX/RX activity
needs to be scheduled, add counters in host to identify the no. of
aborts.

2. Add counters to track the total no. of TX-based CFR captures since
wifi up.

Change-Id: I3c0e0e68651348c3484a14dfcd1f664962c8647f
2020-02-12 10:12:53 +05:30
Padma Raghunathan
fe7f2fbf6a qca-wifi: CFR: Cleanup unused code/datastructures
1. Remove the handler that flushes all pending DBR and txrx
events, since that is not being used.
2. PPDU TLV subscribe logic is integrated with ol stats layer,
remove redundant subscriber alloc.
3. Downgrade debug level of timer prints, as error handling timer
fires every 3 secs.

Change-Id: I2a5d2ae10ebee069dd30c1ed87d6560b30f77427
2020-02-12 10:08:14 +05:30
Padma Raghunathan
cc9e0e7376 qca-wifi: CFR: LUT ageout timer fixes
In CFR error handling lut ageout timer, following fixes are made -
1. Fire error handling timer every 3 secs
2. Start/Stop timer only when pdev->cfr_rcc_mode transitions from enable
to disable and vice versa
3. Stop/Free timer during deinit of pdev, incase user issues wifi down
without disabling cfr

Change-Id: I2f9819706d1440d675edfdd933839dbc3ebddbb0
2020-02-12 09:20:00 +05:30
Padma Raghunathan
17b9bae759 qca-wifi: Fix sanity check of total_bytes in CFR header
CFR max payload length = 16064(16016 + 48 bytes for 64-bit alignment)

Change-Id: I56f783f8d92079577503b5848303ed0d990924e5
2020-02-12 09:19:38 +05:30
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
Linux Build Service Account
ffce2cf705 Merge "qca-wifi: support for rx ack recreation frame for tx failed frames" 2020-02-10 18:39:17 -08:00
Linux Build Service Account
684fb31964 Merge "qcacmn: Add APIs to get peer delete req and resp stats" 2020-02-10 08:39:16 -08:00
Linux Build Service Account
ed99fa0a31 Merge "qca-wifi: Add WMI support for native 160MHZ" 2020-02-10 03:07:29 -08:00
Padma Raghunathan
16002d5ecd qca-wifi: CFR: Change format-specifiers while printing CFR metadata
Print magic_num, vendor_id and timestamp in hex.

Change-Id: I7b77dfe458bad423e77dcf82df6374e484bb457c
2020-02-08 05:30:37 -08:00
Linux Build Service Account
00599ddfe4 Merge "qca-wifi: CFR: Fix cookie lookup failure during RXTLV processing" 2020-02-08 00:36:24 -08:00
Linux Build Service Account
1af0162f69 Merge "qca-wifi: Set data buffers as 1792 if NO_RX_PKT_HDR_TLV is 1" 2020-02-07 22:37:11 -08:00
nobelj
2127b951ec qca-wifi: Fix tx capture RTS/CTS send before mgmt frame
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
2020-02-07 15:36:02 -08:00
Shashikala Prabhu
7e543d1f82 qca-wifi: Set data buffers as 1792 if NO_RX_PKT_HDR_TLV is 1
Set RX data buffers as 1792 only if NO_RX_PKT_HDR_TLV is set as 1

Change-Id: Ie317da58c8ac860373d9630872810bc149a87c8a
CRs-Fixed: 2615883
2020-02-07 13:09:45 +05:30
Linux Build Service Account
613c9b89e8 Merge "qca-wifi: CFR: Fix in flush pending DBR event logic" 2020-02-06 22:34:20 -08:00