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
Šī revīzija ir iekļauta:
Liangwei Dong
2019-05-06 03:39:59 -04:00
revīziju iesūtīja nshrivas
vecāks eaa472be0f
revīzija 9a91b8a0fe
5 mainīti faili ar 190 papildinājumiem un 23 dzēšanām

Parādīt failu

@@ -1203,6 +1203,18 @@ uint32_t wlan_sap_get_vht_ch_width(struct sap_context *sap_ctx);
void wlan_sap_set_vht_ch_width(struct sap_context *sap_ctx,
uint32_t vht_channel_width);
/**
* wlan_sap_get_ch_params() - get ch params
* @sap_ctx: Pointer to Sap Context
* @ch_params: returned ch_params
*
* This function get sap's ch_params
*
* Return: true for success
*/
bool wlan_sap_get_ch_params(struct sap_context *sap_ctx,
struct ch_params *ch_params);
/**
* wlan_sap_set_sap_ctx_acs_cfg() - Sets acs cfg
* @sap_ctx: Pointer to Sap Context