Handling per-country tx_power calibration

1. Per-country Tx power calibrations can be provided by
COUNTRY_CODE_CAPS and/or Extra Cal TX power.

When COUNTRY_CODE_CAPS has country-specific tx_power_offset and
upper-layer sent SET_DEVICE_CALIBRATION_CMD to HAL, use it as
per-country tx power calibration.

Otherwise, use absolute tx power values from extra calibration
parameter `cal.antX.chY.tx_power`.

2. Rename function names for those related with COUNTRY_CODE_CAPS.
- phNxpUciHal_updateTxPower()      --> CountryCodeCapsGenTxPowerPacket()
- phNxpUciHal_setCalibParamTxPower --> CountryCodeCapsApplyTxPower()

3. Cleanup in CORE_GET_CAPS_INFO_RSP.
Remove global variables `conf_map` and `input_map`,
use Tlv helper functions instead.

Bug: 321604848
Bug: 321157817
Test: check tx_power_offset was applied when gtx_power[]
      and COUNTRY_CODE_CAPS was provided.
Change-Id: Ia901cbd932184eb5ce0ecac17aa168083bd08362
6 files changed
tree: ca8649a887b343670c77566495cc51e98d2d4fc3
  1. aidl/
  2. extns/
  3. halimpl/
  4. Android.bp