Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2011 11:01:53 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221640 - head/sys/dev/iwn
Message-ID:  <201105081101.p48B1rKj042737@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bschmidt
Date: Sun May  8 11:01:53 2011
New Revision: 221640
URL: http://svn.freebsd.org/changeset/base/221640

Log:
  Disable background scan support for 4965 adapters.
  
  On legacy channels every once in a while the firmware throws a SYSASSERT
  on line 208. On HT channels though this does always happen and I'm not
  aware of any workaround currently.

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Sun May  8 10:57:44 2011	(r221639)
+++ head/sys/dev/iwn/if_iwn.c	Sun May  8 11:01:53 2011	(r221640)
@@ -584,12 +584,14 @@ iwn_attach(device_t dev)
 		| IEEE80211_C_SHSLOT		/* short slot time supported */
 		| IEEE80211_C_WPA
 		| IEEE80211_C_SHPREAMBLE	/* short preamble supported */
-		| IEEE80211_C_BGSCAN		/* background scanning */
 #if 0
 		| IEEE80211_C_IBSS		/* ibss/adhoc mode */
 #endif
 		| IEEE80211_C_WME		/* WME */
 		;
+	if (sc->hw_type != IWN_HW_REV_TYPE_4965)
+		ic->ic_caps |= IEEE80211_C_BGSCAN; /* background scanning */
+
 #if 0	/* HT */
 	/* XXX disable until HT channel setup works */
 	ic->ic_htcaps =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105081101.p48B1rKj042737>