qcacmn: Set global_tbl_lookup to true if country opclass is global

In function reg_freq_width_to_chan_op_class_auto, global_tbl_lookup is set
to false for 2.4 GHz and 5 GHz without considering the global opclass set
by user command. This results in wrong opclass information in eCSA.

Add an api to check if global opclass is set and update global_tbl_lookup
accordingly in reg_freq_width_to_chan_op_class_auto.

Change-Id: I069131d6068fb546f2b59f1e752a3c8c50f15759
CRs-Fixed: 3168817
Esse commit está contido em:
Amith Ajith
2022-05-17 10:32:08 +05:30
commit de Madan Koyyalamudi
commit 70e862a7ef
3 arquivos alterados com 36 adições e 1 exclusões

Ver arquivo

@@ -1184,6 +1184,8 @@ QDF_STATUS target_if_register_regulatory_tx_ops(
reg_ops->set_tpc_power = tgt_if_regulatory_set_tpc_power;
reg_ops->get_opclass_tbl_idx = NULL;
tgt_if_register_afc_callback(reg_ops);
reg_ops->is_chip_11be = tgt_if_reg_is_chip_11be_cap;