qcacld-3.0: Offload BTM to FW supplicant disabled-roam only
Issue is Host always sends btm_offload bitmap as 1 via RSO STOP command during disconnection. If host configures BTM enable with flag value as 1 during disconnection and try to enable back with flag value 0x1c1, FW will never honor it since previous configuration is not disabled while disconnection. FW expects BTM offload enable only as part of supplicant disabled-roam and btm_offload bitmap to be cleared (= 0) in RSO STOP during disconnection. Fix is to set btm_offload bitmap as 1 only while processing RSO STOP with roam reason REASON_SUPPLICANT_DISABLED_ROAMING. CRs-Fixed: 3650261 Change-Id: Idc23497331b4b49e485e5d1d3ab5e46207680829
This commit is contained in:

committed by
Ravindra Konda

parent
6479eff5d5
commit
ea0d6ae588
@@ -3519,9 +3519,12 @@ cm_roam_stop_req(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
|
|||||||
if (!pdev)
|
if (!pdev)
|
||||||
goto rel_vdev_ref;
|
goto rel_vdev_ref;
|
||||||
|
|
||||||
|
mlme_debug("vdev:%d process rso stop for reason: %d", vdev_id, reason);
|
||||||
|
|
||||||
stop_req->btm_config.vdev_id = vdev_id;
|
stop_req->btm_config.vdev_id = vdev_id;
|
||||||
MLME_SET_BIT(stop_req->btm_config.btm_offload_config,
|
if (reason == REASON_SUPPLICANT_DISABLED_ROAMING)
|
||||||
BTM_OFFLOAD_CONFIG_BIT_0);
|
MLME_SET_BIT(stop_req->btm_config.btm_offload_config,
|
||||||
|
BTM_OFFLOAD_CONFIG_BIT_0);
|
||||||
stop_req->disconnect_params.vdev_id = vdev_id;
|
stop_req->disconnect_params.vdev_id = vdev_id;
|
||||||
stop_req->idle_params.vdev_id = vdev_id;
|
stop_req->idle_params.vdev_id = vdev_id;
|
||||||
stop_req->roam_triggers.vdev_id = vdev_id;
|
stop_req->roam_triggers.vdev_id = vdev_id;
|
||||||
|
Reference in New Issue
Block a user