Add a new API to check if ML peer state is ML_PEER_DISCONN_INITIATED
that indicates the link vdev has sent deauth frame to FW. If the
check is true, then do not send another deauth for assoc vdev
to avoid FW assert.
Change-Id: I97ae39fe8a31072f8e93af958a02435c3b411283
CRs-Fixed: 3303552
In kernel 5.17, complete_and_exit is replaced with
kthread_complete_and_exit. So if kernel version is >= 5.17,
then use kthread_complete_and_exit.
Change-Id: I8b5ed5bbeade9d2044e375695e6e15208e10147d
CRs-Fixed: 3297438
This change
1.fixes the use of uninitialized
variable in host driver.
2.Adds validation in extract_roam_sync_frame_event_tlv
Where these frame lengths are getting populated,
also at the place where subtraction happens to prevent
overflows
3.Adds NULL check in wma_handle_roam_reason_deauth, to avoid
the null pointer dereference.
Change-Id: I2d5ba61fb109f6d8b497df29cfa2dd572c00adeb
CRs-Fixed: 3297792
In kernel 5.17, PDE_DATA() is replaced with pde_data(). Make
matching change in wlan_hdd_memdump.c
Change-Id: Ifa67c746d219802911403aaea0572d03a9da9173
CRs-Fixed: 3298034
Currently implemented change for COAP causes to append
header files to INCS even if CONFIG_WLAN_FEATURE_COAP
is disabled. This leads to compilation hard stop due to
overflow of argumnets to shell.
ie, by moving COAP related code under feature flag can
help to reduce shell arguments when COAP is disabled.
Change-Id: If1f8334229a601f7415cbad876a7c9e0fcfb1370
CRs-Fixed: 3299853
Roam trigger bitmap is configured to enable few specific
triggers when SETNCHOMODE command is issued. But if disconnect
happens without NCHO disable, then the roam_trigger_bitmap
per vdev doesn't reflect the ini configuration. This causes
some roam triggers not getting triggered.
Reset per vdev roam trigger configuration.
Change-Id: I3dc008a58a2a20c4f0820fe43aa4b6406ba8dd2a
CRs-Fixed: 3300488
As part of upgrading legacy code
with 6 GHz power APIs, replace
all ocurrances of
wlan_reg_is_disable_for_freq with
wlan_reg_is_disable_for_pwrmode.
Change-Id: Id18e48e27eb118945d56205797882874eb552153
CRs-Fixed: 3145764
Since Linux Kernel commit 63706172f332 ("kthreads: rework
kthread_stop()"), made in 2009 in Linux Kernel v2.6.31-rc1, it has not
been necessary for kernel threads to call do_exit(). Since we do not
support kernels earlier than that, remove the calls to
qdf_exit_thread(), the abstraction function for do_exit().
See Change-Id I22f27692fa8766df080630b9b0640c259285557c for more
information on why this call is being removed.
Change-Id: I5fa0e404e782edc04034bef8412acd0ca2f83097
CRs-Fixed: 3300457
Add WLAN_FEATURE_SR to enable/disable
Spatial Reuse support which is futher
dependent on 11AX support.
Change-Id: Iaa6f2a50c073eb279f967b6820bf5551bf100e3f
CRs-Fixed: 3301884
Currently, In case of auth frame driver is allocating static memory of
size 255 bytes to the MLO ie buffer. In some case, MLO ie buffer can
be more than 255 which will lead to out-of-bounds access.
Fix is, based on the mlo_ie_len, allocate dynamic memory to MLO ie buffer.
Change-Id: Ib97e898ff7557e3c23a95da5a1c25e13d710700c
CRs-Fixed: 3303129
Update channel frequency to partner infor from scan entry.
And correct debug print to show correct channel frequency value.
Change-Id: I3fc3a04b3ef0a4e627e724ad88c5038d35cd8e4a
CRs-Fixed: 3303855
Currently as part of QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_INFO
vendor command host is providing firmware version
Add extra field of STT info along with firmware version.
Change-Id: I6fe7a18fa29fb0652dc09e71f25263f9cc9b3db7
CRs-Fixed: 3302243
Currently WLAN_CLD_PM_QOS feature is enabled irrespective of
WLAN_FEATURE_DP_BUS_BANDWIDTH. But WLAN_CLD_PM_QOS feature
depends upon WLAN_FEATURE_DP_BUS_BANDWIDTH, which can result
in compilation issues in WLAN_FEATURE_DP_BUS_BANDWIDTH feature
disable case. So to fix the issue move WLAN_CLD_PM_QOS feature
enable under WLAN_FEATURE_DP_BUS_BANDWIDTH check.
Change-Id: I49f02e259fd16dbe54674b041f2ded8237c1f679
CRs-Fixed: 3292453