Home
last modified time | relevance | path

Searched refs:aPower (Results 1 – 9 of 9) sorted by relevance

/external/openthread/src/core/radio/
Dmax_power_table.hpp61 …oid SetTransmitPower(uint8_t aChannel, int8_t aPower) { mPowerTable[aChannel - Radio::kChannelMin]… in SetTransmitPower() argument
Dradio.hpp315 Error GetTransmitPower(int8_t &aPower);
326 Error SetTransmitPower(int8_t aPower);
731 inline Error Radio::GetTransmitPower(int8_t &aPower) in GetTransmitPower() argument
733 return otPlatRadioGetTransmitPower(GetInstancePtr(), &aPower); in GetTransmitPower()
736 inline Error Radio::SetTransmitPower(int8_t aPower) in SetTransmitPower() argument
738 return otPlatRadioSetTransmitPower(GetInstancePtr(), aPower); in SetTransmitPower()
/external/openthread/tests/fuzz/
Dfuzzer_platform.cpp324 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower) in otPlatRadioGetTransmitPower() argument
327 OT_UNUSED_VARIABLE(aPower); in otPlatRadioGetTransmitPower()
407 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower) in otPlatRadioSetTransmitPower() argument
410 OT_UNUSED_VARIABLE(aPower); in otPlatRadioSetTransmitPower()
/external/openthread/src/posix/platform/
Dradio.cpp420 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower) in otPlatRadioGetTransmitPower() argument
423 assert(aPower != nullptr); in otPlatRadioGetTransmitPower()
424 return sRadioSpinel.GetTransmitPower(*aPower); in otPlatRadioGetTransmitPower()
427 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower) in otPlatRadioSetTransmitPower() argument
430 return sRadioSpinel.SetTransmitPower(aPower); in otPlatRadioSetTransmitPower()
/external/openthread/src/lib/spinel/
Dradio_spinel.hpp212 otError GetTransmitPower(int8_t &aPower);
224 otError SetTransmitPower(int8_t aPower);
792 otError SetChannelMaxTransmitPower(uint8_t aChannel, int8_t aPower);
Dradio_spinel_impl.hpp1376 otError RadioSpinel<InterfaceType, ProcessContextType>::GetTransmitPower(int8_t &aPower) in GetTransmitPower() argument
1378 otError error = Get(SPINEL_PROP_PHY_TX_POWER, SPINEL_DATATYPE_INT8_S, &aPower); in GetTransmitPower()
1481 otError RadioSpinel<InterfaceType, ProcessContextType>::SetTransmitPower(int8_t aPower) in SetTransmitPower() argument
1485 SuccessOrExit(error = Set(SPINEL_PROP_PHY_TX_POWER, SPINEL_DATATYPE_INT8_S, aPower)); in SetTransmitPower()
1488 mTransmitPower = aPower; in SetTransmitPower()
/external/openthread/examples/platforms/cc2538/
Dradio.c1220 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower) in otPlatRadioGetTransmitPower() argument
1226 otEXPECT_ACTION(aPower != NULL, error = OT_ERROR_INVALID_ARGS); in otPlatRadioGetTransmitPower()
1227 *aPower = sTxPower; in otPlatRadioGetTransmitPower()
1233 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower) in otPlatRadioSetTransmitPower() argument
1237 setTxPower(aPower); in otPlatRadioSetTransmitPower()
/external/openthread/include/openthread/platform/
Dradio.h495 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower);
510 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower);
/external/openthread/examples/platforms/simulation/
Dradio.c1045 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower) in otPlatRadioGetTransmitPower() argument
1053 *aPower = sTxPower < maxPower ? sTxPower : maxPower; in otPlatRadioGetTransmitPower()
1058 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower) in otPlatRadioSetTransmitPower() argument
1064 sTxPower = aPower; in otPlatRadioSetTransmitPower()