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 #1

Updated by 0x70b1 about 6 years ago

  • File deleted (if_iwn.c.patch)
Actions #2

Updated by 0x70b1 about 6 years ago

  • File deleted (if_iwn_devid.h.patch)
Actions #3

Updated by 0x70b1 about 6 years ago

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

re-submitted patch file in correct format

Actions #4

Updated by 0x70b1 about 6 years ago

  • File deleted (0001-add-subdevice-id-0x5260-for-iwn-6035-series.patch)
Actions #5

Updated by 0x70b1 about 6 years ago

re-submitted patch file with corrected author information

Actions #6

Updated by swildner about 6 years ago

  • Status changed from New to Closed

I've pushed it, thanks.

Actions

Also available in: Atom PDF