From 0d9bef62d2372a6289d89de5a7f8c818a2493505 Mon Sep 17 00:00:00 2001 From: Ramon Fontes Date: Sun, 17 Sep 2017 08:36:52 -0300 Subject: [PATCH] Enabling WDS Sample video demonstration: https://www.youtube.com/watch?v=a27qWHO8JDM --- drivers/net/wireless/mac80211_hwsim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 6467ffac9811e7..1f8229e5451905 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -453,6 +453,7 @@ static const struct ieee80211_iface_limit hwsim_if_limits[] = { BIT(NL80211_IFTYPE_MESH_POINT) | #endif BIT(NL80211_IFTYPE_AP) | + BIT(NL80211_IFTYPE_WDS) | BIT(NL80211_IFTYPE_P2P_GO) }, /* must be last, see hwsim_if_comb */ { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_DEVICE) } @@ -2562,6 +2563,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info, hw->offchannel_tx_hw_queue = 4; hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP) | + BIT(NL80211_IFTYPE_WDS) | BIT(NL80211_IFTYPE_P2P_CLIENT) | BIT(NL80211_IFTYPE_P2P_GO) | BIT(NL80211_IFTYPE_ADHOC) |