ieee802154: Set devmode to endpoint on MAC layer reset
This commit is contained in:
parent
a846459bec
commit
e466ade385
@ -134,24 +134,8 @@ int mac802154_req_reset(MACHANDLE mac, bool resetattr)
|
|||||||
&attr);
|
&attr);
|
||||||
priv->max_frame_waittime = attr.mac.max_frame_waittime;
|
priv->max_frame_waittime = attr.mac.max_frame_waittime;
|
||||||
|
|
||||||
/* These attributes are effected and determined based on the PHY. Need to
|
mac802154_setdevmode(priv, IEEE802154_DEVMODE_ENDPOINT);
|
||||||
* figure out how to "share" attributes between the radio driver and this
|
|
||||||
* MAC layer
|
|
||||||
*
|
|
||||||
* macAckWaitDuration
|
|
||||||
* macBattLifeExtPeriods
|
|
||||||
* macMaxFrameTotalWaitTime
|
|
||||||
* macLIFSPeriod
|
|
||||||
* macSIFSPeriod
|
|
||||||
* macSyncSymbolOffset
|
|
||||||
* macTimestampSupported
|
|
||||||
* macTxControlActiveDuration
|
|
||||||
* macTxControlPauseDuration
|
|
||||||
* macRxOnWhenIdle
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user