mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Make sure that labeling is used consistently in all function headers.
This commit is contained in:
@@ -135,10 +135,10 @@ static bool g_poolinit = false;
|
||||
* be called early in the initialization sequence before any radios
|
||||
* begin operation.
|
||||
*
|
||||
* Inputs:
|
||||
* Input Parameters:
|
||||
* None
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
@@ -224,10 +224,10 @@ void ieee802154_primitivepool_initialize(void)
|
||||
* list. If that the list is empty, then the primitive structure will be
|
||||
* allocated from the dynamic memory pool.
|
||||
*
|
||||
* Inputs:
|
||||
* Input Parameters:
|
||||
* None
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* A reference to the allocated primitive structure. All user fields in this
|
||||
* structure have been zeroed. On a failure to allocate, NULL is
|
||||
* returned.
|
||||
@@ -341,10 +341,10 @@ FAR struct ieee802154_primitive_s *ieee802154_primitive_allocate(void)
|
||||
* structure. If the primitive structure was allocated dynamically it will
|
||||
* be deallocated.
|
||||
*
|
||||
* Inputs:
|
||||
* Input Parameters:
|
||||
* prim - primitive structure to free
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -846,7 +846,7 @@ static int mac802154dev_rxframe(FAR struct mac802154_chardevice_s *dev,
|
||||
* minor - The device minor number. The IEEE802.15.4 MAC character device
|
||||
* will be registered as /dev/ieeeN where N is the minor number
|
||||
*
|
||||
* Returned Values:
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success. Otherwise a negated errno value is
|
||||
* returned to indicate the nature of the failure.
|
||||
*
|
||||
|
||||
@@ -888,7 +888,7 @@ static int lo_ioctl(FAR struct net_driver_s *dev, int cmd,
|
||||
* Description:
|
||||
* Calculate the MAC header length given the frame meta-data.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* netdev - The networkd device that will mediate the MAC interface
|
||||
* meta - Obfuscated metadata structure needed to create the radio
|
||||
* MAC header
|
||||
@@ -911,7 +911,7 @@ static int lo_get_mhrlen(FAR struct radio_driver_s *netdev,
|
||||
* Description:
|
||||
* Requests the transfer of a list of frames to the MAC.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* netdev - The networkd device that will mediate the MAC interface
|
||||
* meta - Obfuscated metadata structure needed to create the radio
|
||||
* MAC header
|
||||
@@ -983,7 +983,7 @@ static int lo_req_data(FAR struct radio_driver_s *netdev,
|
||||
* run time. This information is provided to the 6LoWPAN network via the
|
||||
* following structure.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* netdev - The network device to be queried
|
||||
* properties - Location where radio properities will be returned.
|
||||
*
|
||||
|
||||
@@ -664,7 +664,7 @@ static void macnet_txpoll_expiry(int argc, wdparm_t arg, ...)
|
||||
* Description:
|
||||
* Get the extended address of the PAN coordinator.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* radio - Reference to a radio network driver state instance.
|
||||
* eaddr - The location in which to return the extended address.
|
||||
*
|
||||
@@ -701,7 +701,7 @@ static int macnet_coord_eaddr(FAR struct radio_driver_s *radio,
|
||||
* Description:
|
||||
* Get the short address of the PAN coordinator.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* radio - Reference to a radio network driver state instance.
|
||||
* saddr - The location in which to return the short address.
|
||||
*
|
||||
@@ -1169,7 +1169,7 @@ static int macnet_ioctl(FAR struct net_driver_s *dev, int cmd,
|
||||
* Description:
|
||||
* Calculate the MAC header length given the frame meta-data.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* netdev - The networkd device that will mediate the MAC interface
|
||||
* meta - Obfuscated metadata structure needed to create the radio
|
||||
* MAC header
|
||||
@@ -1198,7 +1198,7 @@ static int macnet_get_mhrlen(FAR struct radio_driver_s *netdev,
|
||||
* Description:
|
||||
* Requests the transfer of a list of frames to the MAC.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* netdev - The networkd device that will mediate the MAC interface
|
||||
* meta - Obfuscated metadata structure needed to create the radio
|
||||
* MAC header
|
||||
@@ -1280,7 +1280,7 @@ static int macnet_req_data(FAR struct radio_driver_s *netdev,
|
||||
* run time. This information is provided to the 6LoWPAN network via the
|
||||
* following structure.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* netdev - The network device to be queried
|
||||
* properties - Location where radio properities will be returned.
|
||||
*
|
||||
@@ -1357,7 +1357,7 @@ static int macnet_properties(FAR struct radio_driver_s *netdev,
|
||||
* Input Parameters:
|
||||
* mac - Pointer to the mac layer struct to be registered.
|
||||
*
|
||||
* Returned Values:
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success. Otherwise a negated errno value is
|
||||
* returned to indicate the nature of the failure.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user