Skip to content

Commit

Permalink
mac80211: Use only precedence level of DSCP field for frame classific…
Browse files Browse the repository at this point in the history
…ation

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>
  • Loading branch information
Daniel Wagner authored and John W. Linville committed Aug 29, 2008
1 parent 43ac2ca commit 2f58bbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/mac80211/wme.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ static unsigned int classify_1d(struct sk_buff *skb)
return 0;
}

if (dscp & 0x1c)
return 0;
return dscp >> 5;
}

Expand Down

0 comments on commit 2f58bbf

Please sign in to comment.