Disable Operating Channel Validation (OCV) by default for
connections with Wi-Fi 7 APs in 11BE mode as per WFA
recommendation to avoid IOT issues with Wi-Fi 7 APs in the
future.
Change-Id: Iecdabdda1f645300fd9d8c2821a985771e60ce2e
CRs-Fixed: 3534392
For STA+SAP/GO concurrency support from GUI, In case if
START/STOP AP/GO request comes just before the SAE
authentication completion on STA, SAE AUTH REQ waits for
START/STOP AP RSP and START/STOP AP RSP waits to complete
SAE AUTH REQ.
Driver completes START/STOP AP RSP only upon SAE AUTH REQ
timeout(5 sec) as start/stop ap will be in serialization
pending queue, and SAE auth sequence cannot complete as
hostap thread is blocked in start/stop ap cfg80211 ops.
To avoid above deadlock until SAE timeout, abort the SAE
connection immediately and complete START/STOP AP/GO asap
so that the upper layer can trigger a fresh connection
after START/STOP AP/GO completion.
Change-Id: I96de1bb27dfc669ccf920a90cf86a3cb54e68354
CRs-Fixed: 3452943
Currently in host support is there for SET_FCC_CHANNEL
command for values 0, -1, 1.
Add changes to support SET_FCC_CHANNEL command for value 2.
Change-Id: Ia67eceb5dffc6f806995bb03755008b19e98178a
CRs-Fixed: 3537394
The issue has been addressed in the supplicant.
So revert change: I89b501fc4da8615ddb8973e5edce73294793558f
Change-Id: I02b74a512c97803c597942c1ea00e3a02fbf4599
CRs-Fixed: 3544617
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
TDLS off channel will be supported by FR 80104, so remove the
checking when setting flag ENA_TDLS_OFFCHAN.
Change-Id: Iae135e835bd74e32a3f712083263192ae7cb635f
CRs-Fixed: 3545087
Add vendor command API to set EPCS (Emergency Preparedness
Communications Service) capability and trigger EPCS
function enable or disable.
Change-Id: I2ffe4d268731c57dd6e3ddfe0586d4dcb77dc611
CRs-Fixed: 3511170
With changes to bazel in upstream kernel, driver is currently not
building properly. Fix these bazel-related changes to be in line with
upstream kernel changes and resolve the build issues.
Change-Id: I99fb7b1aaa8cd70b4326a858d46de7c034b0549f
CRs-Fixed: 3539623
In NAN+eMLSR concurrency, when NAN is already present
and if eMLSR comes. Host disables(by sending
MLO_LINK_FORCE_MODE_INACTIVE_NUM) one link only after
both vdev up. But there is a race condition where
firmware enters to emlsr mode just after link vdev up
and host sends the disable command after
WMI_VDEV_INSTALL_KEY_CMDID. This causes inconsistency
in firmware eMLSR state machine. Firmware asserts as
other mac is occupied by NAN and eMLSR module tries to
change the hw mode to eMLSR mode. Both mac's should be
free/available for eMLSR STA operation when firmware
tries to switch hw mode to eMLSR.
As part of fix, Host to send mlo_force_link_inactive=1
in peer assoc command of link vdev to indicate firmware
not to enter in eMLSR mode. Host shall disable one link
as part of concurrency evaluation post connection anyway.
Once the concurrency is gone, host to enable both links
to let firmware enter into eMLSR hw_mode.
Change-Id: I0ee141b51868a3c5c5d9ff6cf1bd3765bc450fa4
CRs-Fixed: 3527911
The issue is host always uses assoc link channel width
to calculate the list of the channel(s) to trigger
wide band scan for both links.
In the case of N link MLO connection, the associated
channel and associated channel width may be different
for assoc link and non-assoc link(s).
Fix is to choose the proper associated channel width
and prepare the channel list for each link(s).
Change-Id: I2fce5d1153d396f1bfc9575572d90d2cfec0ac8a
CRs-Fixed: 3539444
From userspace __wlan_hdd_cfg80211_get_usable_channel got called
while WLAN is shutting down. HDD/OSIF should return failure but the
reg_get_band_channel_list API is trying to access the pdev context
from HDD which is NULL and leads to crash.
Add check in __wlan_hdd_cfg80211_get_usable_channel if the wlan
is shutdown with state DRIVER_MODULES_CLOSED and return.
Change-Id: I856075d00f3ee2ed84f4b63c33a2a8ffb85ae646
CRs-Fixed: 3541271
Iterate through all the active links in adapter to decide
whether to allow NDP or not.
Change-Id: I600e10592469ecdb1d21da9bde9ccdca33ae986f
CRs-Fixed: 3522931
Modify the following APIs to take link info pointer
as function argument to notify LPASS on per link.
1) hdd_lpass_notify_disconnect()
2) hdd_lpass_notify_mode_change()
3) hdd_lpass_notify_start()
4) hdd_lpass_notify_connect()
5) wlan_hdd_send_status_pkg()
6) wlan_hdd_send_scan_intf_info()
Change-Id: I645fb35418aba31e32fc6d5ea2e409904b76db25
CRs-Fixed: 3522899
Refactor the following APIs which are used to register STA for
SoftAP (both MC/BC and UC peers).
1) hdd_softap_register_bc_sta()
2) hdd_softap_register_sta()
Change-Id: Ibbc84e3c4c37c34d30d7d53ce39e3eab8fc42f47
CRs-Fixed: 3522878
Modify the following APIs to pass link info pointer as function
argument to configure SAP on per link basis.
The existing callers moved to deflink.
1) hdd_restart_sap()
2) wlan_hdd_cfg80211_update_apies()
3) wlan_hdd_start_sap()
4) wlan_hdd_cfg80211_start_bss()
5) wlan_hdd_add_sap_obss_scan_ie()
Change-Id: I874650cbce512424c6ab2150817ab6e9e5401683
CRs-Fixed: 3522834
Refactor the do acs APIs below to take link info pointer as function
argument to configure ACS on per link.
Existing callers moved to deflink pointer.
1) wlan_hdd_cfg80211_acs_ch_select_evt()
2) hdd_update_acs_channel()
Change-Id: I2854d3ee6a85234d7d8200e8f15368c17323cf05
CRs-Fixed: 3522775
Modify the API to take link info pointer as function argument
to support start ACS on per link.
Change-Id: I2fa22aeb6a3062aa7ed8a4180470a61a76f13bf3
CRs-Fixed: 3522734
Add pld support support to get WLAN H.W capabilities
using pld_get_soc_info API.
Change-Id: Ia3c719d59f88c30cb78b6321f96a894c08e8c693
CRs-Fixed: 3502672
Modify the following APIs to move deflink references to
link info pointer and use link info pointer where VDEV
is accessed to call the API for each eligible link info
pointer in adapter.
Existing callers moved to deflink pointer.
1) wlan_hdd_is_ap_ap_force_scc_override()
2) hdd_handle_p2p_go_for_3rd_ap_conc()
3) __wlan_hdd_cfg80211_start_ap()
Change-Id: Ifb305a38f00525c20c438fee30dceff4f491f85d
CRs-Fixed: 3522636
Iterate through all the active links on each adapter in the
following APIs.
1) hdd_dfs_indicate_radar()
2) hdd_is_chan_switch_in_progress()
Change-Id: Ic01a6ffc1069c519535ae489e07c582a31c25bed
CRs-Fixed: 3522569
In the API change the deflink references to a local variable
to reuse the variable.
Change-Id: I446d26f11a22c1bd5ae042a7d455fab2cfde6af4
CRs-Fixed: 3522523
Iterate through all the active links in STA adapter to check
if the VDEV is on invalid channel. If it is on invalid channel,
disconnect the STA.
Change-Id: Iabaadb116861e40e79fa04398854bed7dc4e029e
CRs-Fixed: 3522506
Iterate through all the active links in adapter to search
if any VDEV is in connecting state or not.
Change-Id: Iafb96720bfab04045a9535d35d5f95fc71251e03
CRs-Fixed: 3522490
Iterate through all the active links in the API to account
for VDEVs in the non-deflink indices.
Change-Id: Iace7b51d484d907999ada01f74353ba917868986
CRs-Fixed: 3522476
Refactor the following APIs which take link info pointer to
check the BW change on country code change and whether SAP
restart needed on phymode change.
1) hdd_country_change_bw_check()
2) hdd_restart_sap_with_new_phymode()
Change-Id: I7cd3f21bd60b1867c6ce78a33dd5fbd5b4961b14
CRs-Fixed: 3522466
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
Change the cfg enablement check APIs (currently FISA),
to static inline, in order to avoid function call
every time to check if the feature is enabled or not.
Change-Id: Ie541313c1b0a7512f71a6189a706871e57b3145e
CRs-Fixed: 3540739
If AP doesn't advertise 6 GHz power type or advertises
invalid 6 GHz power type, find the power type for connection
as per below logic.
a) Connect in VLP only if VLP power type is available for STA
for the connection channel.
b) Otherwise connect in LPI only if LPI power type is available
for STA for the connection channel for STA.
Don't connect if VLP or LPI power types are not available for
STA for the connection channel.
Change-Id: I3bcf1e8758042cc00f5f4be1a3fd0bbfe74d1677
CRs-Fixed: 3537387
Currently, RSO is stopped and PCL is updated to firmware when
SAP stop happens. But this causes inconsistency in roam sync
handling if roaming is in progress. As host driver RSO state moves
to STOPPED, host doesn't send ROAM_SYNC_COMPLETE though
ROAM_SYNC_IND is processed successfully. Firmware waits
for 6 seconds and asserts as it hasn't received either
ROAM_SYNC_COMPLETE or ROAM_ABORT(RSO_STOP).
So, don't stop RSO and avoid PCL updation when roaming is
in progress in SAP stop case. PCL gets updated to firmware
post roaming anyway. Same is applicable for SAP start also.
Change-Id: I9a6c4579d9cfab9041ee76739705d4db5a40192d
CRs-Fixed: 3518876
Iterate through all the link info which are active in adapter
on country change update.
1) hdd_country_change_update_sap()
2) hdd_country_change_update_sta()
Change-Id: I199ca2cd87e114c4a8c64ee356388781b3a53097
CRs-Fixed: 3522443