blob: 6053b1c9feee161da93c056f611a9046028da85c [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
Johannes Bergcf0277e2010-01-05 18:00:58 +010023u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
24 struct sk_buff *skb);
25void ieee80211_set_qos_hdr(struct ieee80211_local *local, struct sk_buff *skb);
26u16 ieee80211_downgrade_queue(struct ieee80211_local *local,
27 struct sk_buff *skb);
28
Jiri Bencf0706e82007-05-05 11:45:53 -070029
30#endif /* _WME_H */