qcacld-3.0: Start SAP on 80Mhz in STA+SAP when acs_policy enabled
When acs_policy is enabled and STA is already up on some 5Ghz channel, SAP is coming up on the same 5Ghz channel as expected but in 20Mhz even when bandwidth given by hostapd is 80Mhz. Start SAP on same channel as STA but in 80Mhz instead of 20Mhz. Change-Id: Ie5dc06844f867d32796706cdcc190d1cb1b1d2fe CRs-Fixed: 2196229
Este cometimento está contido em:

cometido por
nshrivas

ascendente
89e85d4f6a
cometimento
331639871a
@@ -1296,6 +1296,21 @@ 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_set_sap_ctx_acs_cfg() - Sets acs cfg
|
||||
* @sap_ctx: Pointer to Sap Context
|
||||
* @sap_config: Pointer to sap config
|
||||
*
|
||||
* This function sets the acs cfg in sap context.
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void wlan_sap_set_sap_ctx_acs_cfg(struct sap_context *sap_ctx,
|
||||
tsap_config_t *sap_config);
|
||||
|
||||
void sap_config_acs_result(tHalHandle hal, struct sap_context *sap_ctx,
|
||||
uint32_t sec_ch);
|
||||
|
||||
QDF_STATUS wlansap_update_sap_config_add_ie(tsap_config_t *pConfig,
|
||||
const uint8_t *
|
||||
pAdditionIEBuffer,
|
||||
|
@@ -389,8 +389,6 @@ QDF_STATUS sap_goto_channel_sel(
|
||||
bool sap_do_acs_pre_start_bss,
|
||||
bool check_for_connection_update);
|
||||
|
||||
void sap_config_acs_result(tHalHandle hal, struct sap_context *sap_ctx,
|
||||
uint32_t sec_ch);
|
||||
/**
|
||||
* sap_check_in_avoid_ch_list() - checks if given channel present is channel
|
||||
* avoidance list
|
||||
|
@@ -620,6 +620,20 @@ static inline bool wlan_sap_validate_channel_switch(tHalHandle hal,
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
void wlan_sap_set_sap_ctx_acs_cfg(struct sap_context *sap_ctx,
|
||||
tsap_config_t *sap_config)
|
||||
{
|
||||
if (!sap_ctx) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO_HIGH,
|
||||
"%s: Invalid SAP pointer",
|
||||
__func__);
|
||||
return;
|
||||
}
|
||||
|
||||
sap_ctx->acs_cfg = &sap_config->acs_cfg;
|
||||
}
|
||||
|
||||
QDF_STATUS wlansap_start_bss(struct sap_context *sap_ctx,
|
||||
tpWLAN_SAPEventCB pSapEventCallback,
|
||||
tsap_config_t *pConfig, void *pUsrContext)
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador