Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 08:00:17 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r330453 - stable/11/sys/dev/iwm
Message-ID:  <201803050800.w2580Hb6001810@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Mar  5 08:00:17 2018
New Revision: 330453
URL: https://svnweb.freebsd.org/changeset/base/330453

Log:
  MFC r308185:
  
  [iwm] Set full-offload scan flag. Fixes fw panic when already associated.
  
  * Starting a scan from wpa_supplicant or via ifconfig while associated,
    should no longer cause firmware panics or abort early.
  
  Tested:
  
  * AC7260, STA mode

Modified:
  stable/11/sys/dev/iwm/if_iwm.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/iwm/if_iwm.c
==============================================================================
--- stable/11/sys/dev/iwm/if_iwm.c	Mon Mar  5 07:58:48 2018	(r330452)
+++ stable/11/sys/dev/iwm/if_iwm.c	Mon Mar  5 08:00:17 2018	(r330453)
@@ -6140,6 +6140,8 @@ iwm_attach(device_t dev)
 	    IEEE80211_C_SHPREAMBLE	/* short preamble supported */
 //	    IEEE80211_C_BGSCAN		/* capable of bg scanning */
 	    ;
+	/* Advertise full-offload scanning */
+	ic->ic_flags_ext = IEEE80211_FEXT_SCAN_OFFLOAD;
 	for (i = 0; i < nitems(sc->sc_phyctxt); i++) {
 		sc->sc_phyctxt[i].id = i;
 		sc->sc_phyctxt[i].color = 0;



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