mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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
This commit is contained in:
parent
d3c96deba9
commit
4980f3c81c
2 changed files with 13 additions and 13 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue