mac80211: add extended channel switching capability if the driver supports CSA
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 8 Oct 2014 06:48:36 +0000 (09:48 +0300)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 1 Jan 2015 13:52:28 +0000 (14:52 +0100)
commit52208cc5f1935d6bc9dbaadf0bcf3ba177e21695
treec79fdd156e19672fdcda780100fe59cf7973036f
parentb42df548477184070280a282471de37f1cc0a6d5
mac80211: add extended channel switching capability if the driver supports CSA

The Extended Channel Switching capability bit in the extended
capabilities element must be set if the driver supports CSA on
non-beaconing interfaces.

Since this capability needs to be set during driver registration, the
extended_capabiliities global variable needs to be moved to the local
structure so that it can be modified.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h