wireless: deprecate WDS and disable by default
authorJohannes Berg <johannes.berg@intel.com>
Tue, 18 Oct 2016 08:28:57 +0000 (10:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Oct 2016 07:08:43 +0000 (09:08 +0200)
commit8f20542386c57bc5f40a09e38d2772d84c0b2afa
tree8b174161758cc1026f721978f9c57274813a5bc4
parent0ea2a2ee8de0501b132cc4454a31bbadbdb5dbbe
wireless: deprecate WDS and disable by default

The old WDS 4-addr frame support is very limited, e.g.
 * no encryption is possible on such links
 * it cannot support rate/HT/VHT negotiation
 * management APIs are very restricted

These make the WDS legacy mode useless in practice.

All of these are resolved by the 4-addr AP/client support,
so there's also no reason to improve WDS in the future.

Therefore, add a Kconfig option to disable legacy WDS.
This gives people an "emergency valve" while they migrate
to the better-supported 4-addr AP/client option; we plan
to remove it (and the associated cfg80211/mac80211 code,
which is the ultimate goal) in the future.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/Kconfig
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/broadcom/b43/main.c
drivers/net/wireless/broadcom/b43legacy/main.c
drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
net/wireless/core.c