Microchip® Advanced Software Framework

mac_process_tal_tx_frame_status.c File Reference

Processes the TAL tx frame status received on the frame transmission.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include <compiler.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include "return_val.h"
#include "pal.h"
#include "bmm.h"
#include "qmm.h"
#include "tal.h"
#include "ieee_const.h"
#include "mac_msg_const.h"
#include "mac_api.h"
#include "mac_msg_types.h"
#include "mac_data_structures.h"
#include "stack_config.h"
#include "mac_internal.h"
#include "mac.h"
#include "mac_config.h"
#include "mac_build_config.h"

Functions

static void mac_process_tal_tx_status (retval_t tx_status, frame_info_t *frame)
 
void tal_tx_frame_done_cb (retval_t status, frame_info_t *frame)
 Callback function from TAL after the frame is transmitted. More...
 

void tal_tx_frame_done_cb ( retval_t  status,
frame_info_t frame 
)

Callback function from TAL after the frame is transmitted.

User call back function for frame transmission.

This is a callback function from the TAL. It is used when an attempt to transmit a frame is finished.

Parameters
statusStatus of transmission
frameSpecifies pointer to the transmitted frame

References BEACONREQUEST, mac_process_tal_tx_status(), MAC_SCAN_ACTIVE, MAC_SCAN_ORPHAN, mac_scan_send_complete(), mac_scan_state, MAKE_MAC_NOT_BUSY, frame_info_tag::msg_type, and ORPHANNOTIFICATION.

Referenced by tx_done_handling().