Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
[sfrench/cifs-2.6.git] / net / mac80211 / wme.h
1 /*
2  * Copyright 2004, Instant802 Networks, Inc.
3  * Copyright 2005, Devicescape Software, Inc.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  */
9
10 #ifndef _WME_H
11 #define _WME_H
12
13 #include <linux/netdevice.h>
14 #include "ieee80211_i.h"
15
16 #define QOS_CONTROL_ACK_POLICY_NORMAL 0
17 #define QOS_CONTROL_ACK_POLICY_NOACK 1
18
19 #define QOS_CONTROL_ACK_POLICY_SHIFT 5
20
21 extern const int ieee802_1d_to_ac[8];
22
23 u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
24                            struct sk_buff *skb);
25 void ieee80211_set_qos_hdr(struct ieee80211_local *local, struct sk_buff *skb);
26 u16 ieee80211_downgrade_queue(struct ieee80211_local *local,
27                               struct sk_buff *skb);
28
29
30 #endif /* _WME_H */