Microchip® Advanced Software Framework

tal_ftn.c File Reference

This file implements the filter periodic tuning.

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

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#include "pal.h"
#include "return_val.h"
#include "tal.h"
#include "ieee_const.h"
#include "tal_config.h"
#include "tal_pib.h"
#include "stack_config.h"
#include "bmm.h"
#include "qmm.h"
#include "tal_internal.h"
#include "mac_build_config.h"

Macros

#define NARROW_TRIM_THRESHOLD   2
 
#define NUM_SUFFICIENT_MEASUREMENTS   3
 
#define POSTPONE_PERIOD   1000000
 
#define TAL_CALIBRATION_TIMEOUT_MIN   (30UL)
 
#define TAL_CALIBRATION_TIMEOUT_US
 
#define TRIM_LOOPS   7
 
#define TRIM_THRESHOLD   3
 

#define NARROW_TRIM_THRESHOLD   2
#define NUM_SUFFICIENT_MEASUREMENTS   3
#define POSTPONE_PERIOD   1000000
#define TAL_CALIBRATION_TIMEOUT_MIN   (30UL)
#define TAL_CALIBRATION_TIMEOUT_US
Value:
(60UL) * (1000UL) * (1000UL))
#define TAL_CALIBRATION_TIMEOUT_MIN
Definition: tal_ftn.c:64

Referenced by tal_reset(), and tal_trx_wakeup().

#define TRIM_LOOPS   7
#define TRIM_THRESHOLD   3