瀏覽代碼

qcacld-3.0: STA SAP concurrency for non dbs HW mode

SAP stops working when it comes first and then sta connection
happens in non dbs HW mode

Allow SAP on non dbs HW even if the channel is safe or
lte-coex enabled.

Change-Id: I3e80b423ccb30fdb5e53a6d2aff961162b316e1c
CRs-Fixed: 2873957
Jyoti Kumari 4 年之前
父節點
當前提交
db4584c90c
共有 1 個文件被更改,包括 7 次插入3 次删除
  1. 7 3
      components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

+ 7 - 3
components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

@@ -2289,9 +2289,13 @@ QDF_STATUS policy_mgr_valid_sap_conc_channel_check(
 					return QDF_STATUS_E_FAILURE;
 				}
 			} else {
-				policy_mgr_warn("Can't have concurrency on %d",
-						ch_freq);
-				return QDF_STATUS_E_FAILURE;
+				if (!(policy_mgr_sta_sap_scc_on_lte_coex_chan
+				    (psoc)) && !(policy_mgr_is_safe_channel
+				    (psoc, ch_freq))) {
+					policy_mgr_warn("Can't have concurrency due to unsafe channel %d",
+							ch_freq);
+					return QDF_STATUS_E_FAILURE;
+				}
 			}
 		}
 	}