projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ac2ca
)
mac80211: Use only precedence level of DSCP field for frame classification
author
Daniel Wagner
<wagi@monom.org>
Tue, 19 Aug 2008 13:44:35 +0000
(15:44 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 29 Aug 2008 20:24:05 +0000
(16:24 -0400)
Bit 4-5 of DSCP should not be considered by classify_d1. The
802.11 QoS Priority field is only depending on the precedence level.
Signed-off-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wme.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/wme.c
b/net/mac80211/wme.c
index 4310e2f65661e8a663c519eded289d263d46f613..7229e958879dae2d0cf584652ccf0552349a411b 100644
(file)
--- a/
net/mac80211/wme.c
+++ b/
net/mac80211/wme.c
@@
-47,8
+47,6
@@
static unsigned int classify_1d(struct sk_buff *skb)
return 0;
}
- if (dscp & 0x1c)
- return 0;
return dscp >> 5;
}