소스 검색

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 3 년 전
부모
커밋
c0f9c692df
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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);