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
This commit is contained in:

committed by
snandini

orang tua
f0a8792a0d
melakukan
0dc264f36e
@@ -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);
|
||||
|
Reference in New Issue
Block a user