Преглед изворни кода

qcacld-3.0: Search class from global opclass also

While querying for the channel width, the opclass is
extracted from the country opclass. If opclass is not
found then 20Mhz channel width is considered for connection.
This fails the cert test case when AP sends the global
opclass in ECSA.

Change is done to search in the global opclass if the
opclass is not found in the country specific opclass.

CRs-Fixed: 2768075
Change-Id: I24b585af7174a31fe800d6453bbfe18dc5f24af1
Sachin Ahuja пре 4 година
родитељ
комит
0dc264f36e
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      core/mac/src/pe/lim/lim_send_sme_rsp_messages.c

+ 2 - 2
core/mac/src/pe/lim/lim_send_sme_rsp_messages.c

@@ -1680,7 +1680,7 @@ void lim_handle_csa_offload_msg(struct mac_context *mac_ctx,
 					 csa_params->new_op_class, true);
 			} else {
 				chan_space =
-				wlan_reg_dmn_get_chanwidth_from_opclass(
+				wlan_reg_dmn_get_chanwidth_from_opclass_auto(
 						country_code,
 						csa_params->channel,
 						csa_params->new_op_class);
@@ -1753,7 +1753,7 @@ void lim_handle_csa_offload_msg(struct mac_context *mac_ctx,
 		if (csa_params->ies_present_flag
 				& lim_xcsa_ie_present) {
 			chan_space =
-				wlan_reg_dmn_get_chanwidth_from_opclass(
+				wlan_reg_dmn_get_chanwidth_from_opclass_auto(
 						country_code,
 						csa_params->channel,
 						csa_params->new_op_class);