Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

This module defines all the MAC Data Structures.

Modules

 MAC Core Layer(MCL)
 The MAC Core Layer (MCL) abstracts and implements IEEE 802.15.4-2006 compliant behavior for non-beacon enabled and beacon-enabled network support.
 
 MAC Definitions
 All Definitions used by the MAC Layer is described here.
 

Data Structures

union  frame_payload_t
 General Command frame payload type. More...
 
struct  gts_char_tag
 
struct  mac_assoc_req_tag
 Association Request type. More...
 
struct  mac_assoc_response_tag
 Association Response type. More...
 
struct  mac_beacon_payload_tag
 Beacon Payload type. More...
 
struct  mac_coord_realign_tag
 Coordinator Realignment type. More...
 
struct  mac_data_payload_tag
 Data Payload type. More...
 
struct  mac_dev_gts_mgmt_tag
 Device GTS table structure. More...
 
struct  mac_disassoc_req_tag
 Disassociation Request type. More...
 
struct  mac_gts_desc_tag
 
struct  mac_gts_list_tag
 
struct  mac_gts_spec_tag
 
struct  mac_pan_gts_mgmt_tag
 PANC GTS table structure. More...
 
struct  mac_pib_tag
 
struct  mcps_data_conf_tag
 This is the MCPS-DATA.confirm message structure. More...
 
struct  mcps_data_ind_tag
 This is the MCPS-DATA.indication message structure. More...
 
struct  mcps_data_req_tag
 This is the MCPS-DATA.request message structure. More...
 
struct  mcps_purge_conf_tag
 This is the MCPS-PURGE.confirm message structure. More...
 
struct  mcps_purge_req_tag
 This is the MCPS-PURGE.request message structure. More...
 
struct  mlme_associate_conf_tag
 This is the MLME-ASSOCIATE.confirm message structure. More...
 
struct  mlme_associate_ind_tag
 This is the MLME-ASSOCIATE.indication message structure. More...
 
struct  mlme_associate_req_tag
 This is the MLME-ASSOCIATE.request message structure. More...
 
struct  mlme_associate_resp_tag
 This is the MLME-ASSOCIATE.response message structure. More...
 
struct  mlme_beacon_notify_ind_tag
 This is the MLME-BEACON-NOTIFY.indication message structure. More...
 
struct  mlme_comm_status_ind_tag
 This is the MLME-COMM-STATUS.indication message structure. More...
 
struct  mlme_disassociate_conf_tag
 This is the MLME-DISASSOCIATE.confirm message structure. More...
 
struct  mlme_disassociate_ind_tag
 This is the MLME-DISASSOCIATE.indication message structure. More...
 
struct  mlme_disassociate_req_tag
 This is the MLME-DISASSOCIATE.request message structure. More...
 
struct  mlme_get_conf_tag
 This is the MLME-GET.confirm message structure. More...
 
struct  mlme_get_req_tag
 This is the MLME-GET.request message structure. More...
 
struct  mlme_gts_conf_tag
 This is the MLME-GTS.confirm message structure. More...
 
struct  mlme_gts_ind_tag
 This is the MLME-GTS.indication message structure. More...
 
struct  mlme_gts_req_tag
 This is the MLME-GTS.request message structure. More...
 
struct  mlme_orphan_ind_tag
 This is the MLME-ORPHAN.indication message structure. More...
 
struct  mlme_orphan_resp_tag
 This is the MLME-ORPHAN.response message structure. More...
 
struct  mlme_poll_conf_tag
 This is the MLME-POLL.confirm message structure. More...
 
struct  mlme_poll_req_tag
 This is the MLME-POLL.request message structure. More...
 
struct  mlme_reset_conf_tag
 This is the MLME-RESET.confirm message structure. More...
 
struct  mlme_reset_req_tag
 This is the MLME-RESET.request message structure. More...
 
struct  mlme_rx_enable_conf_tag
 This is the MLME-RX-ENABLE.confirm message structure. More...
 
struct  mlme_rx_enable_req_tag
 This is the MLME-RX-ENABLE.request message structure. More...
 
struct  mlme_scan_conf_tag
 This is the MLME-SCAN.confirm message structure. More...
 
struct  mlme_scan_req_tag
 This is the MLME-SCAN.request message structure. More...
 
struct  mlme_start_conf_tag
 This is the MLME-START.confirm message structure. More...
 
struct  mlme_start_req_tag
 This is the MLME-START.request message structure. More...
 
struct  mlme_sync_loss_ind_tag
 This is the MLME-SYNC-LOSS.indication message structure. More...
 
struct  mlme_sync_req_tag
 This is the MLME-SYNC.request message structure. More...
 
struct  parse_tag
 
union  scan_result_list_t
 Union to force alignment of variable portion of scan confirm with wpan_pandescriptor_t. More...
 
struct  sec_ctrl_tag
 Structure containing auxiliary security header information. More...
 
struct  wpan_addr_spec_tag
 Device address specification structure. More...
 
struct  wpan_pandescriptor_tag
 PAN descriptor information structure. More...
 

Typedefs

typedef struct gts_char_tag gts_char_t
 
typedef enum gts_state_tag gts_state_t
 
typedef struct mac_assoc_req_tag mac_assoc_req_t
 Association Request type. More...
 
typedef struct
mac_assoc_response_tag 
mac_assoc_response_t
 Association Response type. More...
 
typedef struct
mac_beacon_payload_tag 
mac_beacon_payload_t
 Beacon Payload type. More...
 
typedef struct
mac_coord_realign_tag 
mac_coord_realign_t
 Coordinator Realignment type. More...
 
typedef struct mac_data_payload_tag mac_data_payload_t
 Data Payload type. More...
 
typedef __PACK__DATA__ struct
mac_dev_gts_mgmt_tag 
mac_dev_gts_mgmt_t
 Device GTS table structure. More...
 
typedef struct mac_disassoc_req_tag mac_disassoc_req_t
 Disassociation Request type. More...
 
typedef struct mac_gts_list_tag mac_gts_list_t
 
typedef struct mac_gts_spec_tag mac_gts_spec_t
 
typedef struct mac_gts_desc_tag mac_gtsDesc_t
 
typedef struct mac_pan_gts_mgmt_tag mac_pan_gts_mgmt_t
 PANC GTS table structure. More...
 
typedef struct mac_pib_tag mac_pib_t
 
typedef struct mcps_data_conf_tag mcps_data_conf_t
 This is the MCPS-DATA.confirm message structure. More...
 
typedef __PACK__DATA__ struct
mcps_data_ind_tag 
mcps_data_ind_t
 This is the MCPS-DATA.indication message structure. More...
 
typedef struct mcps_data_req_tag mcps_data_req_t
 This is the MCPS-DATA.request message structure. More...
 
typedef struct mcps_purge_conf_tag mcps_purge_conf_t
 This is the MCPS-PURGE.confirm message structure. More...
 
typedef struct mcps_purge_req_tag mcps_purge_req_t
 This is the MCPS-PURGE.request message structure. More...
 
typedef struct
mlme_associate_conf_tag 
mlme_associate_conf_t
 This is the MLME-ASSOCIATE.confirm message structure. More...
 
typedef struct
mlme_associate_ind_tag 
mlme_associate_ind_t
 This is the MLME-ASSOCIATE.indication message structure. More...
 
typedef struct
mlme_associate_req_tag 
mlme_associate_req_t
 This is the MLME-ASSOCIATE.request message structure. More...
 
typedef struct
mlme_associate_resp_tag 
mlme_associate_resp_t
 This is the MLME-ASSOCIATE.response message structure. More...
 
typedef struct
mlme_beacon_notify_ind_tag 
mlme_beacon_notify_ind_t
 This is the MLME-BEACON-NOTIFY.indication message structure. More...
 
typedef struct
mlme_comm_status_ind_tag 
mlme_comm_status_ind_t
 This is the MLME-COMM-STATUS.indication message structure. More...
 
typedef struct
mlme_disassociate_conf_tag 
mlme_disassociate_conf_t
 This is the MLME-DISASSOCIATE.confirm message structure. More...
 
typedef struct
mlme_disassociate_ind_tag 
mlme_disassociate_ind_t
 This is the MLME-DISASSOCIATE.indication message structure. More...
 
typedef struct
mlme_disassociate_req_tag 
mlme_disassociate_req_t
 This is the MLME-DISASSOCIATE.request message structure. More...
 
typedef struct mlme_get_conf_tag mlme_get_conf_t
 This is the MLME-GET.confirm message structure. More...
 
typedef struct mlme_get_req_tag mlme_get_req_t
 This is the MLME-GET.request message structure. More...
 
typedef struct mlme_gts_conf_tag mlme_gts_conf_t
 This is the MLME-GTS.confirm message structure. More...
 
typedef struct mlme_gts_ind_tag mlme_gts_ind_t
 This is the MLME-GTS.indication message structure. More...
 
typedef struct mlme_gts_req_tag mlme_gts_req_t
 This is the MLME-GTS.request message structure. More...
 
typedef struct mlme_orphan_ind_tag mlme_orphan_ind_t
 This is the MLME-ORPHAN.indication message structure. More...
 
typedef struct mlme_orphan_resp_tag mlme_orphan_resp_t
 This is the MLME-ORPHAN.response message structure. More...
 
typedef struct mlme_poll_conf_tag mlme_poll_conf_t
 This is the MLME-POLL.confirm message structure. More...
 
typedef struct mlme_poll_req_tag mlme_poll_req_t
 This is the MLME-POLL.request message structure. More...
 
typedef struct mlme_reset_conf_tag mlme_reset_conf_t
 This is the MLME-RESET.confirm message structure. More...
 
typedef struct mlme_reset_req_tag mlme_reset_req_t
 This is the MLME-RESET.request message structure. More...
 
typedef struct
mlme_rx_enable_conf_tag 
mlme_rx_enable_conf_t
 This is the MLME-RX-ENABLE.confirm message structure. More...
 
typedef struct
mlme_rx_enable_req_tag 
mlme_rx_enable_req_t
 This is the MLME-RX-ENABLE.request message structure. More...
 
typedef struct mlme_scan_conf_tag mlme_scan_conf_t
 This is the MLME-SCAN.confirm message structure. More...
 
typedef struct mlme_scan_req_tag mlme_scan_req_t
 This is the MLME-SCAN.request message structure. More...
 
typedef struct mlme_start_conf_tag mlme_start_conf_t
 This is the MLME-START.confirm message structure. More...
 
typedef struct mlme_start_req_tag mlme_start_req_t
 This is the MLME-START.request message structure. More...
 
typedef struct
mlme_sync_loss_ind_tag 
mlme_sync_loss_ind_t
 This is the MLME-SYNC-LOSS.indication message structure. More...
 
typedef struct mlme_sync_req_tag mlme_sync_req_t
 This is the MLME-SYNC.request message structure. More...
 
typedef struct parse_tag parse_t
 
typedef struct sec_ctrl_tag sec_ctrl_t
 Structure containing auxiliary security header information. More...
 
typedef struct wpan_addr_spec_tag wpan_addr_spec_t
 Device address specification structure. More...
 
typedef struct
wpan_pandescriptor_tag 
wpan_pandescriptor_t
 PAN descriptor information structure. More...
 

Enumerations

enum  gts_state_tag {
  GTS_STATE_IDLE = 0,
  GTS_STATE_REQ_SENT,
  GTS_STATE_ALLOCATED
}
 

Functions

uint8_t mac_get_pib_attribute_size (uint8_t pib_attribute_id)
 Gets the size of a PIB attribute. More...
 
void usr_mlme_gts_conf (gts_char_t GtsChar, uint8_t status)
 
void usr_mlme_gts_ind (uint16_t DeviceAddr, gts_char_t GtsChar)
 

Variables

uint8_t sec_ctrl_tag::__pad0__: 3
 
uint8_t * mlme_beacon_notify_ind_tag::AddrList
 The list of addresses of the devices for which the beacon source has data. More...
 
mac_assoc_req_t frame_payload_t::assoc_req_data
 
mac_assoc_response_t frame_payload_t::assoc_response_data
 
uint8_t mac_assoc_response_tag::assoc_status
 
uint8_t mlme_orphan_resp_tag::AssociatedMember
 TRUE if the orphaned device is associated with this coordinator or FALSE otherwise. More...
 
uint16_t mlme_associate_resp_tag::AssocShortAddress
 The short device address allocated by the coordinator on successful association. More...
 
uint16_t mlme_associate_conf_tag::AssocShortAddress
 The short device address allocated by the coordinator on successful association. More...
 
uint8_t mlme_start_req_tag::BatteryLifeExtension
 If this value is TRUE, the receiver of the beaconing device is disabled macBattLifeExtPeriods full backoff periods after the interframe spacing (IFS) period of the beacon frame. More...
 
mac_beacon_payload_t frame_payload_t::beacon_data
 
uint8_t * mac_beacon_payload_tag::beacon_payload
 
uint8_t mac_beacon_payload_tag::beacon_payload_len
 
uint8_t mlme_start_req_tag::BeaconOrder
 How often the beacon is to be transmitted. More...
 
uint8_t mlme_beacon_notify_ind_tag::BSN
 The beacon sequence number. More...
 
uint8_t mac_assoc_req_tag::capability_info
 
uint8_t mlme_associate_req_tag::CapabilityInformation
 Specifies the operational capabilities of the associating device. More...
 
uint8_t mlme_associate_ind_tag::CapabilityInformation
 The operational capabilities of the device requesting association. More...
 
uint8_t mac_coord_realign_tag::channel_page
 
uint8_t mlme_associate_req_tag::ChannelPage
 The channel page on which to attempt association. More...
 
uint8_t mlme_scan_req_tag::ChannelPage
 The channel page on which to perform the scan. More...
 
uint8_t mlme_scan_conf_tag::ChannelPage
 The channel page on which the scan was performed. More...
 
uint8_t mlme_start_req_tag::ChannelPage
 The channel page on which to begin using the new superframe configuration. More...
 
uint8_t mlme_sync_req_tag::ChannelPage
 The channel page on which to attempt coordinator synchronization. More...
 
uint8_t mlme_sync_loss_ind_tag::ChannelPage
 The channel page on which the device lost synchronization or to which it was realigned. More...
 
enum msg_code mcps_data_req_tag::cmdcode
 < This identifies the message as MCPS_DATA_REQUEST More...
 
enum msg_code mcps_data_conf_tag::cmdcode
 < This identifies the message as MCPS_DATA_CONFIRM More...
 
enum msg_code mcps_data_ind_tag::cmdcode
 < This identifies the message as MCPS_DATA_INDICATION More...
 
enum msg_code mcps_purge_req_tag::cmdcode
 < This identifies the message as MCPS_PURGE_REQUEST More...
 
enum msg_code mcps_purge_conf_tag::cmdcode
 < This identifies the message as MCPS_PURGE_CONFIRM More...
 
enum msg_code mlme_associate_req_tag::cmdcode
 < This identifies the message as MLME_ASSOCIATE_REQUEST More...
 
enum msg_code mlme_associate_ind_tag::cmdcode
 This identifies the message as MLME_ASSOCIATE_INDICATION. More...
 
enum msg_code mlme_associate_resp_tag::cmdcode
 This identifies the message as MLME_ASSOCIATE_RESPONSE. More...
 
enum msg_code mlme_associate_conf_tag::cmdcode
 This identifies the message as MLME_ASSOCIATE_CONFIRM. More...
 
enum msg_code mlme_disassociate_req_tag::cmdcode
 This identifies the message as MLME_DISASSOCIATE_REQUEST. More...
 
enum msg_code mlme_disassociate_ind_tag::cmdcode
 This identifies the message as MLME_DISASSOCIATE_INDICATION. More...
 
enum msg_code mlme_disassociate_conf_tag::cmdcode
 This identifies the message as MLME_DISASSOCIATE_CONFIRM. More...
 
enum msg_code mlme_beacon_notify_ind_tag::cmdcode
 This identifies the message as MLME_BEACON_NOTIFY_INDICATION. More...
 
enum msg_code mlme_orphan_ind_tag::cmdcode
 This identifies the message as MLME_ORPHAN_INDICATION. More...
 
enum msg_code mlme_orphan_resp_tag::cmdcode
 This identifies the message as MLME_ORPHAN_RESPONSE. More...
 
enum msg_code mlme_reset_req_tag::cmdcode
 < This identifies the message as MLME_RESET_REQUEST More...
 
enum msg_code mlme_reset_conf_tag::cmdcode
 < This identifies the message as MLME_RESET_CONFIRM More...
 
enum msg_code mlme_get_req_tag::cmdcode
 < This identifies the message as MLME_GET_REQUEST More...
 
enum msg_code mlme_get_conf_tag::cmdcode
 < This identifies the message as MLME_GET_CONFIRM More...
 
enum msg_code mlme_rx_enable_req_tag::cmdcode
 This identifies the message as MLME_RX_ENABLE_REQUEST. More...
 
enum msg_code mlme_rx_enable_conf_tag::cmdcode
 This identifies the message as MLME_RX_ENABLE_CONFIRM. More...
 
enum msg_code mlme_scan_req_tag::cmdcode
 This identifies the message as MLME_SCAN_REQUEST. More...
 
enum msg_code mlme_scan_conf_tag::cmdcode
 This identifies the message as MLME_SCAN_CONFIRM. More...
 
enum msg_code mlme_comm_status_ind_tag::cmdcode
 This identifies the message as MLME_COMM_STATUS_INDICATION. More...
 
enum msg_code mlme_start_req_tag::cmdcode
 This identifies the message as MLME_START_REQUEST. More...
 
enum msg_code mlme_start_conf_tag::cmdcode
 This identifies the message as MLME_START_CONFIRM. More...
 
enum msg_code mlme_sync_req_tag::cmdcode
 This identifies the message as MLME_SYNC_REQUEST. More...
 
enum msg_code mlme_sync_loss_ind_tag::cmdcode
 This identifies the message as MLME_SYNC_LOSS_INDICATION. More...
 
enum msg_code mlme_poll_req_tag::cmdcode
 This identifies the message as MLME_POLL_REQUEST. More...
 
enum msg_code mlme_poll_conf_tag::cmdcode
 This identifies the message as MLME_POLL_CONFIRM. More...
 
enum msg_code mlme_gts_req_tag::cmdcode
 This identifies the message as MLME_GTS_REQUEST. More...
 
enum msg_code mlme_gts_conf_tag::cmdcode
 This identifies the message as MLME_GTS_CONFIRM. More...
 
enum msg_code mlme_gts_ind_tag::cmdcode
 This identifies the message as MLME_GTS_INDICATION. More...
 
mac_coord_realign_t frame_payload_t::coord_realign_data
 
uint16_t mac_coord_realign_tag::coord_short_addr
 
address_field_t mlme_associate_req_tag::CoordAddress
 The address of the coordinator with which to associate. More...
 
uint64_t mlme_poll_req_tag::CoordAddress
 The address of the coordinator to which the poll is intended. More...
 
uint8_t mlme_associate_req_tag::CoordAddrMode
 The coordinator addressing mode for this primitive and subsequent MPDU. More...
 
uint8_t mlme_poll_req_tag::CoordAddrMode
 The addressing mode of the coordinator to which the poll is intended. More...
 
uint16_t mlme_associate_req_tag::CoordPANId
 The identifier of the PAN with which to associate. More...
 
uint16_t mlme_poll_req_tag::CoordPANId
 The PAN identifier of the coordinator to which the poll is intended. More...
 
uint8_t mlme_start_req_tag::CoordRealignment
 TRUE if a coordinator realignment command is to be transmitted prior to changing the superframe configuration or FALSE otherwise. More...
 
mac_data_payload_t frame_payload_t::data
 
uint8_t mlme_rx_enable_req_tag::DeferPermit
 TRUE if the receiver enable can be deferred until during the next superframe if the requested time has already passed. More...
 
address_field_t parse_tag::dest_addr
 
uint8_t parse_tag::dest_addr_mode
 
uint16_t parse_tag::dest_panid
 
uint8_t mac_gts_list_tag::dev_addr [2]
 
uint16_t mlme_gts_ind_tag::DeviceAddr
 
uint64_t mlme_associate_ind_tag::DeviceAddress
 The address of the device requesting association. More...
 
uint64_t mlme_associate_resp_tag::DeviceAddress
 The address of the device requesting association. More...
 
uint64_t mlme_disassociate_req_tag::DeviceAddress
 The address of the device to which to send the disassociation notification command. More...
 
uint64_t mlme_disassociate_ind_tag::DeviceAddress
 The address of the device requesting disassociation. More...
 
uint64_t mlme_disassociate_conf_tag::DeviceAddress
 The address of the device that has either requested disassociation or been instructed to disassociate by its coordinator. More...
 
uint8_t mlme_disassociate_req_tag::DeviceAddrMode
 The addressing mode of the device to which to send the disassociation notification command. More...
 
uint8_t mlme_disassociate_conf_tag::DeviceAddrMode
 The addressing mode of the device that has either requested disassociation or been instructed to disassociate by its coordinator. More...
 
uint16_t mlme_disassociate_req_tag::DevicePANId
 The PAN identifier of the device to which to send the disassociation notification command. More...
 
uint16_t mlme_disassociate_conf_tag::DevicePANId
 The PAN identifier of the device that has either requested disassociation or been instructed to disassociate by its coordinator. More...
 
uint16_t mlme_gts_req_tag::DeviceShortAddr
 
uint16_t mac_pan_gts_mgmt_tag::DevShortAddr
 
uint8_t mac_disassoc_req_tag::disassoc_reason
 
mac_disassoc_req_t frame_payload_t::disassoc_req_data
 
uint8_t mlme_disassociate_req_tag::DisassociateReason
 The reason for the disassociation (see 7.3.1.3.2). More...
 
uint8_t mlme_disassociate_ind_tag::DisassociateReason
 The reason for the disassociation (see 7.3.1.3.2). More...
 
uint8_t mcps_data_ind_tag::DSN
 The DSN of the received data frame. More...
 
uint64_t mcps_data_req_tag::DstAddr
 The individual device address of the entity to which the MSDU is being transferred. More...
 
uint64_t mcps_data_ind_tag::DstAddr
 The individual device address of the entity to which the MSDU is being transferred. More...
 
uint64_t mlme_comm_status_ind_tag::DstAddr
 The individual device address of the device for which the frame was intended. More...
 
uint8_t mcps_data_req_tag::DstAddrMode
 The destination addressing mode for this primitive and subsequent MPDU. More...
 
uint8_t mcps_data_ind_tag::DstAddrMode
 The destination addressing mode for this primitive corresponding to the received MPDU. More...
 
uint8_t mlme_comm_status_ind_tag::DstAddrMode
 The destination addressing mode for this primitive. More...
 
uint16_t mcps_data_req_tag::DstPANId
 The 16 bit PAN identifier of the entity to which the MSDU is being transferred. More...
 
uint16_t mcps_data_ind_tag::DstPANId
 The 16 bit PAN identifier of the entity to which the MSDU is being transferred. More...
 
uint8_t scan_result_list_t::ed_value [1]
 
uint16_t mac_pan_gts_mgmt_tag::ExpiryCount
 
uint16_t parse_tag::fcf
 
uint8_t parse_tag::frame_type
 
queue_t * mac_pan_gts_mgmt_tag::gts_data_q
 
uint8_t mac_beacon_payload_tag::gts_direction
 
mac_gts_list_tmac_beacon_payload_tag::gts_list
 
gts_char_t frame_payload_t::gts_req_data
 
uint8_t mac_beacon_payload_tag::gts_spec
 
gts_char_t mlme_gts_req_tag::GtsChar
 
gts_char_t mlme_gts_conf_tag::GtsChar
 
gts_char_t mlme_gts_ind_tag::GtsChar
 The status of the data request. More...
 
mac_gtsDesc_t mac_pan_gts_mgmt_tag::GtsDesc
 
uint8_t mac_gts_spec_tag::GtsDescCount: 3
 
bool mac_gts_desc_tag::GtsDirection
 
uint8_t mac_dev_gts_mgmt_tag::GtsLength
 
uint8_t mac_gts_desc_tag::GtsLength
 
uint8_t mac_gts_spec_tag::GtsPermit: 1
 
uint8_t mac_dev_gts_mgmt_tag::GtsPersistCount
 
uint8_t * mac_dev_gts_mgmt_tag::GtsReq_ptr
 
uint8_t mac_dev_gts_mgmt_tag::GtsStartingSlot
 
uint8_t mac_gts_desc_tag::GtsStartingSlot
 
gts_state_t mac_dev_gts_mgmt_tag::GtsState
 
uint8_t sec_ctrl_tag::key_id_mode: 2
 
uint8_t mac_gts_list_tag::length: 4
 
uint8_t mac_coord_realign_tag::logical_channel
 
uint8_t mlme_associate_req_tag::LogicalChannel
 The logical channel on which to attempt association. More...
 
uint8_t mlme_start_req_tag::LogicalChannel
 The logical channel on which to start using the new superframe configuration. More...
 
uint8_t mlme_sync_req_tag::LogicalChannel
 The logical channel on which to attempt coordinator synchronization. More...
 
uint8_t mlme_sync_loss_ind_tag::LogicalChannel
 The logical channel on which the device lost synchronization or to which it was realigned. More...
 
uint8_t mlme_sync_loss_ind_tag::LossReason
 The reason that synchronization was lost. More...
 
uint8_t mac_pib_tag::mac_AutoRequest
 Holds the value which states whether a device automatically sends a data request command if its address is listed in the beacon frame. More...
 
uint8_t mac_pib_tag::mac_BattLifeExtPeriods
 Holds the value which states the number of backoff periods during which the receiver is enabled following a beacon in battery life extension mode. More...
 
bool mac_bc_data_indicated
 Flag stating that the last received beacon frame from the parent indicated pending broadcast data to be received. More...
 
bool mac_busy
 MAC busy state, indicates whether MAC can process any request from NHLE. More...
 
uint8_t parse_tag::mac_command
 
__PACK__RST_DATA__ uint8_t * mac_conf_buf_ptr
 Holds the mlme request buffer pointer, used to give the respective confirmation in scan, poll and association. More...
 
uint64_t mac_pib_tag::mac_CoordExtendedAddress
 Holds the 64 bit address of the coordinator with which the device is associated. More...
 
uint16_t mac_pib_tag::mac_CoordShortAddress
 Holds the 16 bit short address of the coordinator with which the device is associated. More...
 
mac_dev_gts_mgmt_t mac_dev_gts_table []
 
uint8_t mac_dev_gts_table_len
 
uint8_t mac_pib_tag::mac_DSN
 Holds the sequence number of the transmitted data or command frame. More...
 
uint8_t mac_final_cap_slot
 Final Cap Slot of current Superframe. More...
 
uint8_t mac_pib_tag::mac_GTSPermit
 
uint8_t mac_last_dsn
 
uint64_t mac_last_src_addr
 
uint16_t mac_pib_tag::mac_MaxFrameTotalWaitTime
 The maximum number of CAP symbols in a beaconenabled PAN, or symbols in a nonbeacon-enabled PAN, to wait either for a frame intended as a response to a data request frame or for a broadcast frame following a beacon with the Frame Pending subfield set to one. More...
 
mac_pan_gts_mgmt_t mac_pan_gts_table []
 PANC table for GTS maintenance. More...
 
uint8_t mac_pan_gts_table_len
 Length of active GTS in PANC table. More...
 
parse_t mac_parse_data
 Global parse data. More...
 
frame_payload_t parse_tag::mac_payload_data
 
uint8_t parse_tag::mac_payload_length
 
mac_pib_t mac_pib
 
mac_poll_state_t mac_poll_state
 Current state of MAC poll state machine, e.g. More...
 
mac_radio_sleep_state_t mac_radio_sleep_state
 Radio sleep state. More...
 
uint16_t mac_pib_tag::mac_ResponseWaitTime
 The maximum time, in multiples of aBaseSuperframeDuration, a device shall wait for a response command frame to be available following a request command frame. More...
 
bool mac_rx_enabled
 
bool mac_pib_tag::mac_RxOnWhenIdle
 Holds the value which states whether the MAC sublayer is to enable its receiver during idle periods. More...
 
mac_scan_state_t mac_scan_state
 Current state of scanning process. More...
 
bool mac_pib_tag::mac_SecurityEnabled
 Indication of whether the MAC sublayer has security enabled. More...
 
mac_state_t mac_state
 Current state of the MAC state machine. More...
 
mac_superframe_state_t mac_superframe_state
 
mac_sync_state_t mac_sync_state
 Current state of syncronization with parent (either coordinator or PAN coordinator). More...
 
uint8_t parse_tag::mpdu_length
 
uint8_t mcps_data_ind_tag::mpduLinkQuality
 LQI value measured during reception of the MPDU. More...
 
uint8_t * mcps_data_req_tag::msdu
 The set of octets forming the MSDU to be transmitted by the MAC sublayer entity. More...
 
uint8_t * mcps_data_ind_tag::msdu
 The set of octets forming the MSDU being indicated by the MAC sublayer entity. More...
 
uint8_t mcps_data_req_tag::msduHandle
 The handle associated with the MSDU to be transmitted by the MAC sublayer entity. More...
 
uint8_t mcps_data_conf_tag::msduHandle
 The handle associated with the MSDU being confirmed. More...
 
uint8_t mcps_purge_req_tag::msduHandle
 The handle of the MSDU to be purged from the transaction queue. More...
 
uint8_t mcps_purge_conf_tag::msduHandle
 The handle of the MSDU requested to be purge from the transaction queue. More...
 
uint8_t mcps_data_req_tag::msduLength
 The number of octets contained in the MSDU to be transmitted by the MAC sublayer entity. More...
 
uint8_t mcps_data_ind_tag::msduLength
 The number of octets contained in the MSDU being indicated by the MAC sublayer entity. More...
 
uint64_t mlme_orphan_ind_tag::OrphanAddress
 The address of the orphaned device. More...
 
uint64_t mlme_orphan_resp_tag::OrphanAddress
 The address of the orphaned device. More...
 
uint16_t mac_coord_realign_tag::pan_id
 
uint8_t mlme_start_req_tag::PANCoordinator
 If this value is TRUE, the device will become the PAN coordinator of a new PAN. More...
 
wpan_pandescriptor_t mlme_beacon_notify_ind_tag::PANDescriptor
 The PANDescriptor for the received beacon. More...
 
uint16_t mlme_comm_status_ind_tag::PANId
 The 16 bit PAN identifier of the device from which the frame was received or to which the frame was being sent. More...
 
uint16_t mlme_start_req_tag::PANId
 The PAN identifier to be used by the device. More...
 
uint16_t mlme_sync_loss_ind_tag::PANId
 The PAN identifier with which the device lost synchronization or to which it was realigned. More...
 
uint8_t * mac_data_payload_tag::payload
 
uint8_t mlme_beacon_notify_ind_tag::PendAddrSpec
 The beacon pending address specification. More...
 
uint8_t * mac_beacon_payload_tag::pending_addr_list
 
uint8_t mac_beacon_payload_tag::pending_addr_spec
 
uint8_t mac_pan_gts_mgmt_tag::PersistenceCount
 
uint8_t mlme_get_req_tag::PIBAttribute
 
uint8_t mlme_get_conf_tag::PIBAttribute
 
pib_value_t mlme_get_conf_tag::PIBAttributeValue
 < The value of the indicated MAC PIB attribute that was read. More...
 
uint8_t parse_tag::ppdu_link_quality
 
uint8_t mac_pib_tag::privateIllegalFrameType
 Holds the private MAC PIB attribute to generate a frame with an illegale frame type. More...
 
uint8_t mac_pib_tag::privateNoDataAfterAssocReq
 Holds the private MAC PIB attribute which suppresses the initiation of a data request frame after association request. More...
 
uint8_t mac_pib_tag::privateVirtualPANs
 Holds the private MAC PIB attribute to pretend virtual Beacon-enabled PANs. More...
 
uint8_t mac_gts_spec_tag::Reserved: 4
 
uint8_t mlme_scan_conf_tag::ResultListSize
 The number of elements returned in the appropriate result lists. More...
 
uint32_t mlme_rx_enable_req_tag::RxOnDuration
 The number of symbols for which the receiver is to be enabled. More...
 
uint32_t mlme_rx_enable_req_tag::RxOnTime
 The number of symbols from the start of the superframe before the receiver is to be enabled. More...
 
scan_result_list_t mlme_scan_conf_tag::scan_result_list [1]
 ResultListSize - The number of elements returned in the appropriate result lists. More...
 
uint32_t mlme_scan_req_tag::ScanChannels
 The 5 MSBs (b27, ... More...
 
uint8_t mlme_scan_req_tag::ScanDuration
 A value used to calculate the length of time to spend scanning each channel for ED, active, and passive scans. More...
 
uint8_t mlme_scan_req_tag::ScanType
 Indicates the type of scan performed: 0 x 00 = ED scan (FFD only). More...
 
uint8_t mlme_scan_conf_tag::ScanType
 ScanType Integer 0 x 00 0 x 03 Indicates if the type of scan performed: 0 x 00 = ED scan (FFD only). More...
 
uint8_t * mlme_beacon_notify_ind_tag::sdu
 The set of octets comprising the beacon payload to be transferred from the MAC sublayerentity to the next higher layer. More...
 
uint8_t mlme_beacon_notify_ind_tag::sduLength
 The number of octets contained in the beacon payload of the beacon frame received by the MAC sublayer. More...
 
uint8_t sec_ctrl_tag::sec_level: 3
 
uint8_t parse_tag::sequence_number
 
uint8_t mlme_reset_req_tag::SetDefaultPIB
 If TRUE, the MAC sublayer is reset and all MAC PIB attributes are set to their default values. More...
 
uint16_t mac_assoc_response_tag::short_addr
 
uint16_t mac_coord_realign_tag::short_addr
 
uint16_t mlme_orphan_resp_tag::ShortAddress
 The short address allocated to the orphaned device if it is associated with this coordinator. More...
 
address_field_t parse_tag::src_addr
 
uint8_t parse_tag::src_addr_mode
 
uint16_t parse_tag::src_panid
 
uint64_t mcps_data_ind_tag::SrcAddr
 The individual device address of the entity from which the MSDU was received. More...
 
uint64_t mlme_comm_status_ind_tag::SrcAddr
 The source addressing mode for this primitive. More...
 
uint8_t mcps_data_ind_tag::SrcAddrMode
 The source addressing mode for this primitive corresponding to the received MPDU. More...
 
uint8_t mcps_data_req_tag::SrcAddrMode
 The source addressing mode for this primitive and subsequent MPDU. More...
 
uint8_t mlme_comm_status_ind_tag::SrcAddrMode
 The source addressing mode for this primitive. More...
 
uint16_t mcps_data_ind_tag::SrcPANId
 The 16 bit PAN identifier of the entity from which the MSDU was received. More...
 
uint8_t mac_gts_list_tag::starting_slot: 4
 
uint8_t mcps_data_conf_tag::status
 The status of the last MSDU transmission. More...
 
uint8_t mcps_purge_conf_tag::status
 The status of the request to be purged an MSDU from the transaction queue. More...
 
uint8_t mlme_associate_resp_tag::status
 The status of the association attempt. More...
 
uint8_t mlme_associate_conf_tag::status
 The status of the association attempt. More...
 
uint8_t mlme_disassociate_conf_tag::status
 The status of the disassociation attempt. More...
 
uint8_t mlme_reset_conf_tag::status
 The result of the reset operation. More...
 
uint8_t mlme_get_conf_tag::status
 The identifier of the MAC PIB attribute to get. More...
 
uint8_t mlme_rx_enable_conf_tag::status
 The result of the receiver enable request. More...
 
uint8_t mlme_scan_conf_tag::status
 The status of the scan request. More...
 
uint8_t mlme_comm_status_ind_tag::status
 The communications status. More...
 
uint8_t mlme_start_conf_tag::status
 The result of the attempt to start using an updated superframe configuration. More...
 
uint8_t mlme_poll_conf_tag::status
 The status of the data request. More...
 
uint8_t mlme_gts_conf_tag::status
 The status of the data request. More...
 
uint16_t mac_beacon_payload_tag::superframe_spec
 
uint8_t mlme_start_req_tag::SuperframeOrder
 The length of the active portion of the superframe, including the beacon frame. More...
 
queue_t tal_mac_q
 Queue used by MAC for its internal operation. More...
 
uint32_t parse_tag::time_stamp
 
uint32_t mcps_data_ind_tag::Timestamp
 Optional. More...
 
uint32_t mcps_data_conf_tag::Timestamp
 Optional. More...
 
bool mlme_sync_req_tag::TrackBeacon
 TRUE if the MLME is to synchronize with the next beacon and attempt to track all future beacons. More...
 
uint8_t mlme_disassociate_req_tag::TxIndirect
 TRUE if the disassociation notification command is to be sent indirectly. More...
 
uint8_t mcps_data_req_tag::TxOptions
 The transmission options for this MSDU. More...
 
uint32_t mlme_scan_conf_tag::UnscannedChannels
 Indicates which channels given in the request were not scanned (1 = not scanned, 0 = scanned or not requested). More...
 
wpan_pandescriptor_t scan_result_list_t::wpan_pan_desc
 

typedef struct gts_char_tag gts_char_t
typedef enum gts_state_tag gts_state_t

Association Request type.

Association Response type.

Beacon Payload type.

Coordinator Realignment type.

Data Payload type.

Device GTS table structure.

Disassociation Request type.

PANC GTS table structure.

typedef struct mac_pib_tag mac_pib_t

This is the MCPS-DATA.confirm message structure.

This is the MCPS-DATA.indication message structure.

This is the MCPS-DATA.request message structure.

This is the MCPS-PURGE.confirm message structure.

This is the MCPS-PURGE.request message structure.

This is the MLME-ASSOCIATE.confirm message structure.

This is the MLME-ASSOCIATE.indication message structure.

This is the MLME-ASSOCIATE.request message structure.

This is the MLME-ASSOCIATE.response message structure.

This is the MLME-BEACON-NOTIFY.indication message structure.

This is the MLME-COMM-STATUS.indication message structure.

This is the MLME-DISASSOCIATE.confirm message structure.

This is the MLME-DISASSOCIATE.indication message structure.

This is the MLME-DISASSOCIATE.request message structure.

This is the MLME-GET.confirm message structure.

This is the MLME-GET.request message structure.

This is the MLME-GTS.confirm message structure.

This is the MLME-GTS.indication message structure.

This is the MLME-GTS.request message structure.

This is the MLME-ORPHAN.indication message structure.

This is the MLME-ORPHAN.response message structure.

This is the MLME-POLL.confirm message structure.

This is the MLME-POLL.request message structure.

This is the MLME-RESET.confirm message structure.

This is the MLME-RESET.request message structure.

This is the MLME-RX-ENABLE.confirm message structure.

This is the MLME-RX-ENABLE.request message structure.

This is the MLME-SCAN.confirm message structure.

This is the MLME-SCAN.request message structure.

This is the MLME-START.confirm message structure.

This is the MLME-START.request message structure.

This is the MLME-SYNC-LOSS.indication message structure.

This is the MLME-SYNC.request message structure.

typedef struct parse_tag parse_t
typedef struct sec_ctrl_tag sec_ctrl_t

Structure containing auxiliary security header information.

Device address specification structure.

PAN descriptor information structure.

Enumerator
GTS_STATE_IDLE 
GTS_STATE_REQ_SENT 
GTS_STATE_ALLOCATED 

uint8_t mac_get_pib_attribute_size ( uint8_t  pib_attribute_id)

Gets the size of a PIB attribute.

Parameters
attributePIB attribute
Returns
Size (number of bytes) of the PIB attribute

References mac_pib, macBeaconPayload, MAX_MAC_PIB_ATTRIBUTE_ID, MAX_PHY_PIB_ATTRIBUTE_ID, MIN_MAC_PIB_ATTRIBUTE_ID, MIN_PRIVATE_PIB_ATTRIBUTE_ID, PGM_READ_BYTE, and rcv_frame_ptr.

Referenced by wpan_mlme_set_req().

void usr_mlme_gts_conf ( gts_char_t  GtsChar,
uint8_t  status 
)

References status.

Referenced by handle_rx_frame(), and mlme_gts_conf().

void usr_mlme_gts_ind ( uint16_t  DeviceAddr,
gts_char_t  GtsChar 
)

uint8_t sec_ctrl_tag::__pad0__
uint8_t* mlme_beacon_notify_ind_tag::AddrList

The list of addresses of the devices for which the beacon source has data.

mac_assoc_req_t frame_payload_t::assoc_req_data

Referenced by parse_mpdu().

mac_assoc_response_t frame_payload_t::assoc_response_data

Referenced by parse_mpdu().

uint8_t mac_assoc_response_tag::assoc_status
uint8_t mlme_orphan_resp_tag::AssociatedMember

TRUE if the orphaned device is associated with this coordinator or FALSE otherwise.

uint16_t mlme_associate_resp_tag::AssocShortAddress

The short device address allocated by the coordinator on successful association.

This parameter is set to 0xffff if the association was unsuccessful.

uint16_t mlme_associate_conf_tag::AssocShortAddress

The short device address allocated by the coordinator on successful association.

This parameter will be equal to 0 x ffff if the association attempt was unsuccessful.

uint8_t mlme_start_req_tag::BatteryLifeExtension

If this value is TRUE, the receiver of the beaconing device is disabled macBattLifeExtPeriods full backoff periods after the interframe spacing (IFS) period of the beacon frame.

If this value is FALSE, the receiver of the beaconing device remains enabled for the entire CAP.

mac_beacon_payload_t frame_payload_t::beacon_data

Referenced by parse_mpdu().

uint8_t* mac_beacon_payload_tag::beacon_payload
uint8_t mac_beacon_payload_tag::beacon_payload_len
uint8_t mlme_start_req_tag::BeaconOrder

How often the beacon is to be transmitted.

The beacon order, BO, and the beacon interval, BI, are related as follows: for 0 d BO d 14, BI = BaseSuperframeDuration * 2^BO symbols. If BO = 15, the coordinator will not transmit a beacon, and the SuperframeOrder parameter value is ignored.

Referenced by mac_coord_realignment_command_tx_success(), and mlme_start_request().

uint8_t mlme_beacon_notify_ind_tag::BSN

The beacon sequence number.

uint8_t mac_assoc_req_tag::capability_info
uint8_t mlme_associate_req_tag::CapabilityInformation

Specifies the operational capabilities of the associating device.

uint8_t mlme_associate_ind_tag::CapabilityInformation

The operational capabilities of the device requesting association.

uint8_t mac_coord_realign_tag::channel_page
uint8_t mlme_associate_req_tag::ChannelPage

The channel page on which to attempt association.

uint8_t mlme_scan_req_tag::ChannelPage

The channel page on which to perform the scan.

uint8_t mlme_scan_conf_tag::ChannelPage

The channel page on which the scan was performed.

uint8_t mlme_start_req_tag::ChannelPage

The channel page on which to begin using the new superframe configuration.

Referenced by mac_coord_realignment_command_tx_success(), and mlme_start_request().

uint8_t mlme_sync_req_tag::ChannelPage

The channel page on which to attempt coordinator synchronization.

uint8_t mlme_sync_loss_ind_tag::ChannelPage

The channel page on which the device lost synchronization or to which it was realigned.

enum msg_code mcps_data_req_tag::cmdcode

< This identifies the message as MCPS_DATA_REQUEST

Referenced by wpan_mcps_data_req().

enum msg_code mcps_data_conf_tag::cmdcode

< This identifies the message as MCPS_DATA_CONFIRM

Referenced by mac_gen_mcps_data_conf().

enum msg_code mcps_data_ind_tag::cmdcode

< This identifies the message as MCPS_DATA_INDICATION

enum msg_code mcps_purge_req_tag::cmdcode

< This identifies the message as MCPS_PURGE_REQUEST

enum msg_code mcps_purge_conf_tag::cmdcode

< This identifies the message as MCPS_PURGE_CONFIRM

enum msg_code mlme_associate_req_tag::cmdcode

< This identifies the message as MLME_ASSOCIATE_REQUEST

enum msg_code mlme_associate_ind_tag::cmdcode

This identifies the message as MLME_ASSOCIATE_INDICATION.

enum msg_code mlme_associate_resp_tag::cmdcode

This identifies the message as MLME_ASSOCIATE_RESPONSE.

enum msg_code mlme_associate_conf_tag::cmdcode

This identifies the message as MLME_ASSOCIATE_CONFIRM.

enum msg_code mlme_disassociate_req_tag::cmdcode

This identifies the message as MLME_DISASSOCIATE_REQUEST.

enum msg_code mlme_disassociate_ind_tag::cmdcode

This identifies the message as MLME_DISASSOCIATE_INDICATION.

enum msg_code mlme_disassociate_conf_tag::cmdcode

This identifies the message as MLME_DISASSOCIATE_CONFIRM.

enum msg_code mlme_beacon_notify_ind_tag::cmdcode

This identifies the message as MLME_BEACON_NOTIFY_INDICATION.

enum msg_code mlme_orphan_ind_tag::cmdcode

This identifies the message as MLME_ORPHAN_INDICATION.

enum msg_code mlme_orphan_resp_tag::cmdcode

This identifies the message as MLME_ORPHAN_RESPONSE.

enum msg_code mlme_reset_req_tag::cmdcode

< This identifies the message as MLME_RESET_REQUEST

Referenced by wpan_mlme_reset_req().

enum msg_code mlme_reset_conf_tag::cmdcode

< This identifies the message as MLME_RESET_CONFIRM

Referenced by send_reset_conf().

enum msg_code mlme_get_req_tag::cmdcode

< This identifies the message as MLME_GET_REQUEST

The identifier of the MAC PIB attribute to get.

enum msg_code mlme_get_conf_tag::cmdcode

< This identifies the message as MLME_GET_CONFIRM

The result of the request for PHY PIB attribute information.

enum msg_code mlme_rx_enable_req_tag::cmdcode

This identifies the message as MLME_RX_ENABLE_REQUEST.

enum msg_code mlme_rx_enable_conf_tag::cmdcode

This identifies the message as MLME_RX_ENABLE_CONFIRM.

enum msg_code mlme_scan_req_tag::cmdcode

This identifies the message as MLME_SCAN_REQUEST.

enum msg_code mlme_scan_conf_tag::cmdcode

This identifies the message as MLME_SCAN_CONFIRM.

enum msg_code mlme_comm_status_ind_tag::cmdcode

This identifies the message as MLME_COMM_STATUS_INDICATION.

Referenced by parse_mpdu().

enum msg_code mlme_start_req_tag::cmdcode

This identifies the message as MLME_START_REQUEST.

enum msg_code mlme_start_conf_tag::cmdcode

This identifies the message as MLME_START_CONFIRM.

Referenced by gen_mlme_start_conf().

enum msg_code mlme_sync_req_tag::cmdcode

This identifies the message as MLME_SYNC_REQUEST.

enum msg_code mlme_sync_loss_ind_tag::cmdcode

This identifies the message as MLME_SYNC_LOSS_INDICATION.

enum msg_code mlme_poll_req_tag::cmdcode

This identifies the message as MLME_POLL_REQUEST.

enum msg_code mlme_poll_conf_tag::cmdcode

This identifies the message as MLME_POLL_CONFIRM.

Referenced by mac_process_tal_tx_status().

enum msg_code mlme_gts_req_tag::cmdcode

This identifies the message as MLME_GTS_REQUEST.

enum msg_code mlme_gts_conf_tag::cmdcode

This identifies the message as MLME_GTS_CONFIRM.

Referenced by mac_gen_mlme_gts_conf().

enum msg_code mlme_gts_ind_tag::cmdcode

This identifies the message as MLME_GTS_INDICATION.

Referenced by mac_gts_table_update(), mac_process_gts_request(), and mac_send_gts_ind().

mac_coord_realign_t frame_payload_t::coord_realign_data

Referenced by parse_mpdu().

uint16_t mac_coord_realign_tag::coord_short_addr

Referenced by parse_mpdu().

address_field_t mlme_associate_req_tag::CoordAddress

The address of the coordinator with which to associate.

uint64_t mlme_poll_req_tag::CoordAddress

The address of the coordinator to which the poll is intended.

The address of the coordinator to which the poll is intended.

uint8_t mlme_associate_req_tag::CoordAddrMode

The coordinator addressing mode for this primitive and subsequent MPDU.

This value can take one of the following values: 2 = 16 bit short address. 3 = 64 bit extended address.

uint8_t mlme_poll_req_tag::CoordAddrMode

The addressing mode of the coordinator to which the poll is intended.

This parameter can take one of the following values: 2 = 16 bit short address, 3 = 64 bit extended address.

uint16_t mlme_associate_req_tag::CoordPANId

The identifier of the PAN with which to associate.

uint16_t mlme_poll_req_tag::CoordPANId

The PAN identifier of the coordinator to which the poll is intended.

uint8_t mlme_start_req_tag::CoordRealignment

TRUE if a coordinator realignment command is to be transmitted prior to changing the superframe configuration or FALSE otherwise.

Referenced by mlme_start_request().

mac_data_payload_t frame_payload_t::data
uint8_t mlme_rx_enable_req_tag::DeferPermit

TRUE if the receiver enable can be deferred until during the next superframe if the requested time has already passed.

FALSE if the receiver enable is only to be attempted in the current superframe. This parameter is ignored for nonbeacon-enabled PANs.

uint8_t parse_tag::dest_addr_mode
uint16_t parse_tag::dest_panid
uint8_t mac_gts_list_tag::dev_addr[2]

Referenced by mac_parse_bcn_gts_info().

uint16_t mlme_gts_ind_tag::DeviceAddr
uint64_t mlme_associate_ind_tag::DeviceAddress

The address of the device requesting association.

uint64_t mlme_associate_resp_tag::DeviceAddress

The address of the device requesting association.

uint64_t mlme_disassociate_req_tag::DeviceAddress

The address of the device to which to send the disassociation notification command.

uint64_t mlme_disassociate_ind_tag::DeviceAddress

The address of the device requesting disassociation.

uint64_t mlme_disassociate_conf_tag::DeviceAddress

The address of the device that has either requested disassociation or been instructed to disassociate by its coordinator.

uint8_t mlme_disassociate_req_tag::DeviceAddrMode

The addressing mode of the device to which to send the disassociation notification command.

uint8_t mlme_disassociate_conf_tag::DeviceAddrMode

The addressing mode of the device that has either requested disassociation or been instructed to disassociate by its coordinator.

uint16_t mlme_disassociate_req_tag::DevicePANId

The PAN identifier of the device to which to send the disassociation notification command.

uint16_t mlme_disassociate_conf_tag::DevicePANId

The PAN identifier of the device that has either requested disassociation or been instructed to disassociate by its coordinator.

uint16_t mlme_gts_req_tag::DeviceShortAddr

Referenced by mlme_gts_request().

uint16_t mac_pan_gts_mgmt_tag::DevShortAddr
uint8_t mac_disassoc_req_tag::disassoc_reason
mac_disassoc_req_t frame_payload_t::disassoc_req_data

Referenced by parse_mpdu().

uint8_t mlme_disassociate_req_tag::DisassociateReason

The reason for the disassociation (see 7.3.1.3.2).

uint8_t mlme_disassociate_ind_tag::DisassociateReason

The reason for the disassociation (see 7.3.1.3.2).

uint8_t mcps_data_ind_tag::DSN

The DSN of the received data frame.

uint64_t mcps_data_req_tag::DstAddr

The individual device address of the entity to which the MSDU is being transferred.

Referenced by build_data_frame(), handle_gts_data_req(), mcps_data_request(), and wpan_mcps_data_req().

uint64_t mcps_data_ind_tag::DstAddr

The individual device address of the entity to which the MSDU is being transferred.

uint64_t mlme_comm_status_ind_tag::DstAddr

The individual device address of the device for which the frame was intended.

Referenced by parse_mpdu().

uint8_t mcps_data_req_tag::DstAddrMode

The destination addressing mode for this primitive and subsequent MPDU.

This value can take one of the following values: 0 x 00 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short address. 0 x 03 = 64 bit extended address.

Referenced by build_data_frame(), mcps_data_request(), and wpan_mcps_data_req().

uint8_t mcps_data_ind_tag::DstAddrMode

The destination addressing mode for this primitive corresponding to the received MPDU.

This value can take one of the following values: 0 x 00 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short device address. 0 x 03 = 64 bit extended device address.

uint8_t mlme_comm_status_ind_tag::DstAddrMode

The destination addressing mode for this primitive.

This value can take one of the following values: 0 x 00 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short address. 0 x 03 = 64 bit extended address.

Referenced by parse_mpdu().

uint16_t mcps_data_req_tag::DstPANId

The 16 bit PAN identifier of the entity to which the MSDU is being transferred.

Referenced by build_data_frame(), and wpan_mcps_data_req().

uint16_t mcps_data_ind_tag::DstPANId

The 16 bit PAN identifier of the entity to which the MSDU is being transferred.

uint8_t scan_result_list_t::ed_value[1]
uint16_t mac_pan_gts_mgmt_tag::ExpiryCount
uint16_t parse_tag::fcf
uint8_t parse_tag::frame_type
queue_t* mac_pan_gts_mgmt_tag::gts_data_q
uint8_t mac_beacon_payload_tag::gts_direction
mac_gts_list_t* mac_beacon_payload_tag::gts_list

Referenced by parse_mpdu().

gts_char_t frame_payload_t::gts_req_data
uint8_t mac_beacon_payload_tag::gts_spec

Referenced by parse_mpdu().

gts_char_t mlme_gts_req_tag::GtsChar

Referenced by mlme_gts_request().

gts_char_t mlme_gts_conf_tag::GtsChar
gts_char_t mlme_gts_ind_tag::GtsChar

The status of the data request.

Referenced by mac_gts_table_update(), mac_process_gts_request(), mac_send_gts_ind(), and mlme_gts_ind().

uint8_t mac_gts_spec_tag::GtsDescCount

Referenced by mac_add_gts_info().

bool mac_gts_desc_tag::GtsDirection
uint8_t mac_dev_gts_mgmt_tag::GtsLength
uint8_t mac_gts_desc_tag::GtsLength
uint8_t mac_gts_spec_tag::GtsPermit

Referenced by mac_add_gts_info().

uint8_t mac_dev_gts_mgmt_tag::GtsPersistCount
uint8_t* mac_dev_gts_mgmt_tag::GtsReq_ptr
uint8_t mac_dev_gts_mgmt_tag::GtsStartingSlot
uint8_t mac_gts_desc_tag::GtsStartingSlot
gts_state_t mac_dev_gts_mgmt_tag::GtsState
uint8_t sec_ctrl_tag::key_id_mode
uint8_t mac_gts_list_tag::length

Referenced by mac_parse_bcn_gts_info().

uint8_t mac_coord_realign_tag::logical_channel
uint8_t mlme_associate_req_tag::LogicalChannel

The logical channel on which to attempt association.

uint8_t mlme_start_req_tag::LogicalChannel

The logical channel on which to start using the new superframe configuration.

Referenced by mac_coord_realignment_command_tx_success(), and mlme_start_request().

uint8_t mlme_sync_req_tag::LogicalChannel

The logical channel on which to attempt coordinator synchronization.

uint8_t mlme_sync_loss_ind_tag::LogicalChannel

The logical channel on which the device lost synchronization or to which it was realigned.

uint8_t mlme_sync_loss_ind_tag::LossReason

The reason that synchronization was lost.

uint8_t mac_pib_tag::mac_AutoRequest

Holds the value which states whether a device automatically sends a data request command if its address is listed in the beacon frame.

A value of true indicates that the data request command is automatically sent.

Referenced by do_init_pib(), mlme_get(), and mlme_set().

uint8_t mac_pib_tag::mac_BattLifeExtPeriods

Holds the value which states the number of backoff periods during which the receiver is enabled following a beacon in battery life extension mode.

This value is dependent on the currently selected logical channel.

Referenced by do_init_pib(), mlme_get(), and mlme_set().

bool mac_bc_data_indicated

Flag stating that the last received beacon frame from the parent indicated pending broadcast data to be received.

Referenced by mac_t_wait_for_bc_time_cb(), process_data_ind_not_transient(), and reset_globals().

bool mac_busy

MAC busy state, indicates whether MAC can process any request from NHLE.

Referenced by mac_process_tal_data_ind(), mac_ready_to_sleep(), mac_task(), and reset_globals().

uint8_t parse_tag::mac_command
__PACK__RST_DATA__ uint8_t* mac_conf_buf_ptr

Holds the mlme request buffer pointer, used to give the respective confirmation in scan, poll and association.

Referenced by mac_process_tal_tx_status().

uint64_t mac_pib_tag::mac_CoordExtendedAddress

Holds the 64 bit address of the coordinator with which the device is associated.

Referenced by do_init_pib(), mlme_get(), mlme_set(), and process_data_ind_not_transient().

uint16_t mac_pib_tag::mac_CoordShortAddress

Holds the 16 bit short address of the coordinator with which the device is associated.

A value of 0xfffe indicates that the coordinator is only using its 64 bit extended address. A value of 0xffff indicates that this value is unknown.

Referenced by do_init_pib(), handle_gts_data_req(), handle_gts_sync_loss(), mac_parse_bcn_gts_info(), mcps_data_request(), mlme_get(), mlme_gts_request(), mlme_set(), and process_data_ind_not_transient().

uint8_t mac_dev_gts_table_len

Referenced by reset_gts_globals().

uint8_t mac_pib_tag::mac_DSN

Holds the sequence number of the transmitted data or command frame.

Referenced by build_data_frame(), do_init_pib(), mlme_get(), mlme_gts_request(), and mlme_set().

uint8_t mac_final_cap_slot

Final Cap Slot of current Superframe.

Referenced by mac_gts_allocate(), mac_gts_deallocate(), mac_t_gts_cb(), process_data_ind_not_transient(), and reset_globals().

uint8_t mac_pib_tag::mac_GTSPermit
uint8_t mac_last_dsn
uint64_t mac_last_src_addr
uint16_t mac_pib_tag::mac_MaxFrameTotalWaitTime

The maximum number of CAP symbols in a beaconenabled PAN, or symbols in a nonbeacon-enabled PAN, to wait either for a frame intended as a response to a data request frame or for a broadcast frame following a beacon with the Frame Pending subfield set to one.

This attribute, which shall only be set by the next higher layer, is dependent upon macMinBE, macMaxBE, macMaxCSMABackoffs and the number of symbols per octet. See 7.4.2 for the formula relating the attributes. Maximum values: O-QPSK (2.4 GHz and 900 MHz for Channel page 2): 25766 BPSK (900 MHz for Channel page 0): 26564 Both values are valid for macMinBE = 8 macMaxBE = 8 macMaxCSMABackoffs = 5

This PIB attribute is only used if basic indirect data transmission is used or if beacon enabled network is enabled.

Referenced by do_init_pib(), mac_process_tal_tx_status(), mlme_get(), mlme_set(), and recalc_macMaxFrameTotalWaitTime().

mac_pan_gts_mgmt_t mac_pan_gts_table[]

PANC table for GTS maintenance.

Referenced by mac_process_data_frame().

frame_payload_t parse_tag::mac_payload_data
uint8_t parse_tag::mac_payload_length
mac_poll_state_t mac_poll_state

Current state of MAC poll state machine, e.g.

polling for data, polling for Association Response, etc.

Referenced by mac_process_tal_data_ind(), mac_process_tal_tx_status(), mac_t_wait_for_bc_time_cb(), mcps_data_request(), process_data_ind_not_transient(), and reset_globals().

mac_radio_sleep_state_t mac_radio_sleep_state
uint16_t mac_pib_tag::mac_ResponseWaitTime

The maximum time, in multiples of aBaseSuperframeDuration, a device shall wait for a response command frame to be available following a request command frame.

Referenced by do_init_pib(), mac_process_tal_tx_status(), mlme_get(), and mlme_set().

bool mac_rx_enabled

Referenced by mac_sleep_trans(), and reset_globals().

bool mac_pib_tag::mac_RxOnWhenIdle

Holds the value which states whether the MAC sublayer is to enable its receiver during idle periods.

Referenced by do_init_pib(), mac_sleep_trans(), mlme_get(), and mlme_set().

bool mac_pib_tag::mac_SecurityEnabled

Indication of whether the MAC sublayer has security enabled.

A value of TRUE indicates that security is enabled, while a value of FALSE indicates that security is disabled.

Referenced by do_init_pib(), mlme_get(), and mlme_set().

mac_sync_state_t mac_sync_state

Current state of syncronization with parent (either coordinator or PAN coordinator).

Referenced by mac_sleep_trans(), mlme_get(), mlme_gts_request(), process_data_ind_not_transient(), and reset_globals().

uint8_t parse_tag::mpdu_length
uint8_t mcps_data_ind_tag::mpduLinkQuality

LQI value measured during reception of the MPDU.

Lower values represent lower LQI (see 6.7.8).

uint8_t* mcps_data_req_tag::msdu

The set of octets forming the MSDU to be transmitted by the MAC sublayer entity.

uint8_t* mcps_data_ind_tag::msdu

The set of octets forming the MSDU being indicated by the MAC sublayer entity.

uint8_t mcps_data_req_tag::msduHandle

The handle associated with the MSDU to be transmitted by the MAC sublayer entity.

Referenced by handle_gts_data_req(), mac_tx_gts_data(), mcps_data_request(), and wpan_mcps_data_req().

uint8_t mcps_data_conf_tag::msduHandle

The handle associated with the MSDU being confirmed.

Referenced by mac_gen_mcps_data_conf(), and mcps_data_conf().

uint8_t mcps_purge_req_tag::msduHandle

The handle of the MSDU to be purged from the transaction queue.

uint8_t mcps_purge_conf_tag::msduHandle

The handle of the MSDU requested to be purge from the transaction queue.

uint8_t mcps_data_req_tag::msduLength

The number of octets contained in the MSDU to be transmitted by the MAC sublayer entity.

Referenced by build_data_frame(), and wpan_mcps_data_req().

uint8_t mcps_data_ind_tag::msduLength

The number of octets contained in the MSDU being indicated by the MAC sublayer entity.

uint64_t mlme_orphan_ind_tag::OrphanAddress

The address of the orphaned device.

uint64_t mlme_orphan_resp_tag::OrphanAddress

The address of the orphaned device.

uint16_t mac_coord_realign_tag::pan_id

Referenced by parse_mpdu().

uint8_t mlme_start_req_tag::PANCoordinator

If this value is TRUE, the device will become the PAN coordinator of a new PAN.

If this value is FALSE, the device will begin transmitting beacons on the PAN with which it is associated.

Referenced by mlme_start_request().

wpan_pandescriptor_t mlme_beacon_notify_ind_tag::PANDescriptor

The PANDescriptor for the received beacon.

uint16_t mlme_comm_status_ind_tag::PANId

The 16 bit PAN identifier of the device from which the frame was received or to which the frame was being sent.

Referenced by parse_mpdu().

uint16_t mlme_start_req_tag::PANId

The PAN identifier to be used by the device.

Referenced by mac_coord_realignment_command_tx_success(), and mlme_start_request().

uint16_t mlme_sync_loss_ind_tag::PANId

The PAN identifier with which the device lost synchronization or to which it was realigned.

uint8_t* mac_data_payload_tag::payload
uint8_t mlme_beacon_notify_ind_tag::PendAddrSpec

The beacon pending address specification.

uint8_t* mac_beacon_payload_tag::pending_addr_list
uint8_t mac_beacon_payload_tag::pending_addr_spec

Referenced by parse_mpdu().

uint8_t mac_pan_gts_mgmt_tag::PersistenceCount
uint8_t mlme_get_req_tag::PIBAttribute
uint8_t mlme_get_conf_tag::PIBAttribute
pib_value_t mlme_get_conf_tag::PIBAttributeValue

< The value of the indicated MAC PIB attribute that was read.

uint8_t parse_tag::ppdu_link_quality
uint8_t mac_pib_tag::privateIllegalFrameType

Holds the private MAC PIB attribute to generate a frame with an illegale frame type.

Referenced by build_data_frame(), do_init_pib(), mlme_get(), and mlme_set().

uint8_t mac_pib_tag::privateNoDataAfterAssocReq

Holds the private MAC PIB attribute which suppresses the initiation of a data request frame after association request.

Referenced by do_init_pib(), mac_process_tal_tx_status(), mlme_get(), and mlme_set().

uint8_t mac_pib_tag::privateVirtualPANs

Holds the private MAC PIB attribute to pretend virtual Beacon-enabled PANs.

Referenced by do_init_pib(), mlme_get(), and mlme_set().

uint8_t mac_gts_spec_tag::Reserved

Referenced by mac_add_gts_info().

uint8_t mlme_scan_conf_tag::ResultListSize

The number of elements returned in the appropriate result lists.

This value is 0 for the result of an orphan scan.

uint32_t mlme_rx_enable_req_tag::RxOnDuration

The number of symbols for which the receiver is to be enabled.

uint32_t mlme_rx_enable_req_tag::RxOnTime

The number of symbols from the start of the superframe before the receiver is to be enabled.

The precision of this value is a minimum of 20 bits, with the lowest 4 bits being the least significant. This parameter is ignored for nonbeacon-enabled PANs.

scan_result_list_t mlme_scan_conf_tag::scan_result_list[1]

ResultListSize - The number of elements returned in the appropriate result lists.

This value is 0 for the result of an orphan scan. EnergyDetectList - The number of elements returned in the appropriate result lists. This value is 0 for the result of an orphan scan. PANDescriptorList - The list of PAN descriptors, one for each beacon found during an active or passive scan. This parameter is null for ED and orphan scans.

uint32_t mlme_scan_req_tag::ScanChannels

The 5 MSBs (b27, ...

, b31) are reserved. The 27 LSBs (b0, b1, ... b26) indicate which channels are to be scanned (1 = scan, 0 = do not scan) for each of the 27 valid channels (see 6.1.2).

uint8_t mlme_scan_req_tag::ScanDuration

A value used to calculate the length of time to spend scanning each channel for ED, active, and passive scans.

This parameter is ignored for orphan scans. The time spent scanning each channel is [aBaseSuperframeDuration * (2n + 1)] symbols, where n is the value of the ScanDuration parameter.

uint8_t mlme_scan_req_tag::ScanType

Indicates the type of scan performed: 0 x 00 = ED scan (FFD only).

0 x 01 = active scan (FFD only). 0 x 02 = passive scan. 0 x 03 = orphan scan.

uint8_t mlme_scan_conf_tag::ScanType

ScanType Integer 0 x 00 0 x 03 Indicates if the type of scan performed: 0 x 00 = ED scan (FFD only).

0 x 01 = active scan (FFD only). 0 x 02 = passive scan. 0 x 03 = orphan scan.

uint8_t* mlme_beacon_notify_ind_tag::sdu

The set of octets comprising the beacon payload to be transferred from the MAC sublayerentity to the next higher layer.

uint8_t mlme_beacon_notify_ind_tag::sduLength

The number of octets contained in the beacon payload of the beacon frame received by the MAC sublayer.

uint8_t sec_ctrl_tag::sec_level
uint8_t parse_tag::sequence_number
uint8_t mlme_reset_req_tag::SetDefaultPIB

If TRUE, the MAC sublayer is reset and all MAC PIB attributes are set to their default values.

If FALSE, the MAC sublayer is reset but all MAC PIB attributes retain their values prior to the generation of the MLME-RESET.request primitive.

Referenced by mlme_reset_request(), and wpan_mlme_reset_req().

uint16_t mac_assoc_response_tag::short_addr

Referenced by parse_mpdu().

uint16_t mac_coord_realign_tag::short_addr

Referenced by parse_mpdu().

uint16_t mlme_orphan_resp_tag::ShortAddress

The short address allocated to the orphaned device if it is associated with this coordinator.

The special short address 0 x fffe indicates that no short address was allocated, and the device will use its 64 bit extended address in all communications. If the device was not associated with thiscoordinator, this field will contain the value 0 x ffff and be ignored on receipt.

uint64_t mcps_data_ind_tag::SrcAddr

The individual device address of the entity from which the MSDU was received.

uint64_t mlme_comm_status_ind_tag::SrcAddr

The source addressing mode for this primitive.

This value can take one of the following values: 0 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short address. 0 x 03 = 64 bit extended address.

Referenced by parse_mpdu().

uint8_t mcps_data_ind_tag::SrcAddrMode

The source addressing mode for this primitive corresponding to the received MPDU.

This value can take one of the following values: 0 x 00 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short address. 0 x 03 = 64 bit extended address.

uint8_t mcps_data_req_tag::SrcAddrMode

The source addressing mode for this primitive and subsequent MPDU.

This value can take one of the following values: 0 x 00 = no address (addressingfields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short address. 0 x 03 = 64 bit extended address.

Referenced by build_data_frame(), mcps_data_request(), and wpan_mcps_data_req().

uint8_t mlme_comm_status_ind_tag::SrcAddrMode

The source addressing mode for this primitive.

This value can take one of the following values: 0 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short address. 0 x 03 = 64 bit extended address.

Referenced by parse_mpdu().

uint16_t mcps_data_ind_tag::SrcPANId

The 16 bit PAN identifier of the entity from which the MSDU was received.

uint8_t mac_gts_list_tag::starting_slot

Referenced by mac_parse_bcn_gts_info().

uint8_t mcps_data_conf_tag::status

The status of the last MSDU transmission.

Referenced by mac_gen_mcps_data_conf(), and mcps_data_conf().

uint8_t mcps_purge_conf_tag::status

The status of the request to be purged an MSDU from the transaction queue.

uint8_t mlme_associate_resp_tag::status

The status of the association attempt.

uint8_t mlme_associate_conf_tag::status

The status of the association attempt.

uint8_t mlme_disassociate_conf_tag::status

The status of the disassociation attempt.

uint8_t mlme_reset_conf_tag::status

The result of the reset operation.

Referenced by mlme_reset_conf(), and send_reset_conf().

uint8_t mlme_get_conf_tag::status

The identifier of the MAC PIB attribute to get.

uint8_t mlme_rx_enable_conf_tag::status

The result of the receiver enable request.

uint8_t mlme_scan_conf_tag::status

The status of the scan request.

uint8_t mlme_comm_status_ind_tag::status

The communications status.

Referenced by parse_mpdu().

uint8_t mlme_start_conf_tag::status

The result of the attempt to start using an updated superframe configuration.

Referenced by gen_mlme_start_conf().

uint8_t mlme_poll_conf_tag::status

The status of the data request.

Referenced by mac_process_tal_tx_status().

uint8_t mlme_gts_conf_tag::status

The status of the data request.

Referenced by mac_gen_mlme_gts_conf(), and mlme_gts_conf().

uint16_t mac_beacon_payload_tag::superframe_spec

Referenced by parse_mpdu().

uint8_t mlme_start_req_tag::SuperframeOrder

The length of the active portion of the superframe, including the beacon frame.

The superframe order, SO, and the superframe duration, SD, are related as follows: for 0 d SO d BO d 14, SD = aBaseSuperframeDuration * 2^SO symbols. If SO = 15, the superframe will not be active after the beacon.

Referenced by mac_coord_realignment_command_tx_success(), and mlme_start_request().

queue_t tal_mac_q

Queue used by MAC for its internal operation.

TAL pushes the incoming frames in this queue.

Referenced by flush_queues(), mac_init(), mac_process_tal_data_ind(), mac_ready_to_sleep(), mac_task(), and tal_rx_frame_cb().

uint32_t parse_tag::time_stamp
uint32_t mcps_data_ind_tag::Timestamp

Optional.

The time, in symbols, at which the data were received (see 7.5.4.1). The symbol boundary is described by macSyncSymbolOffset (see Table 86 in 7.4.1). This is a 24-bit value, and the precision of this value shall be a minimum of 20 bits, with the lowest 4 bits being the least significant.

uint32_t mcps_data_conf_tag::Timestamp

Optional.

The time, in symbols, at which the data were transmitted (see 7.5.4.1). The value of this parameter will be considered valid only if the value of the status parameter is MAC_SUCCESS; if the status parameter is not equal to MAC_SUCCESS, the value of the Timestamp parameter shall not be used for any other purpose. The symbol boundary is described by macSyncSymbolOffset (see Table 86 in 7.4.1). This is a 24-bit value, and the precision of this value shall be a minimum of 20 bits, with the lowest 4 bits being the least significant.

Referenced by mac_gen_mcps_data_conf(), and mcps_data_conf().

bool mlme_sync_req_tag::TrackBeacon

TRUE if the MLME is to synchronize with the next beacon and attempt to track all future beacons.

FALSE if the MLME is to synchronize with only the next beacon.

uint8_t mlme_disassociate_req_tag::TxIndirect

TRUE if the disassociation notification command is to be sent indirectly.

uint8_t mcps_data_req_tag::TxOptions

The transmission options for this MSDU.

These are a bitwise OR of one or more of the following: 0 x 01 = acknowledged transmission. 0 x 04 = indirect transmission.

Referenced by build_data_frame(), mcps_data_request(), and wpan_mcps_data_req().

uint32_t mlme_scan_conf_tag::UnscannedChannels

Indicates which channels given in the request were not scanned (1 = not scanned, 0 = scanned or not requested).

This parameter is only valid for passive or active scans.

wpan_pandescriptor_t scan_result_list_t::wpan_pan_desc