Microchip® Advanced Software Framework

mac_misc.c File Reference

This file implements miscellaneous MAC sublayer components.

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 "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"
#include "stb.h"

Functions

static void do_init_pib (void)
 
static void flush_queues (void)
 
void mac_idle_trans (void)
 Resets the MAC helper variables and transition to idle state. More...
 
retval_t mac_init (void)
 Initializes the MAC sublayer. More...
 
static uint8_t mac_reset (uint8_t init_pib)
 
void mac_sleep_trans (void)
 Puts the radio to sleep if this is allowed. More...
 
static void mac_soft_reset (uint8_t init_pib)
 
retval_t mac_timers_init (void)
 
retval_t mac_timers_stop (void)
 
void mac_trx_init_sleep (void)
 MAC function to put the radio to sleep mode. More...
 
void mac_trx_wakeup (void)
 MAC function to wake-up the radio from sleep state. More...
 
void mlme_reset_request (uint8_t *m)
 Resets the MAC layer. More...
 
static void reset_globals (void)
 
static void send_reset_conf (buffer_t *buf_ptr, uint8_t status)
 

static void flush_queues ( void  )
static
static void mac_soft_reset ( uint8_t  init_pib)
static
static void send_reset_conf ( buffer_t *  buf_ptr,
uint8_t  status 
)
static