Commit Graph

1495 Commits

Author SHA1 Message Date
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
7a46d4d3d3 Merge "qca-wifi: Optimize vdev host-fw handshake operation" 2020-01-31 20:38:52 -08:00
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
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
Nandha Kishore Easwaran
2b70a2a324 qca-wifi: Replace 8074_VP with WIFI_EMULATION_3_0
Replace QCA_WIFI_QCA8074_VP with CONFIG_WIFI_EMULATION_WIFI_3_0
since VP platform is not being used anymore.
Most of the parameters present inside QCA_WIFI_QCA8074_VP are related
to emulation timeouts. Hence replacing it with a more meaningful flag.

Change-Id: I066cd86fe6ee15a1c3e8d7d656d3cf7d4a4b9d1b
2020-01-17 09:09:59 -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
Ankit Kumar
38e0f2b90b qca-wifi: Modified return type not to break existing feature handling
At present, there is not check while calling multipass processing
and hence no packet gets dropped.
Adding check will drop packet in case of returning return type as
false. Hence modified return type as true so that no packet gets
dropped and existing flow doesn't break.

Change-Id: I49089f155b1b78adb533ca23f3b0f3cad9543135
CRs-Fixed: 2599782
2020-01-16 12:06:06 +05:30
Himanshu Batra
005412e1c8 qca-wifi: Componentize Multicast Enhancement
Remove dependency of ME on VAP layer and radio(ic) layer data
structures

Change-Id: Ic1e93204e02083fb90e879a7c5f41c8ee7376c14
CRs-Fixed: 2580389
2020-01-16 09:42:19 +05:30
Linux Build Service Account
86679bd69e Merge "qca-wifi: Fix tx capture issue" 2020-01-14 14:31:50 -08:00
Debasis Das
99600986cf qca-wifi: Send phymode in multi-vdev-restart params
In multi-vdev-restart command, phymode is being added
to the params list.

Change-Id: I85897cb6667b97141ab2b92ab42cf1bd87b5a7b9
2020-01-13 22:22:26 -08:00
Linux Build Service Account
14745c711d Merge "qca-wifi: Check peer capture enable while enqueuing MSDUS" 2020-01-13 21:36:42 -08:00
Linux Build Service Account
eb1f5d0e2a Merge "qca-wifi: CFR: Update channel capture status counters" 2020-01-13 13:39:06 -08:00
Linux Build Service Account
fe39b24b66 Merge "qca-wifi: CFR: Remove dp_handle references in CFR" 2020-01-13 13:39:06 -08:00
Linux Build Service Account
84b905d059 Merge "qca-wifi: Display CFR debug counters in default loglevel of CFR module" 2020-01-13 13:39:05 -08:00
Linux Build Service Account
6e44717a85 Merge "qca-wifi: CFR: Fixes in error handling path" 2020-01-13 13:39:05 -08:00
Linux Build Service Account
f26251a485 Merge "qca-wifi-oss: Reinit DFS after HW mode switch (phase 2)" 2020-01-12 19:35:58 -08:00
Santosh Anbu
d32205615d qca-wifi: Support multivdev restart response handling for TLV
Add WMI change to support extraction of consolidated multi vdev
response handling from TLV.

Change-Id: I5b9697b130ec38ac64de5a63ad8e491b9b786604
CRs-Fixed: 2601729
2020-01-12 17:54:02 +05:30
Santosh Anbu
30bd6249ae qca-wifi: Support multivdev restart response for non-TLV
Add change to support consolidated multi vdev restart response
handling for non-TLV based platforms.

Change-Id: I58445fb66465b987906d23c079813b010976b380
CRs-Fixed: 2593073
2020-01-12 16:33:29 +05:30
Adwait Nayak
a58487f97b qca-wifi: CFR: Fixes in error handling path
1. In CFR RCC mode, when ucode aborts DMA of CFR data, 2 (or)
more PPDU status TLVs are likely to have same phy_addr+cookie in
RX location TLV, so the host will be flushing out the older PPDU
status TLV events instead of DBR events in LUT table,
since DBR events signify the actual DMA completion.

2. Same fix has been made for LUT entry ageout logic.

Change-Id: Ifc0717e97d21ba3463cc2f5ceb2f22a657177002
2020-01-10 12:54:25 +05:30
Padma Raghunathan
82cc8e46d8 qca-wifi: Display CFR debug counters in default loglevel of CFR module
Change log level of CFR debug counters from QDF_TRACE_LEVEL_INFO to
QDF_TRACE_LEVEL_ERROR

Change-Id: Ib0d36ec458de2d8d562d34a80ab8128f934ad459
2020-01-10 11:38:16 +05:30
Abhiram Jogadenu
fe2c3b839b qca-wifi: Correct the condition for dump_lut in CFR
Earlier, CFR's LUT was dumped when difference between dbr count
and release count is greater than 1. This might be agrressive.
Modified the condition to reflect the worst case where LUT has
no empty entry.

Change-Id: I010431b446ddb66364505f0c8d9a70dd181eb8b1
2020-01-09 10:44:27 +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