Home
last modified time | relevance | path

Searched refs:targetPower (Results 1 – 6 of 6) sorted by relevance

/openthread-3.6.0/src/core/utils/
Dpower_calibration.cpp46 for (int16_t &targetPower : mTargetPowerTable) in PowerCalibration()
48 targetPower = kInvalidPower; in PowerCalibration()
145 int16_t targetPower; in GetPowerSettings() local
152 targetPower = mTargetPowerTable[chIndex]; in GetPowerSettings()
153 VerifyOrExit(targetPower != kInvalidPower, error = kErrorNotFound); in GetPowerSettings()
159 …if ((actualPower <= targetPower) && ((foundPower == kInvalidPower) || (foundPower <= actualPower))) in GetPowerSettings()
/openthread-3.6.0/src/posix/platform/
Dconfiguration.cpp179 Power::TargetPower targetPower; in UpdateTargetPower() local
183 while (GetNextTargetPower(aDomain, iterator, targetPower) == OT_ERROR_NONE) in UpdateTargetPower()
185 otLogInfoPlat("Update target power: %s\r\n", targetPower.ToString().AsCString()); in UpdateTargetPower()
187 for (uint8_t ch = targetPower.GetChannelStart(); ch <= targetPower.GetChannelEnd(); ch++) in UpdateTargetPower()
189 …SuccessOrExit(error = otPlatRadioSetChannelTargetPower(gInstance, ch, targetPower.GetTargetPower()… in UpdateTargetPower()
Dradio.cpp735 int targetPower; in otPlatDiagRadioGetPowerSettings() local
747 …VerifyOrExit(sscanf(output, fmt, &targetPower, &actualPower, rawPowerSetting) == 3, error = OT_ERR… in otPlatDiagRadioGetPowerSettings()
750 *aTargetPower = static_cast<int16_t>(targetPower); in otPlatDiagRadioGetPowerSettings()
/openthread-3.6.0/tools/ot-fct/
Dcli.cpp108 Power::TargetPower targetPower; in ProcessTargetPowerTable() local
110 while (GetNextTargetPower(domain, iter, targetPower) == OT_ERROR_NONE) in ProcessTargetPowerTable()
112 … printf("| %-8s | %-7d | %-7d | %-20d |\r\n", domain.AsCString(), targetPower.GetChannelStart(), in ProcessTargetPowerTable()
113 targetPower.GetChannelEnd(), targetPower.GetTargetPower()); in ProcessTargetPowerTable()
/openthread-3.6.0/src/ncp/
Dncp_base.cpp2678 int16_t targetPower; in HandlePropertySet() local
2681 SuccessOrExit(error = mDecoder.ReadInt16(targetPower)); in HandlePropertySet()
2682 error = otPlatRadioSetChannelTargetPower(mInstance, channel, targetPower); in HandlePropertySet()
/openthread-3.6.0/src/lib/spinel/
Dradio_spinel.cpp3025 int16_t targetPower; in LogSpinelFrame() local
3028 …atatype_unpack(data, len, SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_INT16_S, &channel, &targetPower); in LogSpinelFrame()
3030 …printf(start, static_cast<uint32_t>(end - start), ", ch:%u, targetPower:%d", channel, targetPower); in LogSpinelFrame()