c3bb3fb37a5b043cb997311919d421223149c826

API reg_get_channels_from_opclassmap populates channels from opclass map to reg_ap_cap as supported and non-supported channels. But for 6g opclass 133 and 134, non-supported channels were also getting reported as supported channels. This was due to an error in the logic of reg_get_channels_from_opclassmap API for opclass 133 and 134. The 20Mhz channels towards the end of the channel list in the op_class_tbl were causing the issue. To address this issue, add a logic to get the supported and non-supported channels from the cfi list object of op_class_tbl for 6GHz in the reg_get_channels_from_opclassmap API. Also remove the 40MHz centre channel calculation condition for 6GHz in reg_get_chan_or_chan_center API as it is being handled in the new API. CRs-Fixed: 3133022 Change-Id: If6ea18f79786c8549a1c75c557adffa178dd5c71
This is CNSS WLAN Host Driver for products starting from iHelium
Description
Langue
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%