Searched refs:targetPower (Results 1 – 6 of 6) sorted by relevance
/openthread-3.6.0/src/core/utils/ |
D | power_calibration.cpp | 46 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/ |
D | configuration.cpp | 179 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()
|
D | radio.cpp | 735 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/ |
D | cli.cpp | 108 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/ |
D | ncp_base.cpp | 2678 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/ |
D | radio_spinel.cpp | 3025 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()
|