1.3.3.1.5 MAC_DATA_INDICATION_PARAMS Struct

C

typedef struct
{
    /* Pointer to the set of octets forming the received MSDU */
    uint8_t *msdu;
    /* Reception time, refered to MAC milliseconds counter */
    MAC_TIMESTAMP timestamp;
    /* The PAN identifier of the device from which the frame was received */
    MAC_PAN_ID srcPanId;
    /* The PAN identifier of the entity to which the MSDU is being transferred */
    MAC_PAN_ID destPanId;
    /* The number of octets of the MSDU to be indicated to the upper layer */
    uint16_t msduLength;
    /* The address of the device which sent the frame */
    MAC_ADDRESS srcAddress;
    /* The address of the entity to which the MSDU is being transferred */
    MAC_ADDRESS destAddress;
    /* The LQI value measured during reception of the frame */
    uint8_t linkQuality;
    /* The Data Sequence Number of the received frame */
    uint8_t dsn;
    /* The index of the key used for decryption */
    uint8_t keyIndex;
    /* Modulation Type of the received frame */
    uint8_t rxModulation;
    /* Modulation scheme of the received frame */
    uint8_t rxModulationScheme;
    /* Weakest Modulation Type in which the frame could have been received */
    uint8_t computedModulation;
    /* Weakest Modulation Scheme in which the frame could have been received */
    uint8_t computedModulationScheme;
    /* Phase Differential compared to Node that sent the frame */
    uint8_t phaseDifferential;
    /* Security level of the received frame: 0x00 unecrypted, 0x05 encrypted */
    MAC_SECURITY_LEVEL securityLevel;
    /* The QOS of the MSDU: 0x00 normal priority, 0x01 high priority */
    MAC_QUALITY_OF_SERVICE qualityOfService;
    /* Tone Map of the received frame */
    MAC_TONE_MAP rxToneMap;
    /* Weakest Tone Map with which the frame could have been received */
    MAC_TONE_MAP computedToneMap;
} MAC_DATA_INDICATION_PARAMS;

Summary

Defines the Parameters for the MAC Data Indication event handler function.

Description

The structure contains the fields reported by the MAC Data Indication event handler function.

Field description:

  • msdu. Pointer to the set of octets forming the received MSDU.

  • timestamp. Reception time, refered to MAC milliseconds counter.

  • srcPanId. The PAN identifier of the device from which the frame was received.

  • destPanId. The PAN identifier of the entity to which the MSDU is being transferred.

  • msduLength. The number of octets of the MSDU to be indicated to the upper layer.

  • srcAddress. The address of the device which sent the frame.

  • destAddress. The address of the entity to which the MSDU is being transferred.

  • linkQuality. The LQI value measured during reception of the frame.

  • dsn. The Data Sequence Number of the received frame.

  • keyIndex. The index of the key used for decryption.

  • rxModulation. Modulation Type of the received frame.

  • rxModulationScheme. Modulation scheme of the received frame.

  • computedModulation. Weakest Modulation Type in which the frame could have been received.

  • computedModulationScheme. Weakest Modulation Scheme in which the frame could have been received.

  • phaseDifferential. Phase Differential compared to Node that sent the frame.

  • securityLevel. Security level of the received frame: 0x00 unecrypted, 0x05 encrypted.

  • qualityOfService. The QOS of the MSDU: 0x00 normal priority, 0x01 high priority.

  • rxToneMap. Tone Map of the received frame.

  • computedToneMap. Weakest Tone Map with which the frame could have been received.

Remarks

None.