[mac] rename methods requesting frame transmission (#3909)

This commit is contained in:
Abtin Keshavarzian
2019-06-12 08:36:54 -07:00
committed by Jonathan Hui
parent 485ab9ed38
commit d614d4a080
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -422,7 +422,7 @@ otError otLinkOutOfBandTransmitRequest(otInstance *aInstance, otRadioFrame *aOob
{
Instance &instance = *static_cast<Instance *>(aInstance);
return instance.Get<Mac::Mac>().SendOutOfBandFrameRequest(aOobFrame);
return instance.Get<Mac::Mac>().RequestOutOfBandFrameTransmission(aOobFrame);
}
uint16_t otLinkGetCcaFailureRate(otInstance *aInstance)
+2 -2
View File
@@ -478,7 +478,7 @@ exit:
return;
}
otError Mac::SendFrameRequest(void)
otError Mac::RequestFrameTransmission(void)
{
otError error = OT_ERROR_NONE;
@@ -491,7 +491,7 @@ exit:
return error;
}
otError Mac::SendOutOfBandFrameRequest(otRadioFrame *aOobFrame)
otError Mac::RequestOutOfBandFrameTransmission(otRadioFrame *aOobFrame)
{
otError error = OT_ERROR_NONE;
+2 -2
View File
@@ -215,7 +215,7 @@ public:
* @retval OT_ERROR_INVALID_STATE The MAC layer is not enabled.
*
*/
otError SendFrameRequest(void);
otError RequestFrameTransmission(void);
/**
* This method requests an Out of Band frame for MAC Transmission.
@@ -230,7 +230,7 @@ public:
* @retval OT_ERROR_INVALID_ARGS The argument @p aOobFrame is NULL.
*
*/
otError SendOutOfBandFrameRequest(otRadioFrame *aOobFrame);
otError RequestOutOfBandFrameTransmission(otRadioFrame *aOobFrame);
/**
* This method returns a reference to the IEEE 802.15.4 Extended Address.
+1 -1
View File
@@ -189,7 +189,7 @@ void MeshForwarder::ScheduleTransmissionTask(void)
mSendMessageMaxCsmaBackoffs = Mac::kMaxCsmaBackoffsDirect;
mSendMessageMaxFrameRetries = Mac::kMaxFrameRetriesDirect;
Get<Mac::Mac>().SendFrameRequest();
Get<Mac::Mac>().RequestFrameTransmission();
ExitNow();
}
+1 -1
View File
@@ -432,7 +432,7 @@ otError MeshForwarder::GetIndirectTransmission(void)
mIndirectStartingChild = &child;
Get<Mac::Mac>().SendFrameRequest();
Get<Mac::Mac>().RequestFrameTransmission();
ExitNow(error = OT_ERROR_NONE);
}