xref: /linux/net/mac80211/wme.h (revision 367b8112fe2ea5c39a7bb4d263dcdd9b612fae18)
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 net_device *dev, struct sk_buff *skb);
24 int ieee80211_ht_agg_queue_add(struct ieee80211_local *local,
25 			       struct sta_info *sta, u16 tid);
26 void ieee80211_ht_agg_queue_remove(struct ieee80211_local *local,
27 				   struct sta_info *sta, u16 tid,
28 				   u8 requeue);
29 void ieee80211_requeue(struct ieee80211_local *local, int queue);
30 
31 #endif /* _WME_H */
32