On 2015/12/17 19:43, Frank Groeneveld wrote:
> iwn0: fatal firmware error
So this firmware crash...
> firmware error log:
> error type = "UNKNOWN" (0x000014E2)
> program counter = 0x00018100
> source line = 0x00000216
> error data = 0x0000000000000028
> branch link = 0x000180E2000180E2
> interrupt link = 0x0000DBEA00000000
> time = 3006541902
I'm seeing the same crash when I associate to a 2GHz channel where
the AP has set a flag in beacons to warn stations that there are
non-11n devices associated.
Around line 4900 in sys/dev/pci/if_iwn.c you have this:
case IEEE80211_HTPROT_NONE:
break;
case IEEE80211_HTPROT_NONMEMBER:
case IEEE80211_HTPROT_NONHT_MIXED:
sc->rxon.flags |=
htole32(IWN_RXON_HT_RXON_HT_MODE_MIXED);
break;
Try this as I suspect it might fix your crash (unless Stefan
comes up with a better change to try first :)
case IEEE80211_HTPROT_NONE:
break;
case IEEE80211_HTPROT_NONMEMBER:
case IEEE80211_HTPROT_NONHT_MIXED:
if (IEEE80211_IS_CHAN_5GHZ(ni->ni_chan))
sc->rxon.flags |=
htole32(IWN_RXON_HT_RXON_HT_MODE_MIXED);
break;