From nobody@FreeBSD.org  Mon Oct 15 08:04:47 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id EA24AF3
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Oct 2012 08:04:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D2FF58FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Oct 2012 08:04:47 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9F84lDA030343
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Oct 2012 08:04:47 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q9F84lmS030342;
	Mon, 15 Oct 2012 08:04:47 GMT
	(envelope-from nobody)
Message-Id: <201210150804.q9F84lmS030342@red.freebsd.org>
Date: Mon, 15 Oct 2012 08:04:47 GMT
From: Victor Balada Diaz <victor@bsdes.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wpi0 fails to load firmware when using country
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         172706
>Category:       kern
>Synopsis:       [wpi] wpi0 fails to load firmware when using country
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 15 08:10:01 UTC 2012
>Closed-Date:    
>Last-Modified:  Thu Oct 18 22:32:53 UTC 2012
>Originator:     Victor Balada Diaz
>Release:        
>Organization:
>Environment:
FreeBSD patata.example.net 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
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


>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Oct 18 22:32:37 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172706 
>Unformatted:
