浏览代码

qcacmn: Remove 6G domain check on Maschan list

If a country does not support 6G, then the 6G channel list is not
appended to the master channel list. Due to this, 6G center frequency
in the master channel list is zero. This leads to the problem in the
intersection of channels and chip range in the 5G Radio.

When the target sends the WMI_REG_CHAN_LIST_CC_EXT_EVENT, do not set
the is_6g_channel_list_populated flag based on the presence of a 6G
subdomain code. The flag should be set to true whenever the event is
received.

Change-Id: Ice714c961512fc1d86f8553b9870ab7385bbe9d5
CRs-Fixed: 3007334
Vijay Krishnan 3 年之前
父节点
当前提交
4637290552
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      umac/regulatory/core/src/reg_build_chan_list.c

+ 2 - 3
umac/regulatory/core/src/reg_build_chan_list.c

@@ -2104,9 +2104,8 @@ static void reg_store_regulatory_ext_info_to_socpriv(
 		soc_reg->domain_code_6g_ap[i] =
 		soc_reg->domain_code_6g_ap[i] =
 			regulat_info->domain_code_6g_ap[i];
 			regulat_info->domain_code_6g_ap[i];
 
 
-		if (soc_reg->domain_code_6g_ap[i])
-			soc_reg->mas_chan_params[phy_id].
-				is_6g_channel_list_populated = true;
+		soc_reg->mas_chan_params[phy_id].
+			is_6g_channel_list_populated = true;
 
 
 		qdf_mem_copy(soc_reg->domain_code_6g_client[i],
 		qdf_mem_copy(soc_reg->domain_code_6g_client[i],
 			     regulat_info->domain_code_6g_client[i],
 			     regulat_info->domain_code_6g_client[i],