wme.h 997 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * IEEE 802.11 driver (80211.o) - QoS datatypes
  3. * Copyright 2004, Instant802 Networks, Inc.
  4. * Copyright 2005, Devicescape Software, Inc.
  5. *
  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.
  9. */
  10. #ifndef _WME_H
  11. #define _WME_H
  12. #include <linux/netdevice.h>
  13. #include "ieee80211_i.h"
  14. #define QOS_CONTROL_LEN 2
  15. #define QOS_CONTROL_ACK_POLICY_NORMAL 0
  16. #define QOS_CONTROL_ACK_POLICY_NOACK 1
  17. #define QOS_CONTROL_ACK_POLICY_SHIFT 5
  18. extern const int ieee802_1d_to_ac[8];
  19. u16 ieee80211_select_queue(struct net_device *dev, struct sk_buff *skb);
  20. int ieee80211_ht_agg_queue_add(struct ieee80211_local *local,
  21. struct sta_info *sta, u16 tid);
  22. void ieee80211_ht_agg_queue_remove(struct ieee80211_local *local,
  23. struct sta_info *sta, u16 tid,
  24. u8 requeue);
  25. void ieee80211_requeue(struct ieee80211_local *local, int queue);
  26. #endif /* _WME_H */