]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: move QoS-enable to BSS info
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 19 Jul 2010 14:39:04 +0000 (16:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Jul 2010 20:02:58 +0000 (16:02 -0400)
commita29ff9c56a29859db92a4bc528ee7ccef0427714
tree4a1b35285921fb25e01363af48a8c7db7423098d
parent6a58539ef4255147e597deed1e3aa1f494762105
mac80211: move QoS-enable to BSS info

Ever since

commit d5bcbe1a61fe34b72853aa5890743f2021ffc79c
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Mon Mar 29 12:18:34 2010 +0200

    mac80211: explicitly disable/enable QoS

mac80211 is telling drivers, in particular
iwlwifi, whether QoS is enabled or not.

However, this is only relevant for station mode,
since only then will any device send nullfunc
frames and need to know whether they should be
QoS frames or not. In other modes, there are
(currently) no frames the device is supposed to
send.

When you now consider virtual interfaces, it
becomes apparent that the current mechanism is
inadequate since it enables/disables QoS on a
global scale, where for nullfunc frames it has
to be on a per-interface scale.

Due to the above considerations, we can change
the way mac80211 advertises the QoS state to
drivers to only ever advertise it as "off" in
station mode, and make it a per-BSS setting.

Tested-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/mlme.c
net/mac80211/util.c