Commit Graph

1515 Commits

Author SHA1 Message Date
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
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
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
Adwait Nayak
3c90187c47 qca-wifi: CFR: Fix cookie lookup failure during RXTLV processing
37th bit is being set as an exchange between FW and ucode
to indicate that it is a DDR address to PCSS module.
As a result of which Cookie lookup fails while comparing
all 40 bits, since the physical address of DBR buffer 
does not match with the physical address of the received
buffer.

Since lower 36bits represents physical address,
Use only 4 least significant bits from higher 32bits along
with lower 32 bits while programming the physical address in
DBR SRNG. Format: ( low32 + 4 bits of high32 ).

Change-Id: I2cb09c00a9942966266ba81f56f0c6c173671e2f
2020-02-06 10:39:57 -08:00
Linux Build Service Account
ef02ed8d12 Merge "qca-wifi: Extract msdu end TLV information into structure" 2020-02-06 06:06:44 -08:00
Adwait Nayak
172ff30046 qca-wifi: CFR: Fix in flush pending DBR event logic
Do not flush the DBR event for which the corresponding
TX/RX event is yet to be received.
Once the new PPDU TLV is received, flush the previous
pending DBR events.

Change-Id: I4495a45db139128d2af01f79744021c6ad6bf322
2020-02-06 14:43:26 +05:30
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
992e62ae73 Merge "qca-wifi: Add the Rx Capture changes for filter framework" 2020-02-03 09:38:29 -08:00
Linux Build Service Account
0ba8248004 Merge "qca-wifi: Optimize host-fw handshake" 2020-02-02 07:07:40 -08:00
Linux Build Service Account
0b7566a27a Merge "qca-wifi: Enable vlan hw acceleration in Rx" 2020-02-01 20:08:50 -08:00
Aniruddha Paul
7841f78d54 qca-wifi: Add the Rx Capture changes for filter framework
Make the necessary changes in the Rx capture path to adapt
the monitor filter framework.

Change-Id: I35155ec57e93f85a9bdf3933f9a8370c4b786db2
2020-02-01 03:14:24 -08:00
Linux Build Service Account
7a46d4d3d3 Merge "qca-wifi: Optimize vdev host-fw handshake operation" 2020-01-31 20:38:52 -08:00
Debasis Das
e120b221df qca-wifi: Optimize host-fw handshake
Send bcn_tx_rate as vdev start paramter.
This will avoid sending individual wmi
command for the same during vdev up.

Change-Id: I890d89e7c607bc24d2726ded7e51d4dd19ca3359
2020-01-31 19:54:28 +05:30
Debasis Das
ce5aaf0ba0 qca-wifi: Optimize vdev host-fw handshake operation
Optimize below parameters for host-fw handshake:
1. beacon interval
2. dtim_period

Change-Id: If4ae8fc28707904df380aeb4cf3b51dcbf46a69f
2020-01-31 19:53:10 +05:30
Ankit Kumar
f0ceb5ba1e qca-wifi: Enable vlan hw acceleration in Rx
Enable vlan hardware acceleration support in Rx path
if multipass feature enabled.
It is expected for a packet to have vlan header in-placed
and vlan_id is padded with zero. If not, drop the frame with
proper error updation.
Update vlan_id if frame comes with special peer and has vlan
header in placed and vlan_id padded with 0.

Change-Id: Ife7a371dcca20634b0dc99f00cb02551dbff611f
CRs-Fixed: 2584007
2020-01-31 03:33:00 -08:00
Naga
3a2fd4fca1 qcacmn: Add APIs to get peer delete req and resp stats
Add APIs to get peer delete, peer delete all request and response stats.

Change-Id: I8a14e72c3ae71706c66af1c26498495fabdf2391
CRs-Fixed: 2610303
2020-01-30 22:26:31 -08:00
Shashikala Prabhu
6cca13cc9d qca-wifi: Add WMI support for native 160MHZ
Set native 160MHZ wmi support as unavailable for pre-lithium  chipsets.

Change-Id: I55650821896e2d59c0fc7d465ab30d6271d8359b
CRs-Fixed: 2612980
2020-01-30 06:30:56 -08:00
Linux Build Service Account
46b3231f9f Merge "qca-wifi: API support for peer MultiQueue support" 2020-01-30 00:37:11 -08:00
Linux Build Service Account
c51f0fdfcc Merge "qca-wifi: Support extended multi-vdev restart cmd" 2020-01-29 21:12:25 -08:00
Linux Build Service Account
5b6fc67c30 Merge "qca-wifi: Configure data buffer size in config file" 2020-01-29 21:12:24 -08:00
Linux Build Service Account
4125a53e69 Merge "qca-wifi: Replace 8074_VP with WIFI_EMULATION_3_0" 2020-01-29 06:25:07 -08:00
Shashikala Prabhu
26609ca370 qca-wifi: Configure data buffer size in config file
Configure data buffer size in ap_wlan_cfg config file.

Change-Id: I26471e0bfba19102a11aafa6e1a7f9e0311d1ab7
CRs-Fixed: 2605813
2020-01-28 23:05:34 -08:00
Mainak Sen
e1349928dd qca-wifi: API support for peer MultiQueue support
Lithium HW can parse each MSDU when packets are enqueued to transmit
classifier and each MSDU can get enqueued to different MSDU-Queue.
By default, there are 2 queues per TID – UDP and NON-UDP. Based on
the flow parsing, packets will be queued to either of them.
Enterprise customers uses RAW mode frames which transmit classifier
would not be able to identify L4 protocol for  UDP or NON-UDP queue
for encrypted frames.
Customer can also have different application based packets which needs
to be enqueued to differently prioritized queues. They can choose to
tag each MSDU based on application DPI and derive the flow priority
as below –
•	UDP
•	NON-UDP
•	HI-PRIO
•	LOW-PRIO
Customer needs API support from host which will provide an ast-index
based on a particular flow id given peer mac address. Based on the mac
address, host will find the associated peer and return the ast_index &
cache set number corresponding to the flow id from peer flow based ast
entry table. Customer will then program this ast-index and ast override
in transmit classifier CMD ring to enqueue MSDU to a specific
flow-queuein TQM.
Host API:
Input parameter – uint8_t *macaddress,uint8_t flowid,uint8_t tid
Output – uint16_t ast_index

Change-Id: I62b2308510ee7a43b153e125dc3bee6abbad0848
2020-01-29 11:37:20 +05:30
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
04a5547d02 Merge "qca-wifi: Address compilation issues" 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
Debasis Das
24f75a084c qca-wifi: Support extended multi-vdev restart cmd
Support variable param-list in multi-vdev-restart
by adding the restart_ext command.

Change-Id: I790aec12cc2fbc71577136b6c9867af1bf356128
2020-01-28 08:10:23 -08:00
Vignesh U
e06939f58d qca-wifi: Address compilation issues
Address the compilation issues when the DFS feature Auto channel
switch support is disabled(WLAN_DFS_PRECAC_AUTO_CHAN_SUPPORT=0).

Change-Id: I6eda4bf133552e145a49a60aea50a0ce29a11373
CRs-Fixed: 2608450
2020-01-27 14:03:31 +05:30
Linux Build Service Account
8a2a554e97 Merge "Revert "qca-wifi: Remove duplicate invoke of restart clear API"" 2020-01-26 22:38:48 -08:00
Priyadarshnee S
0beec74ee3 Revert "qca-wifi: Remove duplicate invoke of restart clear API"
This reverts commit 93fd212313864b5a2e693cefadc0b48763d522af.

CRs-Fixed: 2604433
Change-Id: I0ddf7971c1438650f28a0e0bf1d1f3ffb4aa9bc1
2020-01-25 21:30:00 +05:30
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
Linux Build Service Account
7cc24830df Merge "qca-wifi: Correct the condition for dump_lut in CFR" 2020-01-23 10:29:28 -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
Debasis Das
ecd593e474 Revert "qca-wifi: Support extended multi-vdev restart cmd"
This reverts commit 918c7107153cda4208e818789bb0dc2f04528a9d

Change-Id: I6dbb03732d70863041ed0f2c334399a21163f253
2020-01-22 06:55:58 -08:00
Linux Build Service Account
a6b99bd079 Merge "qca-wifi: Support extended multi-vdev restart cmd" 2020-01-21 01:37:41 -08:00
Linux Build Service Account
6276687465 Merge "qca-wifi: umac-dp decoupling changes in ctrl_ops for datapath" 2020-01-21 01:37:32 -08:00
Linux Build Service Account
adc677d01c Merge "qca-wifi: remove fw headers in init_deinit component" 2020-01-20 07:11:12 -08:00
Debasis Das
4830f1f867 qca-wifi: Support extended multi-vdev restart cmd
Support variable param-list in multi-vdev-restart
by adding a new command.

Change-Id: I99a90d419a49cbb0a0cfa2244fe07f958d071ac5
2020-01-20 14:45:38 +05:30
Linux Build Service Account
a8800bf0ac Merge "qca-wifi: Send phymode in multi-vdev-restart params" 2020-01-19 11:35:48 -08:00
Linux Build Service Account
b70ec9f585 Merge "qca-wifi: Modified return type not to break existing feature handling" 2020-01-19 07:38:21 -08:00
Linux Build Service Account
325630ccc7 Merge "qca-wifi: Support multivdev restart response handling for TLV" 2020-01-18 04:11:38 -08:00
Linux Build Service Account
4da189b8a1 Merge "qca-wifi: Support multivdev restart response for non-TLV" 2020-01-18 04:11:38 -08:00