Bug 172706 - [wpi] wpi0 fails to load firmware when using country
Summary: [wpi] wpi0 fails to load firmware when using country
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-15 09:10 UTC by Victor Balada Diaz
Modified: 2018-12-09 04:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Balada Diaz 2012-10-15 09:10:01 UTC
When configuring a wpi interface like:

wlans_wpi0="wlan0"
ifconfig_wlan0="WPA DHCP ssid testwifi country ES"

Fails to load firmware with the following error:

wpi0: fatal firmware error

More info (including card pci id, etc) on this thread:

http://lists.freebsd.org/pipermail/freebsd-stable/2012-October/069949.html

A workaround is configuring the card without "country ES". Works as expected, just
with US channels.

How-To-Repeat: Get a WPI card and add the following config to /etc/rc.conf:

wlans_wpi0="wlan0"
ifconfig_wlan0="WPA DHCP ssid testwifi country ES"

Check dmesg and search for:

wpi0: fatal firmware error
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-10-18 23:32:37 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-wireless

Over to maintainer(s).
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-28 17:17:54 UTC
FYI, seems like it is still a problem: https://forums.freebsd.org/threads/no-wi-fi.54866/
Comment 3 Andriy Voskoboinyk freebsd_committer freebsd_triage 2018-12-09 04:49:30 UTC
Should be fixed in r278366 (implements ic_setregdomain() method with appropriate channel flags correction).