Implement the use of otPlatRadioDefaultTxPower API. (#1417)

* Implement the use of otPlatRadioDefaultTxPower API.

* Add implementation of otPlatRadioSetDefaultTxPower for windows.
This commit is contained in:
pvanhorn
2017-03-03 11:09:33 -08:00
committed by Jonathan Hui
parent d4718dbeae
commit 04caca7cc8
9 changed files with 70 additions and 0 deletions
+9
View File
@@ -407,6 +407,15 @@ int8_t otPlatRadioGetRssi(otInstance *aInstance);
*/
otRadioCaps otPlatRadioGetCaps(otInstance *aInstance);
/**
* Set the radio Tx power used for auto-generated frames.
*
* @param[in] aInstance The OpenThread instance structure.
* @param[in] aPower The Tx power to use in dBm.
*
*/
void otPlatRadioSetDefaultTxPower(otInstance *aInstance, int8_t aPower);
/**
* Get the status of promiscuous mode.
*