Merge tag 'iio-for-3.17b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23...
[deliverable/linux.git] / drivers / staging / rtl8821ae / compat.h
1 #ifndef __RTL_COMPAT_H__
2 #define __RTL_COMPAT_H__
3
4 #define RX_FLAG_MACTIME_MPDU RX_FLAG_MACTIME_START
5 #define IEEE80211_KEY_FLAG_SW_MGMT IEEE80211_KEY_FLAG_SW_MGMT_TX
6
7 struct ieee80211_mgmt_compat {
8 __le16 frame_control;
9 __le16 duration;
10 u8 da[6];
11 u8 sa[6];
12 u8 bssid[6];
13 __le16 seq_ctrl;
14 union {
15 struct {
16 u8 category;
17 union {
18 struct {
19 u8 action_code;
20 u8 dialog_token;
21 u8 status_code;
22 u8 variable[0];
23 } __attribute__ ((packed)) wme_action;
24 struct{
25 u8 action_code;
26 u8 dialog_token;
27 __le16 capab;
28 __le16 timeout;
29 __le16 start_seq_num;
30 } __attribute__((packed)) addba_req;
31 struct{
32 u8 action_code;
33 u8 dialog_token;
34 __le16 status;
35 __le16 capab;
36 __le16 timeout;
37 } __attribute__((packed)) addba_resp;
38 struct{
39 u8 action_code;
40 __le16 params;
41 __le16 reason_code;
42 } __attribute__((packed)) delba;
43 struct{
44 u8 action_code;
45 /* capab_info for open and confirm,
46 * reason for close
47 */
48 __le16 aux;
49 /* Followed in plink_confirm by status
50 * code, AID and supported rates,
51 * and directly by supported rates in
52 * plink_open and plink_close
53 */
54 u8 variable[0];
55 } __attribute__((packed)) plink_action;
56 struct{
57 u8 action_code;
58 u8 variable[0];
59 } __attribute__((packed)) mesh_action;
60 struct {
61 u8 action;
62 u8 smps_control;
63 } __attribute__ ((packed)) ht_smps;
64 } u;
65 } __attribute__ ((packed)) action;
66 } u;
67 } __attribute__ ((packed));
68 #endif
This page took 0.034371 seconds and 6 git commands to generate.