Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 1/3] mac80211: make ieee802_1d_to_ac avilable to drivers
@ 2010-11-23  1:23 Luis R. Rodriguez
  2010-11-23  1:23 ` [PATCH 2/3] ath9k: avoid aggregation for VO traffic Luis R. Rodriguez
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Luis R. Rodriguez @ 2010-11-23  1:23 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless, Luis R. Rodriguez

This will be used by ath9k's RC next.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
---
 include/net/mac80211.h |   15 +++++++++++++++
 net/mac80211/wme.c     |   14 --------------
 net/mac80211/wme.h     |    2 --
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 5b0fff2..209c858 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -110,6 +110,21 @@ enum ieee80211_ac_numbers {
 	IEEE80211_AC_BK		= 3,
 };
 
+/*
+ * Default mapping in classifier to work with default
+ * queue setup.
+ */
+static const int ieee802_1d_to_ac[8] = {
+	IEEE80211_AC_BE,
+	IEEE80211_AC_BK,
+	IEEE80211_AC_BK,
+	IEEE80211_AC_BE,
+	IEEE80211_AC_VI,
+	IEEE80211_AC_VI,
+	IEEE80211_AC_VO,
+	IEEE80211_AC_VO
+};
+
 /**
  * struct ieee80211_tx_queue_params - transmit queue configuration
  *
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c
index 58e75bb..43d9a0e 100644
--- a/net/mac80211/wme.c
+++ b/net/mac80211/wme.c
@@ -18,20 +18,6 @@
 #include "ieee80211_i.h"
 #include "wme.h"
 
-/* Default mapping in classifier to work with default
- * queue setup.
- */
-const int ieee802_1d_to_ac[8] = {
-	IEEE80211_AC_BE,
-	IEEE80211_AC_BK,
-	IEEE80211_AC_BK,
-	IEEE80211_AC_BE,
-	IEEE80211_AC_VI,
-	IEEE80211_AC_VI,
-	IEEE80211_AC_VO,
-	IEEE80211_AC_VO
-};
-
 static int wme_downgrade_ac(struct sk_buff *skb)
 {
 	switch (skb->priority) {
diff --git a/net/mac80211/wme.h b/net/mac80211/wme.h
index 6053b1c..c5501b5 100644
--- a/net/mac80211/wme.h
+++ b/net/mac80211/wme.h
@@ -18,8 +18,6 @@
 
 #define QOS_CONTROL_ACK_POLICY_SHIFT 5
 
-extern const int ieee802_1d_to_ac[8];
-
 u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
 			   struct sk_buff *skb);
 void ieee80211_set_qos_hdr(struct ieee80211_local *local, struct sk_buff *skb);
-- 
1.7.3.2.90.gd4c43


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-11-23 13:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-23  1:23 [PATCH 1/3] mac80211: make ieee802_1d_to_ac avilable to drivers Luis R. Rodriguez
2010-11-23  1:23 ` [PATCH 2/3] ath9k: avoid aggregation for VO traffic Luis R. Rodriguez
2010-11-23  3:02   ` Johannes Berg
2010-11-23  6:00     ` Johannes Berg
2010-11-23 12:14   ` Björn Smedman
2010-11-23 12:56     ` Felix Fietkau
2010-11-23 13:40       ` Björn Smedman
2010-11-23  1:23 ` [PATCH 3/3] mac80211: " Luis R. Rodriguez
2010-11-23  3:01 ` [PATCH 1/3] mac80211: make ieee802_1d_to_ac avilable to drivers Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox