Explorar el Código

qcacld-3.0: Set seg1 frequency segment in case of 5ghz 160Mhz

Set seg1 frequency segment in case of 5ghz 160Mhz as
the primary centre channel frequency of 160Mhz band.

Change-Id: Id541419c084d8cdf2a22e84170dbe68d731f5ad0
CRs-Fixed: 2587220
gaurank kathpalia hace 5 años
padre
commit
703aee2018
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      core/sap/src/sap_api_link_cntl.c

+ 1 - 2
core/sap/src/sap_api_link_cntl.c

@@ -113,8 +113,7 @@ void sap_config_acs_result(mac_handle_t mac_handle,
 		sap_ctx->acs_cfg->vht_seg0_center_ch_freq = 0;
 
 	if (sap_ctx->acs_cfg->ch_width == CH_WIDTH_80P80MHZ ||
-	   (sap_ctx->acs_cfg->ch_width == CH_WIDTH_160MHZ &&
-	    WLAN_REG_IS_6GHZ_CHAN_FREQ(sap_ctx->acs_cfg->pri_ch_freq)))
+	   (sap_ctx->acs_cfg->ch_width == CH_WIDTH_160MHZ))
 		sap_ctx->acs_cfg->vht_seg1_center_ch_freq =
 						ch_params.mhz_freq_seg1;
 	else