This source file includes following definitions.
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
- GEN_EVT_CODE
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef _RTL8712_EVENT_H_
15 #define _RTL8712_EVENT_H_
16
17 void r8712_event_handle(struct _adapter *padapter, __le32 *peventbuf);
18 void r8712_got_addbareq_event_callback(struct _adapter *adapter, u8 *pbuf);
19
20 enum rtl8712_c2h_event {
21 GEN_EVT_CODE(_Read_MACREG) = 0,
22 GEN_EVT_CODE(_Read_BBREG),
23 GEN_EVT_CODE(_Read_RFREG),
24 GEN_EVT_CODE(_Read_EEPROM),
25 GEN_EVT_CODE(_Read_EFUSE),
26 GEN_EVT_CODE(_Read_CAM),
27 GEN_EVT_CODE(_Get_BasicRate),
28 GEN_EVT_CODE(_Get_DataRate),
29 GEN_EVT_CODE(_Survey),
30 GEN_EVT_CODE(_SurveyDone),
31
32 GEN_EVT_CODE(_JoinBss),
33 GEN_EVT_CODE(_AddSTA),
34 GEN_EVT_CODE(_DelSTA),
35 GEN_EVT_CODE(_AtimDone),
36 GEN_EVT_CODE(_TX_Report),
37 GEN_EVT_CODE(_CCX_Report),
38 GEN_EVT_CODE(_DTM_Report),
39 GEN_EVT_CODE(_TX_Rate_Statistics),
40 GEN_EVT_CODE(_C2HLBK),
41 GEN_EVT_CODE(_FWDBG),
42 GEN_EVT_CODE(_C2HFEEDBACK),
43 GEN_EVT_CODE(_ADDBA),
44 GEN_EVT_CODE(_C2HBCN),
45 GEN_EVT_CODE(_ReportPwrState),
46 GEN_EVT_CODE(_WPS_PBC),
47 GEN_EVT_CODE(_ADDBAReq_Report),
48 MAX_C2HEVT
49 };
50
51 #ifdef _RTL8712_CMD_C_
52
53 static struct fwevent wlanevents[] = {
54 {0, NULL},
55 {0, NULL},
56 {0, NULL},
57 {0, NULL},
58 {0, NULL},
59 {0, NULL},
60 {0, NULL},
61 {0, NULL},
62 {0, &r8712_survey_event_callback},
63 {sizeof(struct surveydone_event),
64 &r8712_surveydone_event_callback},
65
66 {0, &r8712_joinbss_event_callback},
67 {sizeof(struct stassoc_event), &r8712_stassoc_event_callback},
68 {sizeof(struct stadel_event), &r8712_stadel_event_callback},
69 {0, &r8712_atimdone_event_callback},
70 {0, NULL},
71 {0, NULL},
72 {0, NULL},
73 {0, NULL},
74 {0, NULL},
75 {0, NULL},
76 {0, NULL},
77 {0, NULL},
78 {0, NULL},
79 {0, &r8712_cpwm_event_callback},
80 {0, &r8712_wpspbc_event_callback},
81 {0, &r8712_got_addbareq_event_callback},
82 };
83
84 #endif
85
86 #endif