• Luis R. Rodriguez's avatar
    ath9k_hw: Fix regulatory CTL index usage for AR9003 · 824b185a
    Luis R. Rodriguez authored
    AR9003 was not relying on the CTL indexes from the EEPROM for capping the
    max output power. The CTL indexes from the EEPROM provide calibrated
    limits for output power for each tested and supported frequency. Without
    this the device operates at a power level which only conforms to the
    transmit spectrum mask as specified by IEEE Annex I.2.3.
    
    The regulatory limit by CRDA is always used but does not provide
    calibrated values for optimal performance, specially on band edges.
    Using the calibrated data from the EEPROM ensures the device
    operates at optimal output power while still ensuring proper
    regulatory compliance. The device uses the minimum of these tree
    values, the value from CRDA, the calibrated value from CTL indexex,
    and the value to conform to the IEEE transmit spectrum mask.
    Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    824b185a
ar9003_eeprom.c 62.7 KB