Parcourir la source

qcacld-3.0: Re-enable RSO when SAP disabled during CSA

RSO for connected STA(s) will be disabled before SAP CSA,
and re-enabled after channel switch complete event received.

In case SAP disabled after CSA request sent, but before
channel switch complete event back, RSO on other connected
STA(s) will be disabled always.

Re-enable RSO properly when SAP disabled.

Change-Id: I64a628f6af5a3ec7cbc278461b983c751498f579
CRs-Fixed: 3065852
Lin Bai il y a 3 ans
Parent
commit
c0f9c692df
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      core/hdd/src/wlan_hdd_hostapd.c

+ 3 - 0
core/hdd/src/wlan_hdd_hostapd.c

@@ -3856,6 +3856,9 @@ void hdd_deinit_ap_mode(struct hdd_context *hdd_ctx,
 	if (qdf_atomic_read(&adapter->ch_switch_in_progress)) {
 		qdf_atomic_set(&adapter->ch_switch_in_progress, 0);
 		policy_mgr_set_chan_switch_complete_evt(hdd_ctx->psoc);
+
+		/* Re-enable roaming on all connected STA vdev */
+		wlan_hdd_enable_roaming(adapter, RSO_SAP_CHANNEL_CHANGE);
 	}
 
 	hdd_softap_deinit_tx_rx(adapter);