Commit Graph

1444 Commits

Author SHA1 Message Date
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
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
Ankit Kumar
8eb01eccb1 qca-wifi: Wmi interface to send hw vlan accel info to fw
wmi interface to sned hw vlan acceleration command to fw.

Change-Id: I6702da276fa89471d327a64810cf7fc85ab66d44
CRs-Fixed: 2596307
2020-01-06 09:41:38 +05:30
Vignesh Mohan
29948edda0 qca-wifi-oss: Reinit DFS after HW mode switch (phase 2)
Supported dynamic HW mode switches:
DBS (full band 5G and 2G) <-> DBS_SBS (low band 5G, high band 5G and 2G)

Description of the changes:

1. NOL conversion:
  a. Introduce a temporary NOL list copy structure in DFS psoc obj.
  b. When mode switch is triggered:
    i.   Stop the NOL timers and clear the data, to avoid processing NOL
	 expiry during mode switch.
    ii.  Allocate the psoc NOL copy for the target num_radios.
    iii. Store the NOL data of each radio to the target pdev ID
	 (pdev ID after mode switch) in the psoc NOL copy,
	 using a unified mux/demux API.
  c. After mode switch is completed:
    i.   Resume NOL by re-initializing the list from the temporary psoc
         copy.
    ii.  Free the psoc copy after mode switch is complete.
    iii. Note: changes are made to support pause and resume of NOL,
	 increasing NOL timeout by a few milliseconds.

2. PreCAC list conversion:
  a. When mode switch is triggered:
    i. Stop the existing preCAC timer and send ADFS abort command to FW.
  b. When mode switch is completed:
    i.  Unify/separate the preCAC list if the target mode is DBS/DBS_SBS
	respectively, using a single API.
    ii. Start ADFS again.

3. Radar detection lock:
  a. While detecting radar, acquire a lock to avoid handling user triggered
     mode_switch during this process. Release the lock once radar
     processing is completed and CSA start is triggered.

4. Radar detection/CAC completion defer during mode switch:
  a. While detecting radar or CAC completion, check if mode switch is
     in progress. If yes, wait for mode switch to complete before
     handling the events.
  b. Note: Precedence is Radar over CAC, i.e., if CAC processing is waiting
     and radar is received, CAC completion is no longer handled.

CRs-Fixed: 2535058
Change-Id: I55e03dae9da994c21b1aafe7b7686f5299221a40
2020-01-02 22:01:42 -08:00
Linux Build Service Account
6012551d92 Merge "qca-wifi: Enhanced channel capture UCFG framework" 2019-12-27 20:11:08 -08:00
Linux Build Service Account
fa53ee5b15 Merge "qca-wifi: cmn_ops changes for umac-dp decoupling" 2019-12-27 20:11:08 -08:00
Adwait Nayak
1a4ad8923f qca-wifi: Enhanced channel capture UCFG framework
Framework to accumulate RCC configurations until user issues commit
command. Once commit command is issued, all the gathered configurations
are sent to FW through WMI fixed and variable TLVs.

Change-Id: I84fec42d22a3b4eceb710b72d89a7c3047fed1f6
CRs-Fixed: 2582833
2019-12-26 20:14:00 -08:00
Padma Raghunathan
5df9a9481d qca-wifi: CFR: Implementation of CFR for QCA6018 platforms
Channel Frequency Response(CFR) captures FFT bins corresponding to a PPDU
received and this is relayed to user space application along with
additional information about the PPDU gathered in the host. Usecases of
this feature include location sensing, motion detection.

Change-Id: If0da492bc1fcc0fc2b6e42339c56f9a54ee813f7
CRs-Fixed: 2541307
2019-12-26 20:13:08 -08:00
Pavankumar Nandeshwar
0759dd94d5 qca-wifi: cmn_ops changes for umac-dp decoupling
Equivalent changes in component dev data path APIs
implementation for changes in cmn_ops interface APIs.

Change-Id: I1d9c43607bfa699dded771fe9aea87f4ec5a70b9
2019-12-24 23:51:09 -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
Linux Build Service Account
4a20b29c53 Merge "qca-wifi: support dummy frame for rts success, mprot_type" 2019-12-23 02:28:06 -08:00
Linux Build Service Account
11feee0eba Merge "qca-wifi: support 64 bits timestamp in wmi mgmt completion" 2019-12-23 02:28:05 -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
Linux Build Service Account
6417b20c37 Merge "qca-wifi: tx capture update bar frames" 2019-12-18 21:06:53 -08:00
nobelj
b7c2ce2b5b qca-wifi: support 64 bits timestamp in wmi mgmt completion
added support for 64 bits timestamp that come for each
tx wmi mgmt completion

Change-Id: Ida5ae0b82a97bde62999f1fb033480ba6c1560a0
2019-12-17 08:41:45 -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
Pavankumar Nandeshwar
5a9ef8ffef qca-wifi: Add a new parameter for rx decrypt errors
Add a new parameter 'cs_rx_decryptcrc' for rx decrypt
errors in rx protected management frames.

Change-Id: I0aaeea7971d2ad8a0ffff91e291c09d27d0c9908
2019-12-16 20:01:16 -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
Linux Build Service Account
972dc9cc63 Merge "qca-wifi: WMI change for 20TU prb resp" 2019-12-13 15:37:20 -08:00
Linux Build Service Account
84c1bc6380 Merge "qca-wifi: Remove duplicate invoke of restart clear API" 2019-12-12 20:30:28 -08:00
Linux Build Service Account
75d4d008f3 Merge "qca-wifi: ATM Groups and Rules WMI support on Hawkeye" 2019-12-12 12:10:44 -08:00
Linux Build Service Account
a23f5a7c77 Merge "qca-wifi: Decoupling changes for stats, wds, raw and pflow ops" 2019-12-11 03:52:32 -08:00
Sumedh Baikady
49be9dbd3c qca-wifi: WMI change for 20TU prb resp
Add new flag to indicate 20tu bcast prb
response in FILS WMI.

Change-Id: I6481b2f915eada79c4a5a8155d3fd5d27ac8d55a
2019-12-09 18:58:05 -08:00
Subrat Mishra
9724d777dd qca-wifi: ATM Groups and Rules WMI support on Hawkeye
Airtime Management (ATM) Groups and Rules WMI support on Hawkeye.

This change will add WMI TLV support for Hawkeye.

CRs-Fixed: 2573295
Change-Id: I2f4cc132fd3568c4db5f3b70dcb05c1808dfd4a2
2019-12-07 08:59:30 -08:00
Srinivas Pitla
aa231bd28c qca-wifi: Remove duplicate invoke of restart clear API
On sending STOP req, RESTART pending, RESTART send flags are being cleared.
This is already being done before moving out of RESTART_PROGRESS sub state,
so avoiding it.

Change-Id: If8b358eb83571e11d6e0d3bcbedcf833894bf0d6
CRs-Fixed: 2578106
2019-12-06 10:07:04 -08:00
Shashikala Prabhu
0728ea78dc qca-wifi: Set WMI restricted 80+80 MHz as unavailable for pre-lithium chipsets
Restricted 80+80 MHz feature is not supported for pre-lithium chipsets.
Therefore set restricted 80+80 as unavailable.

Change-Id: I80603ea814d24a29588ec5d62a8ac2d0ac3b86ba
CRs-Fixed: 2580513
2019-12-05 22:36:39 -08:00
Pavankumar Nandeshwar
f2110a8cdf qca-wifi: Decoupling changes for stats, wds, raw and pflow ops
Corresponding changes in datapath for changes in interface
APIs for stats, wds, raw, pflow ops.

Change-Id: I04b595bbe52d8871573b4f6c811d5555659f7d47
2019-12-05 22:34:21 -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
Linux Build Service Account
d462c8ff28 Merge "qca-wifi: changes for removal of ctrl_path handles from dp" 2019-12-05 03:41:55 -08:00
Linux Build Service Account
4f465b8c22 Merge "qca-wifi: Add stats on OFDMA and MU-MIMO packet" 2019-12-03 11:06:40 -08:00
Pavankumar Nandeshwar
dc1c0b5fbb qca-wifi: changes for removal of ctrl_path handles from dp
Change-Id: Ifffd07460103f33618dd4e54ef6a32e1d9212127
2019-11-29 08:41:49 -08:00
Linux Build Service Account
103077dadd Merge "qca-wifi: Unref peer before returning." 2019-11-29 02:39:36 -08:00
Linux Build Service Account
d199ff8874 Merge "qca-wifi: Increase MEC ASE aging timeout to 5 sec" 2019-11-28 07:37:29 -08:00
Linux Build Service Account
4838a427c0 Merge "qca-wifi: Include SW retries in Tx capture" 2019-11-27 11:36:37 -08:00
Linux Build Service Account
b9c68f9bd2 Merge "qca-wifi: Extract per chain NF dBm value from WMI event" 2019-11-27 08:42:42 -08:00
Mainak Sen
4adb711f90 qca-wifi: Increase MEC ASE aging timeout to 5 sec
Increase Multicast echo check aging timer to 5 sec from
1 sec to avoid MEC check fail and bridge fdb contamination

CR fixed:2566432

Change-Id: Ie80d11a9e8b48fb4fe7456355773613b0eb4ba4f
2019-11-27 18:32:30 +05:30
Kai Chen
e60794edf5 qca-wifi: Add stats on OFDMA and MU-MIMO packet
Change variable name from ofdma to mu_ul since
both OFDMA and MU-MIMO is suppoted in same way.

Change-Id: Ie72088e162fcb54914f76b3ad002a672305299ae
2019-11-26 10:43:33 -08:00
Varsha Mishra
7828c20e5d qca-wifi: Unref peer before returning.
Missing peer unref has been added as part of this change.

Change-Id: Ieb29b9d5c28824685d99a2d0d7fdfd6cbb51637a
2019-11-24 22:34:43 -08:00
Linux Build Service Account
b1f4eb82dc Merge "qca-wifi: Converge qdf_export symbols" 2019-11-23 23:10:04 -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
Chaithanya Garrepalli
f2f9ecd147 qcacmn: changes to detect roaming in STA mode
Changes to initiate STA kickout on RE if station
roams to AP

Change-Id: I0aa00289204cf05b6ae73d9bb90756f911bdd18e
2019-11-21 18:17:47 +05:30
Uraj Sasan
5aabb3d2b8 qca-wifi: Converge qdf_export symbols
Converges EXPORT_SYMBOL() to qdf_export_symbol(),
this ensures easy enabling and disabling of exports

Change-Id: I5724a618c9dff7a30b9d314906fbabca943bded8
2019-11-12 11:16:03 +05:30
Shashikala Prabhu
6677a575f3 qca-wifi: Extract per chain NF dBm value from WMI event
Extract per chain NF dBm value from WMI_CHAN_INFO_EVENTID event.

Change-Id: I36ecadbb53309ea13a4878147663dbd337d090f5
CRs-Fixed: 2561975
2019-11-11 03:10:41 -08:00
Linux Build Service Account
a5d06d69dc Merge "qca-wifi: Add extra time for agile precac timeout" 2019-11-04 15:11:00 -08:00