Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: Brett Rudley <brudley@broadcom.com>,
	Henry Ptasinski <henryp@broadcom.com>,
	Dowan Kim <dowan@broadcom.com>,
	Roland Vossen <rvossen@broadcom.com>,
	Arend van Spriel <arend@broadcom.com>
Cc: "Wenceslao González-Viñas" <wens@fisica.unav.es>,
	622842@bugs.debian.org,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: brcm80211 not setting correct country code?
Date: Sat, 30 Apr 2011 06:04:34 +0100	[thread overview]
Message-ID: <1304139874.2833.29.camel@localhost> (raw)
In-Reply-To: <20110429173944.10906p14p6bdid4w@webmail.unav.es>

[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]

Wenceslao González-Viñas wrote:
[...]
> [  330.205983] brcm80211: module is from the staging directory, the quality is unknown, you have been warned.
> [  330.212186] brcm80211 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> [  330.212195] brcm80211 0000:03:00.0: setting latency timer to 64
> [  330.268237] Found chip type AI (0x13814313)
> [  330.271328] Changing max_res_mask to 0xffff
> [  330.271330] Changing min_res_mask to 0x200d
> [  330.277446] Applying 4313 WARs
> [  330.278330] wlc_bmac_attach:: deviceid 0x4727 nbands 1 board 0x51a macaddr: 88:25:2c:4e:9e:34
> [  330.283578] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
> [  330.285363] wl_set_hint: Sending country code US to MAC80211
> [  330.285371] wl0: Broadcom BCM43xx 802.11 MAC80211 Driver (1.82.8.0) (Compiled at 04:19:31 on Apr  7 2011)
> [  330.365121] ADDRCONF(NETDEV_UP): wlan0: link is not ready
> ----------------------
> 
> By the way, before I used 'modprobe cfg80211 ieee80211_regdom=EU' .  
> Perhaps the problem comes from that and line (dmesg) 330.285363 ?  I  
> need channel 13 ...
[...]

I asked where the device was purchased:

> In Spain (PC - City company). It is a Dell Inspiron M101z (service tag  
> CHL0SM1) . BTW, in Windows 7, it worked perfectly. But I removed it  
> installing Debian Wheezy.
[...]

I looked at the driver source code and there is certainly an attempt to
use a country code from NVRAM.  But maybe it hasn't actually been read
from NVRAM at the point this is done.  'US' seems to be the default if
the country code is blank.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

       reply	other threads:[~2011-04-30  5:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110415070730.4178.6175.reportbug@calpurnia>
     [not found] ` <20110415081334.GD1387@vostochny.stro.at>
     [not found]   ` <20110415161039.15535n2vg4igcykg@webmail.unav.es>
     [not found]     ` <20110429164822.62112d9at4vs5xa8@webmail.unav.es>
     [not found]       ` <1304088874.3105.57.camel@localhost>
     [not found]         ` <20110429173944.10906p14p6bdid4w@webmail.unav.es>
2011-04-30  5:04           ` Ben Hutchings [this message]
2011-04-30  8:14             ` brcm80211 not setting correct country code? Arend van Spriel
2011-04-30  8:38               ` Wenceslao González-Viñas
2011-04-30 11:30                 ` Arend van Spriel
2011-04-30 13:39                   ` Ben Hutchings
2011-04-30 13:48                     ` Wenceslao González-Viñas
2011-04-30 13:44                   ` Wenceslao González-Viñas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1304139874.2833.29.camel@localhost \
    --to=ben@decadent.org.uk \
    --cc=622842@bugs.debian.org \
    --cc=arend@broadcom.com \
    --cc=brudley@broadcom.com \
    --cc=dowan@broadcom.com \
    --cc=henryp@broadcom.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rvossen@broadcom.com \
    --cc=wens@fisica.unav.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox