forked from Aquantia/AQtion
-
Notifications
You must be signed in to change notification settings - Fork 1
/
aq_dash.h
43 lines (36 loc) · 792 Bytes
/
aq_dash.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef AQ_DASH_H
#define AQ_DASH_H
/* attributes */
enum aq_dash_msg_attrs {
AQ_DASH_ATTR_UNSPEC,
AQ_DASH_ATTR_IFNAME,
AQ_DASH_ATTR_CMD_ID,
AQ_DASH_ATTR_MSG_DATA,
AQ_DASH_ATTR_MSG_DATA_LEN,
AQ_DASH_ATTR_EVENT,
AQ_DASH_ATTR_MAX,
};
/* commands */
enum aq_dash_nl_command {
AQ_DASH_CMD_UNSPEC,
/* Set/Get DASH config command
* Manadatory attributes:
AQ_DASH_ATTR_IFNAME,
AQ_DASH_ATTR_CMD_ID,
AQ_DASH_ATTR_MSG_DATA and
AQ_DASH_ATTR_MSG_DATA_LEN */
AQ_DASH_CMD_FWREQ,
/* FW upgrade/Power management event */
AQ_DASH_EVENT,
AQ_DASH_CMD_MAX,
};
/* dash message ids */
enum aq_dash_msg_id {
AQ_DASH_SEND_DATA, /* Sends DATA to FW */
AQ_DASH_GET_DATA, /* Gets DATA from FW */
};
/* multicast group */
enum genl_test_multicast_groups {
AQ_DASH_EVENT_GROUP,
};
#endif