Microchip® Advanced Software Framework

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

Functions

void handle_received_frame_irq (void)
 Handle received frame interrupt. More...
 
void process_incoming_frame (buffer_t *buf)
 Parses received frame and create the frame_info_t structure. More...
 

void handle_received_frame_irq ( void  )
void process_incoming_frame ( buffer_t *  buf)

Parses received frame and create the frame_info_t structure.

This function parses the received frame and creates the frame_info_t structure to be sent to the MAC as a parameter of tal_rx_frame_cb().

Parameters
bufPointer to the buffer containing the received frame

References ACK_PAYLOAD_LEN, BACKOFF_WAITING_FOR_BEACON, buf_ptr, frame_info_tag::buffer_header, CSMA_HANDLE_BEACON, FCF_ACK_REQUEST, FCF_FRAMETYPE_BEACON, FCF_FRAMETYPE_MASK, FCS_LEN, last_frame_length, LENGTH_FIELD_LEN, LQI_LEN, frame_info_tag::mpdu, PHY_OVERHEAD, PIN_BEACON_END, PIN_BEACON_START, PIN_WAITING_FOR_BEACON_END, PL_POS_FCF_1, TAL_CONVERT_US_TO_SYMBOLS, tal_csma_state, tal_pib, tal_rx_frame_cb(), and frame_info_tag::time_stamp.

Referenced by tal_task().