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 ACK_PAYLOAD_LEN, BMM_BUFFER_POINTER, frame_info_tag::buffer_header, FCF_ACK_REQUEST, FCF_FRAMETYPE_BEACON, FCF_FRAMETYPE_MASK, FCS_LEN, last_frame_length, LENGTH_FIELD_LEN, LQI_LEN, frame_info_tag::mpdu, normalize_lqi(), PHY_OVERHEAD, PIN_BEACON_END, PIN_BEACON_START, PIN_WAITING_FOR_BEACON_END, PL_POS_FCF_1, TAL_CONVERT_US_TO_SYMBOLS, tal_pib, and tal_rx_frame_cb().

Referenced by tal_task().