Microchip® Advanced Software Framework

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

The Frame Reception Unit reads/uploads the incoming frames .

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 BACKOFF_WAITING_FOR_BEACON, BMM_BUFFER_POINTER, frame_info_tag::buffer_header, CSMA_HANDLE_BEACON, FCF_FRAMETYPE_BEACON, FCF_FRAMETYPE_MASK, last_frame_length, LQI_LEN, frame_info_tag::mpdu, normalize_lqi(), 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().