2 * IEEE 802.11 driver (80211.o) - QoS datatypes
3 * Copyright 2004, Instant802 Networks, Inc.
4 * Copyright 2005, Devicescape Software, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 #include <asm/byteorder.h>
12 #include <net/pkt_sched.h>
14 #define QOS_CONTROL_LEN 2
16 #define QOS_CONTROL_ACK_POLICY_NORMAL 0
17 #define QOS_CONTROL_ACK_POLICY_NOACK 1
19 #define QOS_CONTROL_TID_MASK 0x0f
20 #define QOS_CONTROL_ACK_POLICY_SHIFT 5
22 /* This bit field structure should not be used; it can cause compiler to
23 * generate unaligned accesses and inefficient code. */
25 #if defined(__LITTLE_ENDIAN_BITFIELD)
26 u8 tag1d
:3, /* bits 0-2 */
31 #elif defined (__BIG_ENDIAN_BITFIELD)
36 tag1d
:3; /* bits 0-2 */
38 #error "Please fix <asm/byteorder.h>"
41 } __attribute__ ((packed
));
44 ieee80211_rx_h_parse_qos(struct ieee80211_txrx_data
*rx
);
47 ieee80211_rx_h_remove_qos_control(struct ieee80211_txrx_data
*rx
);
49 void ieee80211_install_qdisc(struct net_device
*dev
);
51 int ieee80211_wme_register(void);
52 void ieee80211_wme_unregister(void);
This page took 0.052635 seconds and 5 git commands to generate.