mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-26 08:51:15 +00:00
23 lines
1.1 KiB
C
23 lines
1.1 KiB
C
|
// Xianjun jiao. putaoshu@msn.com; xianjun.jiao@imec.be
|
||
|
|
||
|
// ---------------------------------------side channel-------------------------------
|
||
|
const char *side_ch_compatible_str = "sdr,side_ch";
|
||
|
|
||
|
//align with side_ch_control.v and all related user space, remote files
|
||
|
#define CSI_LEN 56 // length of single CSI
|
||
|
#define EQUALIZER_LEN (56-4) // for non HT, four {32767,32767} will be padded to achieve 52 (non HT should have 48)
|
||
|
#define HEADER_LEN 2 //timestamp and frequency offset
|
||
|
|
||
|
#define MAX_NUM_DMA_SYMBOL 4096 //align with side_ch.v side_ch.h
|
||
|
|
||
|
#define SIDE_CH_REG_MULTI_RST_ADDR (0*4)
|
||
|
#define SIDE_CH_REG_CONFIG_ADDR (1*4)
|
||
|
#define SIDE_CH_REG_NUM_DMA_SYMBOL_ADDR (2*4) //low 16bit to PS; high 16bit to PL
|
||
|
#define SIDE_CH_REG_START_DMA_TO_PS_ADDR (3*4)
|
||
|
#define SIDE_CH_REG_NUM_EQ_ADDR (4*4)
|
||
|
#define SIDE_CH_REG_FC_TARGET_ADDR (5*4)
|
||
|
#define SIDE_CH_REG_ADDR1_TARGET_ADDR (6*4)
|
||
|
#define SIDE_CH_REG_ADDR2_TARGET_ADDR (7*4)
|
||
|
|
||
|
#define SIDE_CH_REG_M_AXIS_DATA_COUNT_ADDR (20*4)
|