Add self bss roam check in roam invoke cmd handler,
If ini enable_self_bss_roam is 0, don't permit to roam
to current connected bss, just keep current connection.
Change-Id: I7fe724e26d15bcc008957829e4e3384c60b58773
CRs-Fixed: 3069587
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
In cm_roam_scan_info_event, qdf_mem_copy is performed with
different sizes.
Fix is to assign frequency values instead of mem copy.
Change-Id: Ie7dc4eaf4d7c0b65100edd77d7c2306e53e2ea9b
CRs-Fixed: 3065698
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
Modify policy_mgr_is_concurrency_allowed() to support
SBS concurrencies as well. For this, the following
sub functions are modified/added:
policy_mgr_allow_same_mac_diff_freq(): Check whether
different Frequencies are allowed on same MAC
policy_mgr_allow_same_mac_same_freq(): check whether
given frequency is allowed for same mac
Modify policy_mgr_allow_new_home_channel() to consider
Frequency Range of Mac instead of Operational Frequency
Band.
policy_mgr_allow_sap_go_concurrency() is also modified
to consider frequency range.
Change policy_mgr_is_5g_channel_allowed() and
policy_mgr_is_6g_channel_allowed() to allow STA on SBS
channel if SAP/Go on DFS Channel and no other active
2.4 Ghz connection.
Change-Id: Ifcd001d70e4705b33f1b7e2e3f6c296e0545eeeb
CRs-Fixed: 3052778
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
If STA + STA concurrency is in DBS then irrespective of
primary interface configuration, DUT should meet below
expectations:
1. Roaming should get enabled on both the STAs interfaces.
2. Host should ensure that roaming bands are restricted to
maintain only DBS
Change-Id: Ib28cb232650893e46da0dd8e7d47d3876546a1a1
CRs-Fixed: 3056820
Update policy mgr sbs lowerband end freq
with the value received in FW Rx service ready
event.
Change-Id: I1664876765dcd5217ffce62ec81ba59b36bbaf21
CRs-Fixed: 3065151
This change fixed compilation issue when defined macro
WLAN_FEATURE_CONNECTIVITY_LOGGING but no WLAN_FEATURE_ROAM_OFFLOAD.
Change-Id: I78f58c2bcfffb66ddf9390a8d724821faa90563c
CRs-Fixed: 3066954
This change fixed compilation issue about the 64-bit division in
sdxlemur - a 32-bit architecture, which is not defined
"__aeabi_uldivmod" for the 32-bit architecture.
Change-Id: Ief75e7903fe301f5641fa4f734dc8129a7501b7e
CRs-Fixed: 3067887