svn commit: r330453 - stable/11/sys/dev/iwm
Eitan Adler
eadler at FreeBSD.org
Mon Mar 5 08:00:18 UTC 2018
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;
More information about the svn-src-stable-11
mailing list