qcacld-3.0: Offload BTM to FW even with RSO disable

For certain cert cases, roaming is disabled through
CAPI. Supplicant sends RSO disable to Host and the Host
disables BTM offload as well as part of roam disable.
But, for cases like load balancing, Firmware has the
logic to handle BTM requests with disassociation
imminent bit set to 1, by sending an event to Host to
trigger a T2LM request action frame rather than a BTM
response. Thus, set BTM offload bit even when roaming
is disabled to allow FW to handle BTM request frames
instead of supplicant.

Change-Id: Iaa0cbbce62dbb76518880ef2470d6d0819c501db
CRs-Fixed: 3590733
This commit is contained in:
Gururaj Pandurangi
2023-07-06 23:26:37 -07:00
committed by Rahul Choudhary
parent ea7e6ed625
commit f30be587ea
2 changed files with 3 additions and 0 deletions

View File

@@ -2572,6 +2572,7 @@ struct wlan_mlme_wifi_pos_cfg {
/* Mask to check if BTM offload is enabled/disabled*/
#define BTM_OFFLOAD_ENABLED_MASK 0x01
#define BTM_OFFLOAD_CONFIG_BIT_0 0
#define BTM_OFFLOAD_CONFIG_BIT_8 8
#define BTM_OFFLOAD_CONFIG_BIT_7 7