Extends the wmi_service_ready_ext2_event_fixed_param
structure with a new field to support N-link MLO
connections.
The host will now calculate the maximum number of
links per MLD value by intersecting the firmware
capability and the ini value present in MLME component.
And this calculated value will be stored in the MLME
component.
Change-Id: I89bf3553781cd809cdb5496fbf0f68e59569033a
CRs-Fixed: 3512343
Multiple include directories only contains .c source files
without any .h header files. Hence remove those include
compiler options.
Add monitor include path under feature flag
CONFIG_WIFI_MONITOR_SUPPORT.
Change-Id: Iec59a592c60b27cb22bf712e883dd5895044874a
CRs-Fixed: 3543857
With CONFIG_ENABLE_HAL_REG_WR_HISTORY=y, feature flag
ENABLE_HAL_REG_WR_HISTORY should be defined instead of
CONFIG_ENABLE_HAL_REG_WR_HISTORY.
Change-Id: Iad04b2036ae4fd47b05ee2d87ab3c8b0697f7a5a
CRs-Fixed: 3536167
Convert link id bitmap to vdev bitmap and update policy mgr
connection table.
Record the current force link command state to mlo context.
Change-Id: I0b28222de10a9493a153ee00189b87e4275a4231
CRs-Fixed: 3515467
Add HDD osif AFC vendor command support and PLD send AFC response
data to target support. Call AFC common API to init/deinit AFC
component.
CRs-Fixed: 3375786
Change-Id: I84342b6ea3b2f14c75eba8745cb17070f404b8d1
Set new puncture cap, clear old puncture cap.
For SAP with fixed freq instead of ACS mode, need support puncture too,
need use API sap_phymode_is_eht(sap_ctx->phyMode).
Change-Id: I4bbbd742c3c49111d1725137739557bce18588f9
CRs-Fixed: 3518498
Kbuild changes to enable datapath support for multipass
feature on QCA6490 and kiwi targets.
Change-Id: Ia4d33557fec6dd1b5681e20d19590604cc2affe1
CRs-Fixed: 3513719
This change creates a new component for low latency SAP
and also does the init and de-init of this new component.
Change-Id: I4a8192feb6edb30b1898ef30675cbc01235a8e42
CRs-Fixed: 3482510
In case of SAP, update the cfg80211_new_sta with the support for the
ML STA client with below info:
1) MLO link ID of the AP
2) Station's MLD address
3) (Re)Association Response IEs sent to the station
Change-Id: I5647d5bcfac43255bc0ae1d9f3b7a1b563ef5250
CRs-Fixed: 3485476
Enable changes to affine away CPUs taken during pro
audio use case for kiwi_v2.
Change-Id: Ie27009ae0c89b5a08887863658ccc8cfae47c324
CRs-Fixed: 3490850
Currently in cds_regdomain.h the following file is included:
"../../qca-wifi-host-cmn/umac/regulatory/core/src/reg_db.h"
While transitioning to the Bazel DDK build system this results in a
build error because the build is done in a sandbox with the root at
the qcacld-3.0 folder, and hence there is no way to access
"../qca-wifi-host-cmn."
To address this issue add the following -I path to the Kbuild:
qcacld-3.0/cmn/umac/regulatory/core/src
And then cds_regdomain.h can just include "reg_db.h".
Change-Id: Ib33300f3593e39caeace1238f2b40c819539ff10
CRs-Fixed: 3497251
The crypto component is always enabled. As a result, the feature flag
CONFIG_CRYPTO_COMPONENT is pointless, so remove it.
Change-Id: I97c22f3bf1224ecd967212d762545890f71764bc
CRs-Fixed: 3496915
On some third-party platforms, we observe the memory physical
address below 0x2000 is allocated will cause HW/FW NOC error,
so this region memory should not be used by host.
This change will hold the memory if the allocated memory physical
address below 0x2000 until driver unload.
Change-Id: I11fb698d32e69852f1cb5c8eb99ead121b8db2f4
CRs-Fixed: 3419652
Add API to set/reset CPU frequency, which is used to
enable the tx queues faster during roam.
Change-Id: I8594dacc9b3e8bc3fcdce575102cecef573cbf06
CRs-Fixed: 3487568
There is a typo for the feature flag ENABLE_HAL_SOC_STATS. Thus,
correct it to -DENABLE_HAL_SOC_STATS.
Change-Id: Idc7e478480e799659c971e42962e9d527960a9da
CRs-Fixed: 3492601
In Kbuild the macro WLAN_PRE_CAC_INC is defined twice, with the second
definition overriding the first one. Since the second definition
incorporates the logic from the first definition, the first definition
is pointless, so remove it.
Change-Id: I7e679109b6c08d226236c42c20e18e50537036e9
CRs-Fixed: 3490072
Add support for random TA for auth and deauth frames by advertising
the feature flag "NL80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA" to
the kernel.
Change-Id: Id323b9bb1eacdd24fdb02790a7469ac140bb7d8b
CRs-Fixed: 3493510
Currently, there is no provision to identify that the driver supports
NAN pairing protocol. So, new kernel will start exchanging PASN frames
without realization that old driver is loaded and thus, frames will be
drops in driver.
So, to resolve the backward compatibility issue, kernel introduces new
feature flag "NL80211_EXT_FEATURE_SECURE_NAN".
Firmware send "max_pairing_session" parameter in NAN capabilities and
host driver extracts the parameter and set the feature flag to kernel
when max pairing session has non-zero value.
Change-Id: I3b83a771c99bf2e91a4ed1a14acafe584d6e17ec
CRs-Fixed: 3493345
Currently, in Kbuild, the following switch is duplicated in the
ccflags: -Icmn/umac/global_umac_dispatcher/lmac_if/inc
One instance is populated here:
UMAC_DISP_DIR := umac/global_umac_dispatcher/lmac_if
UMAC_DISP_INC_DIR := $(UMAC_DISP_DIR)/inc
[...]
UMAC_DISP_INC := -I$(WLAN_COMMON_INC)/$(UMAC_DISP_INC_DIR)
The other instance is populated here:
[...]
UMAC_OBJMGR_INC := [...]
-I$(WLAN_COMMON_INC)/umac/global_umac_dispatcher/lmac_if/inc
Remove the duplicate switch.
Change-Id: I46333836b427d047d8b5471c67b65698ca0b5417
CRs-Fixed: 3490071
The compiler switches defined by DFS_INC are being included in the
composite INCS twice. This results in the switches being unnecessarily
duplicated in the compiler command line. While this normally doesn't
affect compilation, it can result in a "command too long" error that
has been observed in some build environments, so remove the
duplication.
Change-Id: Ibe09e7c3d4ba1a9b5b50305c73b79ce1c9a7d57a
CRs-Fixed: 3487038
While reviewing build artifacts it was observed that the compiler
command line has a badly formed -I switch:
-I[path]/qcacld-3.0/cmn/-I[path]/cmn/target_if/gpio
Analysis of Kbuild shows that an already formed -I switch is being
incorrectly used as a directory, so remove that specific entry.
Change-Id: If59e8ee1d0f817bc8c56e74bc8e2fa9ef94a7eb3
CRs-Fixed: 3486972
As the IPA component has moved out of kernel,
WLAN currently does not have access to the IPA
header files that was previously part of kernel.
To resolve this, WLAN needs to include the path
to IPA header files, for successful compilation when
IPA_OFFLOAD is enabled. With this Kbuild change
now WLAN can support OUT-OF-TREE IPA module.
Change-Id: I56f66d3e7d7648ece5aeb68de1af7c0c5f59f84d
CRs-Fixed: 3482432
Currently ol rx thread code is under QCA_CONFIG_SMP macro, which is
enabled for all the targets. But LI, BE and RH family targets don't
use this ol rx thread implementation. Hence, compile out ol rx thread
code for LI, BE and RH targets.
Change-Id: I1a1dfd09f5364ddb519c846e6c456d10f81e369c
CRs-Fixed: 3468499
Currently when DWARFv5 is enabled, wlan driver compilation fails
with error, INT DW_ATE_unsigned_1024 Error emitting BTF type.
To unblock this compilation issue, temporarily switch
back to DWARFv4.
Change-Id: I2e37aff054e8a6161a80e97a227153eb2df68a74
CRs-Fixed: 3475979
Currently in defconfig files, the naming convention of
config flags BUILD_DIAG_VERSION and BUILD_DEBUG_VERSION
is not aligning with rest of them. So, rename the flags
to CONFIG_WLAN_DIAG_VERSION and CONFIG_WLAN_DEBUG_VERSION
Change-Id: Ia9357588cdbfc09199d7d44bd024beb0f92b9755
CRs-Fixed: 3472570
Cleanup TDLS concurrencies feature flag and move it to
end of Kbuild file where cc_flags are defined.
Change-Id: I26ffe1f339fc286be5d2f235c7b9fe7efa530e42
CRs-Fixed: 3468341
Currently the Debug Log DebugFS functionality in the qca-wifi-host-cmn
project is protected with #ifdef WLAN_OPEN_SOURCE.
The WLAN_OPEN_SOURCE macro was introduced for a legacy reason that is
no longer applicable. In order to remove the WLAN_OPEN_SOURCE macro,
introduce a new feature-specific WLAN_DBGLOG_DEBUGFS feature flag.
Once the Debug Log DebugFS functionality moves to the new flag, the
WLAN_OPEN_SOURCE macro can be removed.
Change-Id: I159af54ab91d009e5bf50d67492cbc62a05bad47
CRs-Fixed: 3463793
Currently Kbuild uses both cppflags-y and ccflags-y, The kernel Kbuild
documentation recommends using ccflags-y, so consistently use that
everywhere.
Change-Id: Ic5f86bad5d4260f39f98b5ce1b56ba6a69606aa9
CRs-Fixed: 3463792
Currently the Kbuild adds "-Wall -Werror" to the C command line.
However, the kernel already adds these by default, so stop adding the
duplicates.
Change-Id: I8d0b777feafd726ab29278739ac20bcaf0f7f000
CRs-Fixed: 3463791
Currently in Kbuild most of the feature flags, but not all of them,
are set in one place. In order to make the Kbuild more maintainable,
and in preparation for future refactoring, consolidate all of the
feature flag setting in one place.
Change-Id: Ie7bcf67304990991f555b0bdd93f3ad38b52bddd
CRs-Fixed: 3463790
In some build environments the length of the C compiler command line
exceeds the maximum length of the underlying shell, resulting in the
shell reporting: Argument list too long.
Kbuild has many definitions which add -D switches to the C compiler
command line to define macros to be used for conditional compilation.
Most of these are set conditionally, but there are some that are set
unconditionally.
As one step in the process of shortening the command line, refactor
the macros that are set unconditionally out of Kbuild, and put them in
a separate .h file which is then included in every build. As long as
the added -include switch takes up less room than the sum of the -D
switches, then this will result in a shorter command line.
Change-Id: I95e0e8237d15dee58e519ea526a74c52eeb7dbd2
CRs-Fixed: 3460064