1
2
3
4
5
6
7
8
9#ifndef __ODM_INTERFACE_H__
10#define __ODM_INTERFACE_H__
11
12
13
14
15
16
17
18#define _reg_all(_name) ODM_##_name
19#define _reg_ic(_name, _ic) ODM_##_name##_ic
20#define _bit_all(_name) BIT_##_name
21#define _bit_ic(_name, _ic) BIT_##_name##_ic
22
23
24
25
26
27
28
29
30
31#define _reg_11N(_name) ODM_REG_##_name##_11N
32#define _bit_11N(_name) ODM_BIT_##_name##_11N
33
34#define _cat(_name, _ic_type, _func) _func##_11N(_name)
35
36
37
38
39#define ODM_REG(_name, _pDM_Odm) _cat(_name, _pDM_Odm->SupportICType, _reg)
40#define ODM_BIT(_name, _pDM_Odm) _cat(_name, _pDM_Odm->SupportICType, _bit)
41
42typedef enum _ODM_H2C_CMD {
43 ODM_H2C_RSSI_REPORT = 0,
44 ODM_H2C_PSD_RESULT = 1,
45 ODM_H2C_PathDiv = 2,
46 ODM_H2C_WIFI_CALIBRATION = 3,
47 ODM_MAX_H2CCMD
48} ODM_H2C_CMD;
49
50
51#endif
52