[WCNCR00146539] regd: Change TxPwrLimit function
Change TxPwrLimit function:
1. Remove the dependency of channel list on reg settings. The supported
channel lists are defined in TX_PWR_LIMIT_2G_CH and TX_PWR_LIMIT_5G_CH
2. Split the CMD_ID_SET_COUNTRY_POWER_LIMIT FW cmd if the number of
channel contained in th cmd exceeds 32
3. Add log.
i. Print all the loaded values in log if the RLM TRACE log class is
enabled.
ii. Print the specified Country Code while the table is found.
4. Relax the TxPwrLimit parsing rules. If user add unsupported channel
in TxPwrLimit dat file, the whole line will be skipped and continue to
process the next line.
5. Move the first call of rlmDomainSendInfoToFirmware to be later than
loading Efuse, or the TxPwrLimit check in FW will failed because no
default setting from Efuse can be referred to.
Change-Id: I078b9264b873b43ab62698fcc32388d6dcc6d364
Feature: regd
Signed-off-by: Awk Jiang <awk.jiang@mediatek.com>
CR-Id: WCNCR00146539
4 files changed