All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darko <darko@veze.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Country code or else hidden problem
Date: Mon, 26 Jan 2009 18:02:06 +0100	[thread overview]
Message-ID: <200901261802.07025.darko@veze.net> (raw)

Hi,

I have bought an DWA 547 card recently, after first unsuccessful try with 
TP-link WN861N  (same problem as 
https://lists.ath9k.org/pipermail/ath9k-devel/2008-October/000450.html)
As client DWA 547 works ok ( didn't try 802.11n, have no such AP).
As AP followed instructions from http://wireless.erley.org/git.html
Kernel is 2.6.29-rc2-wl taken from git 24.01.2009
hostapd is 0.6.7
iw is 0.9.9
OS is slackware 12.2

so:  
#modprobe ath9k debug=0x00000080 
#dmesg
...
[ 1019.585770] ath9k: 0.1
[ 1019.585872] ath9k 0000:02:0a.0: PCI INT A -> Link[LNKF] -> GSI 11 (level, 
low) -> IRQ 11
[ 1020.011640] ath9k: Country alpha2 being used: &A
[ 1020.018633] wmaster0 (ath9k): not using net_device_ops yet
[ 1020.021951] phy1: Selected rate control algorithm 'ath9k_rate_control'
[ 1020.023474] wlan0 (ath9k): not using net_device_ops yet
[ 1020.028931] cfg80211: Calling CRDA for country: AM
[ 1020.030698] Registered led device: ath9k-phy1:radio
[ 1020.030754] Registered led device: ath9k-phy1:assoc
[ 1020.030802] Registered led device: ath9k-phy1:tx
[ 1020.030852] Registered led device: ath9k-phy1:rx
[ 1020.030878] phy1: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: 
mem=0xc8900000, irq=11
[ 1020.049744] cfg80211: Current regulatory domain intersected: 
[ 1020.049756]  (start_freq - end_freq @ bandwidth), (max_antenna_gain, 
max_eirp)
[ 1020.049765]  (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1020.049773]  (5170000 KHz - 5250000 KHz @ 20000 KHz), (N/A, 1700 mBm)
[ 1020.049780]  (5250000 KHz - 5330000 KHz @ 20000 KHz), (N/A, 1800 mBm)
[ 1020.187638] ADDRCONF(NETDEV_UP): wlan0: link is not ready

Reported country code is sometimes like here &A, sometimes ?A (c with acute), 
sometimes  ?A (e with acute).

hostapd.conf:
interface=wlan0
driver=nl80211
ieee80211n=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
hw_mode=g
channel=11

#hostapd -dd /etc/hostapd.conf  
Configuration file: /etc/hostapd.conf
Opening raw packet socket for ifindex -1082141532
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
Failed to set country code
wlan0: Unable to setup interface.

and in dmesg get an extra line:
[ 1603.342272] mon.wlan0 (ath9k): not using net_device_ops yet

#iw --debug reg set US
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 36
    .nlmsg_type = 2 <ERROR>
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1232985260
    .nlmsg_pid = 1413
  [ERRORMSG] 20 octets
    .error = -11 "Resource temporarily unavailable"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .nlmsg_type = 17 <0x11>
    .nlmsg_flags = 5 <REQUEST,ACK>
    .nlmsg_seq = 1232985260
    .nlmsg_pid = 1413
---------------------------  END NETLINK MESSAGE   ---------------------------
command failed: Resource temporarily unavailable (-11)

Please help,
Darko

             reply	other threads:[~2009-01-26 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 17:02 Darko [this message]
2009-01-26 17:33 ` [ath9k-devel] Country code or else hidden problem Luis R. Rodriguez
  -- strict thread matches above, loose matches on Subject: below --
2009-01-26 19:54 Darko
2009-01-26 21:53 ` Luis R. Rodriguez

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=200901261802.07025.darko@veze.net \
    --to=darko@veze.net \
    --cc=ath9k-devel@lists.ath9k.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.