浏览代码

qcacld-3.0: AP-AP chan override

If FW does not support WMI_SERVICE_DUAL_BEACON_ON_SINGLE_MAC_MCC_SUPPORT,
in AP+AP case start the second SAP on same band and
different channel will be failed.
For force mcc to scc switch enabled case, override the second AP's
chan to same chan of first AP instead of return failed in start AP.

Change-Id: I83ad3db3160cfc2dd66163bb1e1b2e19ae7c5fa3
CRs-Fixed: 2439440
Liangwei Dong 6 年之前
父节点
当前提交
1e3a22caf2
共有 2 个文件被更改,包括 17 次插入16 次删除
  1. 17 0
      cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h
  2. 0 16
      cmn_services/policy_mgr/src/wlan_policy_mgr_i.h

+ 17 - 0
cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h

@@ -2962,4 +2962,21 @@ QDF_STATUS policy_mgr_get_hw_mode_from_idx(
 QDF_STATUS policy_mgr_update_nan_vdev_mac_info(struct wlan_objmgr_psoc *psoc,
 					       uint8_t nan_vdev_id,
 					       uint8_t mac_id);
+
+/**
+ * policy_mgr_get_mode_specific_conn_info() - Get active mode specific
+ * channel and vdev id
+ * @psoc: PSOC object information
+ * @channel: Mode specific channel (list)
+ * @vdev_id: Mode specific vdev id (list)
+ * @mode: Connection Mode
+ *
+ * Get active mode specific channel and vdev id
+ *
+ * Return: number of connection found as per given mode
+ */
+uint32_t policy_mgr_get_mode_specific_conn_info(struct wlan_objmgr_psoc *psoc,
+						uint8_t *channel,
+						uint8_t *vdev_id,
+						enum policy_mgr_con_mode mode);
 #endif /* __WLAN_POLICY_MGR_API_H */

+ 0 - 16
cmn_services/policy_mgr/src/wlan_policy_mgr_i.h

@@ -537,22 +537,6 @@ enum policy_mgr_conc_next_action
 QDF_STATUS policy_mgr_reset_sap_mandatory_channels(
 		struct policy_mgr_psoc_priv_obj *pm_ctx);
 
-/**
- * policy_mgr_get_mode_specific_conn_info() - Get active mode specific
- * channel and vdev id
- * @psoc: PSOC object information
- * @channel: Mode specific channel (list)
- * @vdev_id: Mode specific vdev id (list)
- * @mode: Connection Mode
- *
- * Get active mode specific channel and vdev id
- *
- * Return: number of connection found as per given mode
- */
-uint32_t policy_mgr_get_mode_specific_conn_info(struct wlan_objmgr_psoc *psoc,
-				  uint8_t *channel, uint8_t *vdev_id,
-				  enum policy_mgr_con_mode mode);
-
 /**
  * policy_mgr_reg_chan_change_callback() - Callback to be
  * invoked by regulatory module when valid channel list changes