Microchip® Advanced Software Framework

mac_gts.c File Reference

This file implements GTS feature for MAC.

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

#include <compiler.h>
#include <stdlib.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 "tal_slotted_csma.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

void flush_gts_queues (void)
 
void handle_gts_data_req (mcps_data_req_t *data_req, uint8_t *msg)
 
void handle_gts_data_tx_end (void)
 
void handle_gts_sync_loss (void)
 
void init_gts_queues (void)
 
void mac_gen_mlme_gts_conf (buffer_t *buf_ptr, uint8_t status, gts_char_t gts_char)
 
void mac_parse_bcn_gts_info (uint8_t gts_count, uint8_t gts_dir, mac_gts_list_t *gts_list_ptr)
 
static void mac_send_gts_ind (gts_char_t GtsChar, uint16_t dev_addr)
 
void mac_t_gts_cb (void *callback_parameter)
 
void mac_tx_gts_data (queue_t *gts_data)
 
void mlme_gts_request (uint8_t *m)
 
static void process_deallocate_data_q (queue_t *q_ptr)
 
void reset_gts_globals (void)
 

Variables

static queue_t dev_tx_gts_q
 
mac_dev_gts_mgmt_t mac_dev_gts_table [MAX_GTS_ON_DEV]
 
uint8_t mac_dev_gts_table_len = 0
 

static void process_deallocate_data_q ( queue_t q_ptr)
static

queue_t dev_tx_gts_q
static

Referenced by handle_gts_data_req().