Răsfoiți Sursa

qcacld-3.0: Do not block tx if no CAC performed

For STA+SAP on SCC on DFS channel and the DFS master
capability is disabled on SAP by INI. The CAC is skipped
in protocol stack. Do not block tx for SAP in
such condition.

Change-Id: I62a130b246d37d10492d287776c5b51e48d63c5f
CRs-Fixed: 2525465
Liangwei Dong 5 ani în urmă
părinte
comite
424738442b
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      core/hdd/src/wlan_hdd_hostapd.c

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

@@ -1824,6 +1824,9 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
 
 		qdf_atomic_set(&adapter->ch_switch_in_progress, 0);
 		wlansap_get_dfs_ignore_cac(mac_handle, &ignoreCAC);
+		if (!policy_mgr_get_dfs_master_dynamic_enabled(
+				hdd_ctx->psoc, adapter->vdev_id))
+			ignoreCAC = true;
 
 		/* DFS requirement: DO NOT transmit during CAC. */
 		if (CHANNEL_STATE_DFS !=