Commit Graph

39 Commits

Author SHA1 Message Date
Srinivas Girigowda
8c3c4172fb qcacmn: Add TWT include path in Kbuild
Add TWT include path in Kbuild.

Change-Id: Idbb31b1f91852c1ecc48d988916e813e2458d27b
CRs-Fixed: 3127301
2022-02-11 00:25:48 -08:00
Himanshu Batra
bd23cf7dcc qcacmn: QDF changes to support IPA offload
QDF changes to support IPA offload.

Change-Id: Ib3a0f667bb9c11fb65f6a41ad777ff7273288569
2021-11-24 05:31:07 -08:00
Kani M
2c41328915 qcacmn: Enable code under WLAN_CONV_CRYPTO_SUPPORTED
This incorporates and enables the code under the flag
WLAN_CONV_CRYPTO_SUPPORTED.

Change-Id: I5be4606fac8dbf172b017cc91ba6e19af03e282b
2021-09-24 18:27:48 -07:00
Vivek
f4b29f3ad5 qcacmn: Use file for include path instead of environment variable
The include path passed to the CFLAGS may get very long in few cases
and passing them to the compiler results in the error
"arguments too long" from the shell.

We can pass the same argument by writing the include paths
to a file and avoid these errors when there are many include
paths added.

Change-Id: I2788d6e97a854ae6272d665943d56d581dc002bf
CRs-Fixed: 2999763
2021-07-27 07:07:11 -07:00
Abhijit Pradhan
6005384aef qcacmn: Include afc header for spectral module
Include afc common service header file to fix compilation error for
spectral module files.

Change-Id: I14d6bdb6437cb3eea3b85a72dcb3a9760186cc4b
CRs-Fixed: 2988464
2021-07-17 01:46:28 -07:00
Himanshu Batra
9fc0377cb3 qcacmn: Add source path for MLO Manager in Kbuild
Add source path for MLO Manager in Kbuild

Change-Id: I24f1ea47a83976004a264bba889e34d1c9649e6d
2021-06-09 03:15:19 -07:00
Jeevan Kukkalli
943f91c499 qcacmn: Prerequisite to include ALD headers to SON public header
Prerequisite change to include ALD headers into SON public header
as ALD is now part of SON.

Change-Id: Ic98e9ae7b5d2f0e6a2be7915b026ae169247b76f
CRs-Fixed: 2868824
2021-02-04 11:00:16 -08:00
Jeevan Kukkalli
ab63a2735b qcacmn: Include ALD headers
Include ALD core headers

Change-Id: I1b1e074a1615597b1bf166f28be768e5d82510b5
CRs-Fixed: 2844914
2020-12-29 03:16:13 -08:00
Jeevan Kukkalli
c1a8e19cb8 qcacmn: Include SON core headers
ALD files are now part of SON project hence make file changes
to include dependent header from SON project.

Change-Id: I72884f35a0d9ac9059ccad274eff492e09e7acaf
CRs-Fixed: 2816301
2020-12-10 01:46:01 -08:00
Himanshu Batra
569cc296ed qcacmn: Add basic infra for connection manager UTF
Add basic infra for connection manager UTF

Change-Id: Id111a4bcda970e927b73441be55de4d33a694796
2020-11-25 00:52:13 -08:00
Kiran Venkatappa
85df5350c6 qcacmn: Add thermal throttling header path
Thermal throttling(TT) defines are added in new TT specific header files
Add this path in include path of dependent build files.

Change-Id: I4590d9a782071dd5975246274cf7e7489544efc9
CRs-Fixed: 2800393
2020-10-23 10:03:29 -07:00
suresh
a8d0770765 qcacmn: Remove direct attach reference in makefile
Remove direct attach directory references in Kbuild
of spectral source code.

Also, remove DA_SUPPORT macro specific code changes

Change-Id: I5a06e9bd3f40ee6d177951562836c4ea7647f98b
2020-09-03 01:58:36 -07:00
Santosh Anbu
3e9a617176 qcacmn: Add build infra for CM convergence FR
Add basic build infra for connection manager's candidate selection
logic to include BSS scoring.

Change-Id: I5fad6b0ade4793061c9c0fe64cfdbd9aa6620336
CRs-Fixed: 2707106
2020-06-26 11:08:59 -07:00
Padma Raghunathan
cf4f404f0f qcacmn: Add new file to hold CFR specific configuration
Add new file to exchange CFR config with userspace

Change-Id: Ia66dfdcd1f121699f04b579c9867a9f78286a4f8
CRs-Fixed: 2639069
2020-03-24 23:58:08 -07:00
Kai Chen
52ef33fca3 qcacmn: Support enhanced Rx capture
Support Rx capture mode to deliver first 128 bytes of
each MSDU, along with some meta data.

Change-Id: I1ffa8b1a029d46f68aa78520bacc019de8af7a82
2019-04-19 04:08:56 -07:00
Debasis Das
daec45f472 qcacmn: Enhancement of OS abstraction framework
The OS abstraction API's have been inlined.Necessary
changes in the build scripts are needed for using
the new framework.

Change-Id: I2b78a994be6edfea2253037f8de99ba6b6a3c80d
2019-03-17 08:46:02 -07:00
narayan
b7293e46c3 qcacmn: Spectral Kbuild changes for CFR
Including CFR libs in spectral's ko.

Change-Id: I86cbf3137df0222e06786e2239359aac425e935a
CRs-Fixed: 2397716
2019-02-22 22:52:23 -08:00
Abhiram Jogadenu
d81f5b148d qcacmn: hal and spectral kbuild changes for CFR
Adding hal support and including CFR libs in spectral's ko.
CRs-Fixed: 2372061

Change-Id: I7545c594fd2a004f9d34835414549bd51ff09e4f
2019-02-20 06:21:12 -08:00
Balamurugan Mahalingam
2a400f75d8 qcacmn: Fix compilation issue while enabling kernel IOMMU config
pld header files come from a different path for WIN case. Include
the WIN pld header files path to INCS.

Change-Id: If84398944b0102024a6230ba8873f25178396c87
2019-01-31 07:51:41 -08:00
Srinivas Pitla
39a9222d27 qcacmn: VDEV MLME SM changes
1) Fixes to enable VDEV MLME SM with legacy code
2) Define/Enable PDEV MLME component object.

Change-Id: Ieb87e5b7b70d6bb593ba0950297894a81c6a4feb
CRs-Fixed: 2384173
2019-01-26 19:58:58 -08:00
Shashikala Prabhu
6872218ab7 qcacmn: Add makefile changes for directory changes of WMI files
Add makefile changes for directory changes of WIN only WMI files.

Change-Id: Ic66f68cf04ea84f7007a390bf83ebebfde1b338b
CRs-Fixed: 2360078
2019-01-21 01:46:34 -08:00
Shashikala Prabhu
7eb2d08e3b qcacmn: Add INI support to disable spectral feature
Add INI support to disable spectral feature and do not process the spectral
user commands if spectral feature is  disabled.

Change-Id: Id353131675454652d59fd5d5f8fd3d732a07b777
Acked-by: Shashikala Prabhu <pshashik@codeaurora.org>
CRs-Fixed: 2343947
2018-12-27 13:28:00 -08:00
Disha Das
df10f65cb7 qcacmn: Move out Crypto files
Move only-win-specific crypto files from cmn_dev to
component dev

Change-Id: I55c2c44100d3a9c0799ccbafd2ce31aa242d3e71
2018-12-25 22:18:43 -08:00
Edayilliam Jayadev
db29e57ef8 qcacmn: remove CONFIG_WIN from Spectral module
Remove CONFIG_WIN macro from Spectral module.

CRs-Fixed: 2369720
Change-Id: I67154341497230c66b3c3f5a09894c8b2eff8bff
2018-12-21 10:05:32 -08:00
Hariharan Basuthkar
3b381fb22d qcacmn: Fix pktlog issue
ath_pktlog.ko was not being built as part of disabling
Direct Attach(DA) support.

Moved pktlog files and enabled building of ath_pktlog.ko
since pktlog files are common to both DA and offload.

Change-Id: Ibcb559832029ade94f7215ce633cb6dbc83f747e
2018-12-07 13:04:30 -08:00
Visudha Sathurappan
1d0ab1991c qcacmn: Move hal files to DA directory
Spectral Kbuild changes are made since hal
files are moved to a direct attach directory.

Change-Id: Icb2b45dd7a285ccd88fba3b06dc98efd5b89a0c1
2018-11-10 22:50:04 -08:00
Visudha Sathurappan
669c33eea5 qcacmn: Move lmac files to DA directory
* Since LMAC files are moved to direct attach directory
  specral Kbuild changes are made.
* Spectral DA objects are conditionally compiled.

Change-Id: I8724af4b9511539566485e91e05de88c8eb0435c
2018-11-10 22:50:01 -08:00
Visudha Sathurappan
e159d1434f qcacmn: Move WIN DA files in UMAC to DA directory
* DA only WIN files are moved to a DA specific directory
   and are conditionally compiled.
 * DA:- Direct Attach.

Change-Id: Idf704d2e4c9cebf3b02d6cc41d7f9908200af70c
2018-10-26 10:39:31 -07:00
Visudha Sathurappan
7a1c814bc7 qcacmn: Move out spectral DA files
* Move spectral DA files to a DA specific directory.
   The new DA specific directory will be under a new git root.
 * DA:- Direct Attach

Change-Id: Ifd1325bd822015a894ff2a67ed4b53dae24e4a28
2018-10-11 08:56:46 -07:00
Kiran Venkatappa
e7609f7cec qcacmn: Add wbuff include path for spectral compilation
wbuff is a module which maintains a pre-allocated pool of
skbs for each registered module and allocates skbs when
requested. Add wbuff/inc in include path for qca_spectral
compilation.

Change-Id: I6bc9eaca99f7789eaa5cb0500d0258495caf7ea4
CRs-Fixed: 2313935
2018-09-24 05:07:32 -07:00
Srinivas Pitla
be8dac4d5d qcacmn: Define VDEV MLME component object
This change defines VDEV MLME object, and registers with object manager to
be notified on creation/destroy, and also initializes MLME SM

Change-Id: I75bb7de7326e4bbed21ef9653427c4e0694c3ffc
CRs-Fixed: 2307722
2018-09-14 08:16:48 -07:00
Debasis Das
c2af7e7648 qcacmn: Wrappers for OS API's used for device cfg
Use appropriate wrappers for OS API's used for
device configuration.

Change-Id: I6a8042175d1a5939742be077fa45e8b776eee180
CRs-Fixed: 2222560
2018-08-17 10:29:26 -07:00
Pratik Gandhi
7846150f2b qcacmn: Fix compilation issues for FW header abstraction
fwhdr_abstrct: Fix compilation issues for WIN firmware header abstraction.

Change-Id: Id76a6f29fd41ae559cf377029428224d59bd03fb
CRs-Fixed: 2140921
2018-03-09 07:28:50 -08:00
Edayilliam Jayadev
f01a81b79f qcacmn: spectral changes for gen3 HW
Process spectral summary and search fft report for
gen3 spectral HW. Add the frame work to register to
Direct dma module.

CRs-Fixed: 2184019
Change-Id: I4e2869d9c2887767d58685533265cc93c908b697
2018-02-09 09:21:04 -08:00
Sandeep Puligilla
cd793f38a3 qcacmn: Configure spectral module for Gen2
-Initialize the default Configuration as
gen2 for spectral module on MCL.
-Add support to general netlink socket.

Change-Id: Iab06f66d18c4791f0ff5483781634df2a7268ddb
CRs-Fixed: 2183870
2018-02-09 09:21:02 -08:00
Shiva Krishna Pittala
101778698b qcacmn: Move Spectral Netlink APIs to os_if layer
Spectral Netlink related APIs are currently present in
target_if layer, move them to os_if layer.

Change-Id: I86a5495f6ec8aa85a2e9639902503a522b023f8e
CRs-Fixed: 2151548
2018-02-09 09:21:00 -08:00
Soumya Bhat
108f090a00 qcacmn: Greenap componentization follow up patch
Greenap APIs and calls

Change-Id: I1242db788155f68dd91b72b94a48f78869eb835f
CRs-Fixed: 2142183
2018-01-15 04:26:43 -08:00
Edayilliam Jayadev
d8c6a467dd qcacmn: Add QCA vendor commands for spectral scan
Add following vendor commands and their handlers.

 1) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_START
        Set the spectral parameters and start scan.
 2) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_STATUS
        Stop spectral scan.
 3) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CONFIG
        Get current values of spectral parameters.
 4) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_DIAG_STATS
        Get stats for spectral scan debug.
 5) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CAP_INFO
        Get the spectral hardware capability.
 6) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_STATUS
        Get the current status of spectral scan.

CRs-Fixed: 2146272
Change-Id: I8e048d6c21e9fb1ed286c19df0edcad46f6e6414
2017-11-30 05:27:57 -08:00
Shiva Krishna Pittala
de0cb20d07 qcacmn: Moving spectral module to cmn_dev
As part of second phase of Spectral Analysis(SA)
convergence [WIN & MCL], spectral module code is being moved to cmn_dev.
Also includes fixes for checkpatch.

CRs-Fixed: 2146231
Change-Id: I939509193786b0bd2cbd5f1af64d4a94739a2af5
2017-11-30 05:27:54 -08:00