Skip to content
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
* Private Types * Private Types
****************************************************************************/ ****************************************************************************/
/* This is our private version of the MAC callback stucture */ /* This is our private version of the MAC callback structure */
struct macnet_callback_s struct macnet_callback_s
{ {
...@@ -1170,12 +1170,12 @@ static int macnet_ioctl(FAR struct net_driver_s *dev, int cmd, ...@@ -1170,12 +1170,12 @@ static int macnet_ioctl(FAR struct net_driver_s *dev, int cmd,
* Calculate the MAC header length given the frame meta-data. * Calculate the MAC header length given the frame meta-data.
* *
* Input Parameters: * Input Parameters:
* netdev - The networkd device that will mediate the MAC interface * netdev - The network device that will mediate the MAC interface
* meta - Obfuscated metadata structure needed to create the radio * meta - Obfuscated metadata structure needed to create the radio
* MAC header * MAC header
* *
* Returned Value: * Returned Value:
* A non-negative MAC headeer length is returned on success; a negated * A non-negative MAC header length is returned on success; a negated
* errno value is returned on any failure. * errno value is returned on any failure.
* *
****************************************************************************/ ****************************************************************************/
...@@ -1199,7 +1199,7 @@ static int macnet_get_mhrlen(FAR struct radio_driver_s *netdev, ...@@ -1199,7 +1199,7 @@ static int macnet_get_mhrlen(FAR struct radio_driver_s *netdev,
* Requests the transfer of a list of frames to the MAC. * 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 * netdev - The network device that will mediate the MAC interface
* meta - Obfuscated metadata structure needed to create the radio * meta - Obfuscated metadata structure needed to create the radio
* MAC header * MAC header
* framelist - Head of a list of frames to be transferred. * framelist - Head of a list of frames to be transferred.
...@@ -1282,7 +1282,7 @@ static int macnet_req_data(FAR struct radio_driver_s *netdev, ...@@ -1282,7 +1282,7 @@ static int macnet_req_data(FAR struct radio_driver_s *netdev,
* *
* Input Parameters: * Input Parameters:
* netdev - The network device to be queried * netdev - The network device to be queried
* properties - Location where radio properities will be returned. * properties - Location where radio properties will be returned.
* *
* Returned Value: * Returned Value:
* Zero (OK) returned on success; a negated errno value is returned on * Zero (OK) returned on success; a negated errno value is returned on
...@@ -1419,7 +1419,7 @@ int mac802154netdev_register(MACHANDLE mac) ...@@ -1419,7 +1419,7 @@ int mac802154netdev_register(MACHANDLE mac)
radio->r_get_mhrlen = macnet_get_mhrlen; /* Get MAC header length */ radio->r_get_mhrlen = macnet_get_mhrlen; /* Get MAC header length */
radio->r_req_data = macnet_req_data; /* Enqueue frame for transmission */ radio->r_req_data = macnet_req_data; /* Enqueue frame for transmission */
radio->r_properties = macnet_properties; /* Return radio properies */ radio->r_properties = macnet_properties; /* Return radio properties */
/* Initialize fields related to MAC event handling */ /* Initialize fields related to MAC event handling */
......