1.3.2.3.31 MAC_WRP_SNIFFER_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_WRP_TIMESTAMP timestamp;
    /* The PAN identifier of the device from which the frame was received */
    MAC_WRP_PAN_ID srcPanId;
    /* The PAN identifier of the entity to which the MSDU is being transferred */
    MAC_WRP_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_WRP_ADDRESS srcAddress;
    /* The address of the entity to which the MSDU is being transferred */
    MAC_WRP_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;
    /* Frame Type as defined in IEEE 802.15.4 standard */
    uint8_t frameType;
    /* Security level of the received frame: 0x00 unecrypted, 0x05 encrypted */
    MAC_WRP_SECURITY_LEVEL securityLevel;
    /* The QOS of the MSDU: 0x00 normal priority, 0x01 high priority */
    MAC_WRP_QUALITY_OF_SERVICE qualityOfService;
    /* Tone Map of the received frame */
    MAC_WRP_TONE_MAP rxToneMap;
    /* Weakest Tone Map with which the frame could have been received */
    MAC_WRP_TONE_MAP computedToneMap;
} MAC_WRP_SNIFFER_INDICATION_PARAMS;

Summary

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

Description

The structure contains the fields reported by the MAC Sniffer 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.

  • frameType. Frame Type as defined in IEEE 802.15.4 standard.

  • 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.