Просмотр исходного кода

qcacmn: Fix logic to force SCC in SAP+STA concurrency

If SAP is up & STA is coming up next(or vice versa) on a different
channel causing MCC, move SAP to cause SCC or DBS. This logic is
enabled only if gWlanMccToSccSwitchMode is set to
QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION or
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL.

Change-Id: I16615d828a285762133ee3533339320ef119b3d3
CRs-Fixed: 2063060
Tushnim Bhattacharyya 7 лет назад
Родитель
Сommit
4980f3c81c

+ 13 - 0
umac/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h

@@ -1998,4 +1998,17 @@ uint8_t policy_mgr_get_alternate_channel_for_sap(
  */
 bool policy_mgr_disallow_mcc(struct wlan_objmgr_psoc *psoc,
 		uint8_t channel);
+
+/**
+ * policy_mgr_mode_specific_get_channel() - Get channel for a
+ * connection type
+ * @psoc: PSOC object information
+ * @chan_list: Connection type
+ *
+ * Get channel for a connection type
+ *
+ * Return: channel number
+ */
+uint8_t policy_mgr_mode_specific_get_channel(
+	struct wlan_objmgr_psoc *psoc, enum policy_mgr_con_mode mode);
 #endif /* __WLAN_POLICY_MGR_API_H */

+ 0 - 13
umac/cmn_services/policy_mgr/src/wlan_policy_mgr_i.h

@@ -438,17 +438,4 @@ void policy_mgr_reg_chan_change_callback(struct wlan_objmgr_psoc *psoc,
 		struct regulatory_channel *chan_list,
 		struct avoid_freq_ind_data *avoid_freq_ind,
 		void *arg);
-
-/**
- * policy_mgr_mode_specific_get_channel() - Get channel for a
- * connection type
- * @psoc: PSOC object information
- * @chan_list: Connection type
- *
- * Get channel for a connection type
- *
- * Return: channel number
- */
-uint8_t policy_mgr_mode_specific_get_channel(
-	struct wlan_objmgr_psoc *psoc, enum policy_mgr_con_mode mode);
 #endif