mac80211: set default QoS values according to spec
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 7 May 2009 14:16:24 +0000 (16:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 May 2009 19:23:54 +0000 (15:23 -0400)
commitaa837e1d6bd1a71b3c30c7738b6c29d41512fe7d
treeee5ad78a279d22fb63821e4664de7ce03fe6d4d8
parent58905ca5b11a0ff3860f55b789cbbf052f7158a7
mac80211: set default QoS values according to spec

We've never really cared about the default QoS (WMM) values, but
we really should if the AP doesn't send any. This patch makes
mac80211 use the default values according to 802.11-2007, and
additionally syncs the default values when we disassociate so
whatever the last AP said gets "unconfigured".

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/util.c