Go to the documentation of this file.
22 #define AR_PHY_CCA_FILTERWINDOW_LENGTH 5
24 #define NUM_NF_READINGS 6
25 #define ATH9K_NF_CAL_HIST_MAX 5
33 #define INIT_INI_ARRAY(iniarray, array) do { \
34 (iniarray)->ia_array = (u32 *)(array); \
35 (iniarray)->ia_rows = ARRAY_SIZE(array); \
36 (iniarray)->ia_columns = ARRAY_SIZE(array[0]); \
39 #define INI_RA(iniarray, row, column) \
40 (((iniarray)->ia_array)[(row) * ((iniarray)->ia_columns) + (column)])
42 #define INIT_CAL(_perCal) do { \
43 (_perCal)->calState = CAL_WAITING; \
44 (_perCal)->calNext = NULL; \
47 #define INSERT_CAL(_ahp, _perCal) \
49 if ((_ahp)->cal_list_last == NULL) { \
51 (_ahp)->cal_list_last = (_perCal); \
52 ((_ahp)->cal_list_last)->calNext = (_perCal); \
54 ((_ahp)->cal_list_last)->calNext = (_perCal); \
55 (_ahp)->cal_list_last = (_perCal); \
56 (_perCal)->calNext = (_ahp)->cal_list; \
67 #define MIN_CAL_SAMPLES 1
68 #define MAX_CAL_SAMPLES 64
69 #define INIT_LOG_COUNT 5
70 #define PER_MIN_LOG_COUNT 2
71 #define PER_MAX_LOG_COUNT 10
94 #define MAX_PACAL_SKIPCOUNT 8