Atmel 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-2015 Atmel Corporation. All rights reserved.

#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 uint8_t find_buffer_cb (void *buf, void *buffer)
 Checks whether the indirect data frame address matches with the address passed. More...
 
static void mac_process_tal_tx_status (retval_t tx_status, frame_info_t *frame)
 
static void remove_frame_from_gts_q (frame_info_t *f_ptr)
 
void tal_tx_frame_done_cb (retval_t status, frame_info_t *frame)
 Callback function from TAL after the frame is transmitted. More...
 

static uint8_t find_buffer_cb ( void *  buf,
void *  buffer 
)
static

Checks whether the indirect data frame address matches with the address passed.

Parameters
bufPointer to indirect data buffer
bufferPointer to the buffer to be searched
Returns
1 if address matches, 0 otherwise

References buffer.

Referenced by remove_frame_from_gts_q().

static void remove_frame_from_gts_q ( frame_info_t f_ptr)
static
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

Referenced by tx_done(), and tx_done_handling().