Currently host driver creates feature sysfs node at the
timne of start modules.
Based on the new requirement create sysfs node at driver load.
Change-Id: I0030295e69af451eae1c02d6dfae2bcdc2df9cad
CRs-Fixed: 3306174
The last channel event data whose command flag is set to 1.
It’s basically an event with empty data only to indicate
scan event completion. The process of WMI_CHAN_INFO_EVENTID
should ignore it or it takes the freq 0 as selecting first
clean channel for ACS which is not expected.
Change-Id: Ia64b4ad16fa3571363f16fe419cf861fbbe19038
CRs-Fixed: 3306049
Currently host driver gets the wifi kobject from platform
driver based on the bus type, since this is a generic
functionality and it can be used for any bus type,
so add a logic to get the wifi kobject irrespective of
bus type.
Change-Id: I58b18f0006494e0602ef3b00dc5728071c7a0306
CRs-Fixed: 3308565
Update Android makefile to support dual wlan driver modules.
Define the secondary wlan chip with postfix string "cnss2".
Use different wlan ctrl name parameter for secondary wlan module.
Change-Id: I62fd7f258b3b8944e2b731d00d413d7a1a0d4290
CRs-Fixed: 3248293
Currently for mlo roaming if roam sync event is not
handled roaming is aborted only on that vdev,
other vdevs are not cleaned up.
Another issue is link vdev is added to connection manager
list but not removed.
To fix this code change made to abort roaming on all links.
Also remove request from connection manager list.
Change-Id: Ib6e9db21b64e5c44ab7d51ebf795b169c5e7eb29
CRs-Fixed: 3305685
In vdev delete timeout scenario, Host driver sends the Fatal
Event to framework which can collect the all host/fw logs
and trigger SSR.
Change-Id: I5d68c0a44bd93593bda9665645fd211325eb9ebe
CRs-Fixed: 3296272
Currently, host driver sends NAN enable and disable request to
firmware and wait for its response to change the NAN state in
driver. But, when firmware is down (during SSR), driver is in
recovery state and so, timeout occurs while waiting for response.
To fix this, driver does not need to wait for NAN enable/disable
response from firmware in recovery state. It can directly take the
action and change the NAN state machine. Hence, add flag to check
the driver recovery state. If recovery is in progress, then driver
does not wait for firmware NAN enable/ disable responses.
Change-Id: I0325240cc082d8ef91d48793d3da2eea552d59cd
CRs-Fixed: 3307543
For kiwi target, there is no MSDU_START tlv, and hence
the tlv information has to be obtained based on MSDU_END.
Enable this flag, which is used for monitor mode frame
processing for KIWI target.
Change-Id: I160133a92b5f8b79573717b53f248c24935a67eb
CRs-Fixed: 3304764
Other config CONFIG_WLAN_CLD_PM_QOS is dependent on
CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH. Later enablement in config
file will fail to enable dependent config.
Change-Id: Ib0234505365d037d7b8fc50df639d93685d1781a
CRs-Fixed: 3305952
Host driver sends ROAM enable to firmware by setting the
vdev param WMI_VDEV_PARAM_ROAM_FW_OFFLOAD and the internal
state is moved from WLAN_ROAM_DEINIT to WLAN_ROAM_INIT.
Then host driver can send ROAM SCAN OFFLOAD enable and firmware
honors it. Firmware drops the RSO enable command if ROAM enable
vdev param is not sent. Host tracks RSO enable through the states
WLAN_ROAM_RSO_ENABLED/WLAN_ROAMING_IN_PROG/
WLAN_ROAM_SYNCH_IN_PROG/WLAN_MLO_ROAM_SYNCH_IN_PROG.
Have different APIs to track ROAM enable and RSO enable which can
help to cleanup the corresponding params/states.
It's observed that ROAM enable/disable vdev param is not sent
to firmware properly when RSO is stopped in some other path
than disconnect (e.g. SAP concurrency, fast_roaming_disable
through wpa_supplicant). Check if the roam state is INIT and
send ROAM DISABLE to firmware while disconnect.
Change-Id: I1074c8f93e21f02086dfbcfae61fa6deb91c7d9d
CRs-Fixed: 3305563
If the connection manager command is moved from pending to active
queue after an SME initiated active command e.g SAP peer
disconnect, it's already holding the SME lock and trying to
acquire the connection manager lock.
Now if in another thread, the connection manager process is
already in progress and tries to get the SME lock,
the driver ends up in a deadlock.
Thus remove the SME global lock from the APIs called from
HDD disconnect handlers.
Change-Id: I1c8afa55163e4113e5be5232efc15681eda69473
CRs-Fixed: 3304039
More than one roam sync frame event can be sent from FW so
the beacon, reassoc req or rsp length can be zero.
Hence the current code validation check is incorrect resulting
in roam abort.
To fix this, change the validation to check if beacon,
reassoc req or rsp value is non zero and then check the size.
Change-Id: I6ddec91686c23d9b8dac4c891b37bb1ce9d0fb30
CRs-Fixed: 3306428
In beacon loss, roaming condition is triggered when client doesn't
receives beacon packets from connected AP for 3 to 5 Secs.
There is no significance of 6Secs and 10Secs timeout in wakeup
and sleep modes respectively, as STA will disconnect after
partial+full roam scan.
Trigger beacon loss roaming that is half of link loss timeout
in wakeup and sleep modes.
Change-Id: I12ef4201a0457ca716ad857caad6c1be334e17f0
CRs-Fixed: 3306658
Currently data length for oem data vendor command is 1024 bytes,
based on new requirement, increase this length to 1500 bytes.
Change-Id: I7c1df5420ed1ac6f3e4ada9ef6779c3fc0b4182b
CRs-Fixed: 3296076
Currently, util_gen_link_reqrsp_cmn generates only the
first partner link and DUT only 2 mlo link is supported.
Just check whether the first partner link info is matching
for short term.
Change-Id: If13884cf11ef4fbd84a07eca8d7807bdf9e56706
CRs-Fixed: 3306145
Currently host does not update band capability to fw as
part of feature set info.
With this change update band capability as well as part of
feature set info.
Change-Id: Ieb6d800c1c88a56bf72fac6e105f3498eb22ab58
CRs-Fixed: 3302989
Add the logs for the mld address of the self and peer mld as
part of the current connection info.
Change-Id: Ie73a9b94cb13cf0f4c70eb4ad212e2fc3bd7ff22
CRs-Fixed: 3300168
Replace all occurrences of
wlan_reg_get_channel_state_for_freq with
wlan_reg_get_channel_state_for_pwrmode and use extra
parameter as REG_CURRENT_PWR_MODE.
Change-Id: I7f7e4e700091918eeebc87ccbbc85ececdd9bf52
CRs-Fixed: 3145011