+ if(ao_config.radio_10mw != last_radio_10mw) {
+ last_radio_10mw = ao_config.radio_10mw;
+ /*
+ * 0x37 "should" be 10dBm, but measurements on TBT
+ * v4.0 show that too hot by a about 1.5dB, so use
+ * 0x34 to make sure we're in spec.
+ */
+ if (ao_config.radio_10mw)
+ ao_radio_reg_write(CC1200_PA_CFG1, 0x34);
+ else
+ ao_radio_reg_write(CC1200_PA_CFG1, 0x3f);
+ }