This change sends the new wow event in the bitmap to FW only
when the roam stats suspend mode attribute is enabled from the
user space.
Also, the new wow reason is added to wake up the host while
sending the roam event stats.
Change-Id: Iaefb229929e8791870f33bf787487f7c20daf218
CRs-Fixed: 3050830
Presently, whenever there is any kind of reference leak in the system
wlan driver doesn't recover and goes into a bad state.
Add support to forcefully clean the references in the builds where
the leak detection is disabled, so the system can gracefully recover
and wifi can be functional.
Change-Id: Ib9f59e71fe7f09ab11322aa6da9834c2c58fc32f
CRs-Fixed: 3012995
This change gathers the roam event stats from the FW.
New vendor event is used to fill in the vendor attributes
whenever the roam stats are received from Firmware.
Change-Id: I9a2ddef62d26b0b68897891788733df452ac1ceb
CRs-Fixed: 3036518
Add new vendor command to enable the roam events stats from the
driver/FW in both resume and suspend mode.
New roam param is introduced to indicate the FW to enable/disable
the roam stats using the new roam set command.
Change-Id: I6d04f0946e6735613a4cf3d4361bf31052314fa0
CRs-Fixed: 3036518
When 32 STAs connected to APUT, crash will happen because of lack
of resource. The max vdev number was decreased by 1 from the value
of 4 because of nan is not supported. Then FW will received the
value of 3 and finally the tid number is not enough. Change the
max value of vdev number to 5 to fix this issue.
Change-Id: Ia212a0b05922530526439206fd70a44f3ce03838
CRs-Fixed: 3064133
Update the concurrency policy for STA mode.
For an upcoming STA connection:
1. Disallow the 2nd STA connection if multiple STA connections are
not allowed.
2. Allow the secondary MLO link when primary link is connected.
3. Disallow ML STA when ML STA/SAP is present.
4. Disallow the 3rd STA.
5. Allow for the other cases.
Change-Id: I70c41177b7a3a9aa9cbac0aaced08c6eafca2b6d
CRs-Fixed: 3012577
Move the 6GHz support check so that the logic is invoked
regardless of the input band bitmap.
Change-Id: I45db2d2be8966ac073a8ede721d52bd689a98a88
CRs-fixed: 3069557
When the wait_for_ack flag is not set in deauth/disassoc
case, the Host does not send the management frame info
log event to userspace.
Make changes to send the deauth/disassoc events when
wait_for_ack flag is not set.
Change-Id: Id9f4f2e4af124644d919bf36b12376d292acfe3e
CRs-Fixed: 3065707
If there is only one channel left after trimming ACS channel list, the
start and end channel frequency in ACS config are not set, which may
result in unexpected behaviors, e.g. the function is_mcc_preferred()
always returns false in such case.
To avoid that, set both frequencies to the one being selected.
Change-Id: If7c4106d2547feb866f1d5139fcb07c921f1d046
CRs-Fixed: 3069590
Cleanup WMA HWMODE and WMA HWMODE List
as the same functionality is already taken
care by policy manager
Change-Id: I5dc1342422e70737111f882013ed3a6351a85336
CRs-Fixed: 3064739
Currently, NAN 5GHz social channel 44(5220) is picked to start
the BSS for NDI if 5GHz band is supported. But the channel
might get disabled due to regulatory constraints or
user/applications might also disable based on the usecase.
NDI fails to start in such cases.
Pick a valid channel to start the BSS and give preference to
NAN social channels.
Also, don't allow NDI start when NAN discovery is not enabled
to avoid issues due to DBS incase if NDI to be started in
a 2.4GHz channel.
Change-Id: I562d0f4f6a425ad7fb4cd043e696d3d573854b3b
CRs-Fixed: 3068545
Currently, the driver sets roam band mask to
REG_BAND_MASK_ALL(2.4G + 5G + 6G) when it receives
the value of vendor bitmap as QCA_SETBAND_AUTO(0)
regardless of whether the driver supports 6G or not.
In case if the driver does not support 6G and userspace
sends vendor bitmap as auto, the driver should convert
roam band mask to REG_BAND_MASK_2G_AND_5G(2.4G + 5G).
Change-Id: I45c2083aa18de8216ebdc8a9dbd22388d07c679a
CRs-Fixed: 3068729
INI item enable_dynamic_pcie_gen_speed_switch is no longer. Hence,
delete all uses cases of it.
Change-Id: I1082620c4354bda48ebc54aae7e72e5a81c4aa94
CRs-Fixed: 3068122
In the FT-FILS initial mobility domain association over FILS in
an RSN, STA should send RSNIE with PMKR1-Name as the PMKID.
While constructing the association request RSN IE, packing the
PKMR1-NAME after stripping the group management cipher suite
causes corruption of the RSN IE.
Fix the RSN IE group mgmt cipher suite stripping issue by
moving to the right offset and copy the generated PMKR1-Name
to the association request frame.
Change-Id: Ib5c9687556390e60428b6e392b6ecb34d13693f5
CRs-Fixed: 3047182
Sometimes 'qdf_event_set(&hostapd_state->qdf_stop_bss_event)'
is invoked from 'wlansap_stop_bss' in other thread before
invoking 'qdf_event_reset(&hostapd_state->qdf_stop_bss_event)'.
Then 'stop_bss_event' timeout happens even if 'qdf_stop_bss_event'
has been set.
To fix this issue, make sure 'qdf_event_reset(&hostapd_state->
qdf_stop_bss_event)' happens before 'wlansap_stop_bss'.
Change-Id: I2e591290453e0a6463f04680fd8c476738ae8a65
CRs-Fixed: 3060404
Currently sta assoc confirm is sent to HDD for every link, so sta
delete confirm should be sent to HDD for every link too.
HDD layer needs sta assoc and delete confirm notification from lim.
Change-Id: Id46078db13f7dc569bb4466dfe685ad1a9ab7cea
CRs-Fixed: 3064782
UL MU is not enabled in 5G HE capability.
HE global configuration is populated by averaging
all the hardware modes capabilities. UL MU is disabled
in 2G mode so global capability UL MU is disabled.
Modified code to obtain the UL MU capability from 5G specific
capability structure.
Change-Id: I949b121a4ae7e72228ea0efdec08144a8ad85f20
CRs-Fixed: 3065515
Along with 11BE feature macro, check for Kernel 11be macro to avoid
compilation issues when kernel doesn't support 11be.
Change-Id: I9fb84b6263cbdca4cde93e3a581acdbfe0fe2b34
CRs-Fixed: 3066175