lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 18 Aug 2014 11:58:23 +0300
From:	Luca Coelho <luca@...lho.fi>
To:	linville@...driver.com
Cc:	johannes@...solutions.net, michal.kazior@...to.com,
	torvalds@...ux-foundation.org, emmanuel.grumbach@...el.com,
	linux-wireless@...r.kernel.org, ilw@...ux.intel.com,
	netdev@...r.kernel.org
Subject: [PATCH] mac80211: disable CSA client with channel contexts for all drivers

From: Luciano Coelho <luciano.coelho@...el.com>

The channel switch announcement code has some serious problems at the
moment.  Disable it for all drivers until it has been tested and
finalized properly.

Signed-off-by: Luciano Coelho <luciano.coelho@...el.com>
---
 net/mac80211/main.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index e0ab432..4b8eee8 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -758,6 +758,12 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
 	netdev_features_t feature_whitelist;
 	struct cfg80211_chan_def dflt_chandef = {};
 
+	/* The CSA client code is not very stable yet and seems to be
+	 * causing trouble.  Disable it for all drivers until
+	 * everything has been fixed and tested properly.
+	 */
+	hw->flags &= ~IEEE80211_HW_CHANCTX_STA_CSA;
+
 	if (hw->flags & IEEE80211_HW_QUEUE_CONTROL &&
 	    (local->hw.offchannel_tx_hw_queue == IEEE80211_INVAL_HW_QUEUE ||
 	     local->hw.offchannel_tx_hw_queue >= local->hw.queues))
-- 
2.0.1

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ