Commit Graph

2139 Commits

Author SHA1 Message Date
Vignesh U
00c1fc9a58 qca-wifi: Move sm header from common header to adfs sm source
The sm engine header added in dfs common header is only used by
ADFS sm source file. Therefore move the head file to the source file.

Change-Id: I0bfa653781529b0b4f8e3e1a25cef9c354fbba15
CRs-Fixed: 2853427
2021-01-12 04:57:35 -08:00
Debasis Das
ed7b676d39 qca-wifi: Supress kernel version-specific debug message
The br_fdb_xxx() API's are not implemented for 5.4 kernel.
Remove the debug-message that reports the same.

Change-Id: I6f583af06bf45ca6aee1142627cbd4c480e4a6c6
2021-01-11 13:49:18 +05:30
Linux Build Service Account
aa6969e1bd Merge "qca-wifi: Componentize QWRAP code" 2021-01-10 06:40:29 -08:00
Linux Build Service Account
0d24e0646a Merge "qca-wifi: Place dfs_configure_deschan_for_precac under macro" 2021-01-08 09:07:27 -08:00
Rathees kumar Chinannan
8d8c8e710a qca-wifi: Componentize QWRAP code
Remove dependency of qwrap on VAP layer and radio(ic) layer data
structures and move QWRAP DP code from OSIF to Component DEV.

Change-Id: I0fc975ef4cbac52e1e7fd8a87db3de8f97056ac0

CRs-Fixed: 2832334
2021-01-08 17:57:46 +05:30
Linux Build Service Account
0cac753ff2 Merge "qca-wifi: add multi soc support for HTT logger feature" 2021-01-08 03:08:15 -08:00
Linux Build Service Account
8a96f1edcd Merge "qca-wifi: fix print format compilation errors" 2021-01-08 03:08:14 -08:00
Linux Build Service Account
8b62e3bf48 Merge "qca-wifi: Add extended pointer in connection manager context" 2021-01-07 09:37:03 -08:00
Linux Build Service Account
a72aab00a5 Merge "qca-wifi: Add additional CFR parameters to metadata" 2021-01-07 09:37:00 -08:00
Himanshu Batra
11e5773573 qca-wifi: Add extended pointer in connection manager context
Add extended pointer in connection manager context

Change-Id: I3bb1a49f970da1e34c06d861f911666cc64537c6
2021-01-07 14:46:00 +05:30
Vijay Krishnan
e29795cd4b qca-wifi: Place dfs_configure_deschan_for_precac under macro
The API dfs_configure_deschan_for_precac when moved to dfs_precac_forest.h
is not placed under the macro WLAN_DFS_PRECAC_AUTO_CHAN_SUPPORT and the
macro CONFIG_CHAN_FREQ_API.

Place the API under the macro to resolve the issue in minent profile.

CRs-Fixed: 2848724
Change-Id: I94856084c4c55e61592467fa7195ae9bc7e5431f
2021-01-07 10:30:31 +05:30
Chaithanya Garrepalli
56a164e76b qca-wifi: fix print format compilation errors
Correct print format identifier to avoid compilation
errors with -no-format removed from compilation flags

Change-Id: I8806d1a2b31b30f4e0fcb492e462ac38c89c5b79
2021-01-07 10:28:07 +05:30
Linux Build Service Account
2835e20343 Merge "qca-wifi: Move WIN only wmi structures to qca-wifi-oss repo" 2021-01-06 08:08:16 -08:00
Shashikala Prabhu
949b25cb81 qca-wifi: Move WIN only wmi structures to qca-wifi-oss repo
Move WIN only WMI structures from cmndev repo to oss repo.

Change-Id: I275d992819f839d672e95c182b206d09f84df9b7
CRs-Fixed: 2847291
2021-01-04 20:01:56 -08:00
Vignesh U
0179c38036 qca-wifi: Use regulatory channel list to build precac list
The current method to build the precac list uses the ic channels, an
exhaustive list of all possible channel phymodes and channel widths to
calculate the maximum possible channel width of a given channel number.
Since this inefficient use the regulatory channel list to get the maximum
possible channel width and build the precac list.

Change-Id: I89544cf1b3d60b73038edd1df02243857782c514
CRs-Fixed: 2832062
2021-01-04 04:50:10 -08:00
Shwetha G K
5c7a22284b qca-wifi: Add additional CFR parameters to metadata
Populate CFO, agc_gain_db and rx start timestamp params
from tx_peer_event to CFR host meta data.

Change-Id: Id299ea4bc44e58f2b954c953504d0a1df3937b6f
2021-01-04 16:11:49 +05:30
Tallapragada Kalyan
4dc550f02c qca-wifi: add multi soc support for HTT logger feature
add multi soc support for HTT logger feature

Change-Id: Ic5fe4be754736c775ac77e9ec69c2ed3d333caec
2021-01-03 23:24:28 -08:00
Sumedh Baikady
2903a37c06 qca-wifi: Add user knob for FR65148 - user RNR advertisement
User rnr data advertisement can be controlled at frame
level. This change adds support to select the frame.

Change-Id: I626bd61f7cddfde97ac3aa9d330d23af7bbbeda9
2020-12-30 12:00:23 -08:00
Linux Build Service Account
74255a0561 Merge "qca-wifi: Add support for preferred streams in multivdev restart" 2020-12-30 07:37:45 -08:00
Linux Build Service Account
c0aae3741c Merge "qca-wifi: Mark WMI service as unavailable" 2020-12-30 07:37:42 -08:00
Surya Prakash Raajen
1242381f5b qca-wifi: Add support for preferred streams in multivdev restart
Add support to send preferred_tx_streams and preferred_rx_streams
in multivdev restart.

CRs-Fixed: 2833462
Change-Id: I8cbcd3e0463c3b98cfb515554da9f8bb567980f9
2020-12-29 21:51:13 -08:00
Linux Build Service Account
d7b7214fbc Merge "qca-wifi: Add AMSDU support in Tx capture" 2020-12-29 11:37:37 -08:00
Linux Build Service Account
fd84d3a391 Merge "qca-wifi: Add command to configure print ratelimiting" 2020-12-29 05:07:58 -08:00
Linux Build Service Account
a13249b80c Merge "qca-wifi: Add reg channel based checks for NOL and NOL HIST" 2020-12-28 12:35:31 -08:00
Manoj Ekbote
a9061165c0 qca-wifi: Add AMSDU support in Tx capture
Add AMSDU subframe header and set the AMSDU bit in
QOS control field.

Change-Id: Id91a032231bf35cd5f87eaed475699035528c12e
2020-12-28 10:19:40 -08:00
Linux Build Service Account
3468faf236 Merge "qca-wifi: Remove FL macros from logs" 2020-12-28 10:07:46 -08:00
Linux Build Service Account
8b7f1bb615 Merge "qca-wifi: Add a new API to check band capability" 2020-12-28 08:06:42 -08:00
Vivek
4916e3d2c4 qca-wifi: Add command to configure print ratelimiting
Add command to configure number of prints and time
for print ratelimiting

CRs-Fixed: 2786841
Change-Id: I5e7151052fcaa685ed480501aceff0f58028807b
2020-12-28 20:09:41 +05:30
Edayilliam Jayadev
80bcd45e4a qca-wifi: Mark WMI service as unavailable
Mark WMI service WMI_SERVICE_SPECTRAL_SCAN_DISABLED
as unavailable to non-tlv targets.

CRs-Fixed: 2840083
Change-Id: I29ec4160cf2c646002a3d82af9fe80d2c6eac8e4
2020-12-28 01:44:11 -08:00
Shikha Bakshi
7c42aed98a qca-wifi: Remove FL macros from logs
Remove FL macros from logs as it is already being taken care
of bu QDF_TRACE

Change-Id: Iaceae56e4b91eefe9da9cbb7e1df254b78f70446
2020-12-24 02:34:47 -08:00
Shikha Bakshi
7da621d050 qca-wifi: Modify logs for QDF_MODULE_ID_DP_RX_MON_DEST
Replace QDF_TRACE  in dp_full_mon.c file with the
macros defined for QDF_MODULE_ID_DP_RX_MON_DEST module

Change-Id: I3f657ae760a9fd8f0bd5509d54a58fc874297461
2020-12-24 01:28:29 -08:00
Linux Build Service Account
4a37c2ed0d Merge "qca-wifi: Add a cfg command for enabling SMPS GAP mode" 2020-12-23 19:38:42 -08:00
Vignesh Mohan
242974d9ff qca-wifi: Add reg channel based checks for NOL and NOL HIST
Add APIs to check:
1) If a channel is RADAR infected
2) nol_history bit is set

Change-Id: I2a3f98a876ceed41e715238b45ca37cbadc261b5
CRs-Fixed: 2841164
2020-12-23 06:23:20 -08:00
Hariharan Basuthkar
5bf6fe272f qca-wifi: Add a new API to check band capability
Add a new API wlan_reg_is_band_present to check band capability
by taking band as input and return true if a band channel is found, else
return false.

Change-Id: I4fb3b79d8327307ac15b8a656689c0186fdf063b
CRs-Fixed: 2828765
2020-12-23 19:05:24 +05:30
Vignesh Mohan
c491be826b qca-wifi: Use pdev instead of regulatory private object
Use pdev pointer instead of regulatory private object in
regulatory APIs that are defined in the common services.

Also check if the channel is in NOL/NOL History and do not
consider them disabled if true, while checking if the channel
supports a phymode-chwidth combination.

Change-Id: I55c40afc5a0c7469956c666ae9fd3ed283f456bc
2020-12-23 03:12:57 -08:00
Linux Build Service Account
c4ae2b3bcd Merge "qca-wifi: Add support to send LCI WMI command to FW" 2020-12-22 07:09:13 -08:00
Aakanksha Doda
3d4cf09cdb qca-wifi: Add a cfg command for enabling SMPS GAP mode
Add a cfg option to configure SMPS Green AP mode

Change-Id: I518a884d900ca54e49645f90ced2aef311e51f4c
2020-12-22 16:27:57 +05:30
Linux Build Service Account
77050e5e63 Merge "qca-wifi: Add support to send FTM responder command to target" 2020-12-21 23:39:52 -08:00
Shashikala Prabhu
975f602e86 qca-wifi: Add support to send LCI WMI command to FW
Add support to send LCI WMI command to FW for 'wlanconfig athx rtt lci
<values>' command.

Change-Id: Idff672adef0ff9abd8ea033de470118c0168a2b6
CRs-Fixed: 2832182
2020-12-21 19:48:49 -08:00
Linux Build Service Account
b6f0feb077 Merge "qca-wifi: Add regulatory APIs for REGULATORY_CHAN_BLOCKED" 2020-12-21 10:39:11 -08:00
Linux Build Service Account
5e193c76cd Merge "qca-wifi: Add support to send LCR WMI command to FW" 2020-12-21 08:36:06 -08:00
Linux Build Service Account
600a31730e Merge "qca-wifi: RTS setting per vap in cfg80211 mode" 2020-12-21 03:39:50 -08:00
Hariharan Basuthkar
67b1ed5682 qca-wifi: Add regulatory APIs for REGULATORY_CHAN_BLOCKED
Add regulatory APIs to check, set and clear the flag
REGULATORY_CHAN_BLOCKED.

Change-Id: If049526fd788747575b24b3aa5aaa84c7b1d6fb9
CRs-Fixed: 2837859
2020-12-20 23:21:08 -08:00
Shashikala Prabhu
28182b4a66 qca-wifi: Add support to send LCR WMI command to FW
Add support to send LCR command to FW for 'wlanconfig athx rtt lcr <Country
code string> <civic info>' command.

Change-Id: Ib23d36006f0349c50b22852d6269e5cb203af01a
CRs-Fixed: 2832179
2020-12-21 10:03:34 +05:30
Shashikala Prabhu
a1d3dd80ae qca-wifi: Add LCI and LCR config structures
Add new WMI file to define WIN only WMI  structures.
Add WIN only WMI LCI, LCR config structures to this file.

Change-Id: I543e11167606538308f98ff243d69b97cca0cd01
CRs-Fixed: 2840450
2020-12-20 05:04:57 -08:00
Shashikala Prabhu
cb8654361b qca-wifi: Add support to send FTM responder command to target
Add support to send FTM responder command to target for  legacy devices.

Change-Id: I215f194c4540c90405f7079bc247167093cfe813
CRs-Fixed: 2781105
2020-12-19 01:19:24 -08:00
Linux Build Service Account
25c5596047 Merge "qca-wifi: Get RXSOP sens_level using cfg80211tool" 2020-12-18 11:39:52 -08:00
Linux Build Service Account
6108563672 Merge "qca-wifi: Modify logs for module ID QDF_MODULE_ID_DP_TX_CAPTURE" 2020-12-18 11:39:50 -08:00
Linux Build Service Account
340b0bd7d3 Merge "qca-wifi: Copy RTT host-FW common structures to host" 2020-12-17 21:37:54 -08:00
Linux Build Service Account
fb1f29ceb3 Merge "qca-wifi: Move WIN specific DFS features to WIN code" 2020-12-17 19:15:23 -08:00