Project

General

Profile

Actions

Submit #3153

closed

Fix Intel Centrino Advanced 6235 missing subdevice id 0x5260

Added by 0x70b1 about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Driver
Target version:
Start date:
10/27/2018
Due date:
% Done:

0%

Estimated time:

Description

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

Actions

Also available in: Atom PDF