Issue #3153 has been updated by 0x70b1.

File 0001-add-subdevice-id-0x5260-for-iwn-6035-series.patch added

re-submitted patch file in correct format

----------------------------------------
Submit #3153: Fix Intel Centrino Advanced 6235 missing subdevice id 0x5260
http://bugs.dragonflybsd.org/issues/3153#change-13519

* Author: 0x70b1
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: Latest stable
----------------------------------------
Problem:

booting dfly-5.2.2 on a thinkpad t431s with an intel centrino advanced 6235 
wireless card fails with the following message

iwn0: adapter type id : 0x088f sub id :0x5260 rev 11 not supported (subdevice)
iwn0: could not attach device, error 45

Caused by:

if_iwn_devid.h [1] is missing a subdevice id 0x5260 definition for 6x35 
devices. Therefore, in if_iwn.c [2] at iwn_config_specific function, lines 910 
to 928, the default case is hit which throws the error.

Fix:

as the corresponding firmware (iwlwifi-6000g2b-18.168.6.1) is up-to-date the 
problem can be fixed by just adding the missing subdevice id value to the 6x35 
definitions in if_iwn_devid.h [1] plus adding a corresponding case-check to the 
switch statement in iwn_config_specific function in if_iwn.c [2].

Verification:

first, FreeBSD version already contains the missing subdevice id definition, 
see [3] line 173.

second, after applying the patches and recompiling the kernel the 
aforementioned error at boot time is gone. Also, the interface (iwn0) gets 
listed correctly and connecting to wifi as well as transmitting and receiving 
packets is working.

[1] 
https://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/sys/dev/netif/iwn/if_iwn_devid.h
[2] 
https://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/sys/dev/netif/iwn/if_iwn.c
[3] https://github.com/freebsd/freebsd/blob/master/sys/dev/iwn/if_iwn_devid.h

---Files--------------------------------
0001-add-subdevice-id-0x5260-for-iwn-6035-series.patch (1.25 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account

Reply via email to