blob: bc62f28a4d3df6951ecb02b7f0e70e0ce6aad30f [file] [log] [blame]
Jiri Bencf0706e82007-05-05 11:45:53 -07001/*
Jiri Bencf0706e82007-05-05 11:45:53 -07002 * 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
Jiri Bencf0706e82007-05-05 11:45:53 -070016#define QOS_CONTROL_ACK_POLICY_NORMAL 0
17#define QOS_CONTROL_ACK_POLICY_NOACK 1
18
Jiri Bencf0706e82007-05-05 11:45:53 -070019#define QOS_CONTROL_ACK_POLICY_SHIFT 5
20
Ron Rindjunsky9e723492008-01-28 14:07:18 +020021extern const int ieee802_1d_to_ac[8];
22
David S. Miller51cb6db2008-07-15 03:34:57 -070023u16 ieee80211_select_queue(struct net_device *dev, struct sk_buff *skb);
Ron Rindjunsky9e723492008-01-28 14:07:18 +020024int ieee80211_ht_agg_queue_add(struct ieee80211_local *local,
25 struct sta_info *sta, u16 tid);
26void ieee80211_ht_agg_queue_remove(struct ieee80211_local *local,
27 struct sta_info *sta, u16 tid,
28 u8 requeue);
29void ieee80211_requeue(struct ieee80211_local *local, int queue);
Jiri Bencf0706e82007-05-05 11:45:53 -070030
31#endif /* _WME_H */