On Thu, May 05, 2016 at 08:46:26AM +0200, Boris Rieken wrote:
> I have two laptops that use the iwi driver for their Intel wireless
> interfaces and I have an usb wifi dongle that uses the rsu driver. Under 5.7
> and 5.8 these work perfectly. But under 5.9 I cannot connect to a wireless
> network. Scanning with ifconfig works fine. When using dhclient to get an ip
> address. Dhclient tells me the device is sleeping..?
>
> I tried the usb dongle on 3 different laptop and on a virtual machine
> (virtualbox with usb pass thru). With 5.9 it never works. But as soon as I
> install 5.7 or 5.8 everything works as expected.
>
> I always used the i386 builds.
>
You need this commit to fix iwi on 5.9.
Not sure about rsu(4) but perhaps this will fix it, too.
/usr/src/sys/net80211/ieee80211_node.c
----------------------------
revision 1.100
date: 2016/03/03 07:20:45; author: gerhard; state: Exp; lines: +3 -1;
commitid: t8jeYaoxQko1CuFD;
Restore assignment of ic_curmode that was accidentally removed when
moving the ERP code to post-assoc phase. Fixes iwi(4) fatal firmware
errors.
ok stsp@, sobrado@
----------------------------
Index: ieee80211_node.c
===================================================================
RCS file: /cvs/src/sys/net80211/ieee80211_node.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -p -r1.99 -r1.100
--- ieee80211_node.c 25 Jan 2016 15:14:22 -0000 1.99
+++ ieee80211_node.c 3 Mar 2016 07:20:45 -0000 1.100
@@ -630,6 +630,8 @@ ieee80211_end_scan(struct ifnet *ifp)
goto notfound;
(*ic->ic_node_copy)(ic, ic->ic_bss, selbs);
ni = ic->ic_bss;
+
+ ic->ic_curmode = ieee80211_chan2mode(ic, ni->ni_chan);
if (ic->ic_flags & IEEE80211_F_RSNON)
ieee80211_choose_rsnparams(ic);