* [ath9k-devel] ath9k WMP300nv2 (AR5416)
@ 2009-01-24 18:49 Alexander Bartha
2009-01-25 17:12 ` Sujith
0 siblings, 1 reply; 10+ messages in thread
From: Alexander Bartha @ 2009-01-24 18:49 UTC (permalink / raw)
To: ath9k-devel
Hello to ath9k developers
i am using:
Distribution: gentoo
Kernel: 2.6.28-r1
Linux-Headers: 2.6.28-r1
Wireless Card: Linksys WMP300n v2 European
Router: Linksys WRT160n
i have tested wmp300nv2 European Version without any luck. I have tried to compile the kernel in that way you told on the the web site(ath9k howto).
At your howto is Networking --->
Wireless --->
<M> Improved wireless configuration API
<M> Generic IEEE 802.11 Networking Stack (mac80211) both as Module
when i tried both as module i cant load mac80211 or cfg80211 so ath9k fails also.
One time i get it to work (with kernel 2.6.27-r7) (cfg80211 and mac80211 directly in the kernel not as module) but with only 8MB/sec Bandwith and channel 12 and 13 was not able to access. I need channel 12 or 13 cause in the neibourhood are much wireless routers and none of this routers uses channel 12 or 13 so at these channels i get the stablest and speedest network.
Please can you help me with a working kernel config an tell me which packeges i have to install that my linksys wmp300nv2 card could work at 80211N 130MB/sec with support for all channel inkluding channel 12 and 13.
Sorry for these ugly english. Sorry for these mail but i tried many times to build my kernel without any luck on the linksys card. I have attached my kernel config.
Thanks for helping.
--
Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-2.6.28-r1-6
Type: application/octet-stream
Size: 58194 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090124/e76cb864/attachment-0001.obj
^ permalink raw reply [flat|nested] 10+ messages in thread* [ath9k-devel] ath9k WMP300nv2 (AR5416) 2009-01-24 18:49 [ath9k-devel] ath9k WMP300nv2 (AR5416) Alexander Bartha @ 2009-01-25 17:12 ` Sujith 2009-01-28 13:17 ` Alexander Bartha 0 siblings, 1 reply; 10+ messages in thread From: Sujith @ 2009-01-25 17:12 UTC (permalink / raw) To: ath9k-devel Alexander Bartha wrote: > Hello to ath9k developers > > i am using: > > Distribution: gentoo > Kernel: 2.6.28-r1 > Linux-Headers: 2.6.28-r1 > Wireless Card: Linksys WMP300n v2 European > Router: Linksys WRT160n The easiest way is to just use compat-wireless. See: http://wireless.kernel.org/en/users/Download Sujith -- http://sujith-m.blogspot.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* [ath9k-devel] ath9k WMP300nv2 (AR5416) 2009-01-25 17:12 ` Sujith @ 2009-01-28 13:17 ` Alexander Bartha 2009-01-28 19:33 ` Luis R. Rodriguez 0 siblings, 1 reply; 10+ messages in thread From: Alexander Bartha @ 2009-01-28 13:17 UTC (permalink / raw) To: ath9k-devel -------- Original-Nachricht -------- > Datum: Sun, 25 Jan 2009 22:42:56 +0530 > Von: Sujith <m.sujith@gmail.com> > An: "Alexander Bartha" <alexander.bartha.office.rusz@gmx.at> > CC: ath9k-devel at lists.ath9k.org > Betreff: [ath9k-devel] ath9k WMP300nv2 (AR5416) > Alexander Bartha wrote: > > Hello to ath9k developers > > > > i am using: > > > > Distribution: gentoo > > Kernel: 2.6.28-r1 > > Linux-Headers: 2.6.28-r1 > > Wireless Card: Linksys WMP300n v2 European > > Router: Linksys WRT160n > > The easiest way is to just use compat-wireless. > See: http://wireless.kernel.org/en/users/Download > > Sujith > -- > http://sujith-m.blogspot.com After building my kernel with cfg80211 and mac80211 as modules it was posible to install the compat-wirless drivers. And for the first time the worked! ifconfig tells me that my bandwith is only 1MBS and the ip i get from my LinksysWRT160 is renewed every 6Minutes. Later in the evening i make package updates (crda 0.9.5 to 1.0.1) my linksysWMP300nv2 card wont worke. The last message i get was link is not ready. /var/log/messages before update: an 27 15:01:53 ws1 [ 152.020563] cfg80211: Using static regulatory domain info Jan 27 15:01:53 ws1 [ 152.020568] cfg80211: Regulatory domain: US Jan 27 15:01:53 ws1 [ 152.020570] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 27 15:01:53 ws1 [ 152.020575] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) Jan 27 15:01:53 ws1 [ 152.020578] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 27 15:01:53 ws1 [ 152.020581] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 27 15:01:53 ws1 [ 152.020585] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 27 15:01:53 ws1 [ 152.020588] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 27 15:01:53 ws1 [ 152.020592] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) Jan 27 15:01:53 ws1 [ 152.020595] cfg80211: Calling CRDA for country: US Jan 27 15:01:53 ws1 [ 152.040083] ath9k: 0.1 Jan 27 15:01:53 ws1 [ 152.040164] ath9k 0000:04:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 Jan 27 15:01:53 ws1 [ 152.102946] cfg80211: Regulatory domain changed to country: US Jan 27 15:01:53 ws1 [ 152.102951] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 27 15:01:53 ws1 [ 152.102956] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) Jan 27 15:01:53 ws1 [ 152.102959] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) Jan 27 15:01:53 ws1 [ 152.102963] (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 27 15:01:53 ws1 [ 152.102966] (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 27 15:01:53 ws1 [ 152.102969] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) Jan 27 15:01:54 ws1 [ 152.465925] phy0: Selected rate control algorithm 'ath9k_rate_control' Jan 27 15:01:54 ws1 [ 152.467143] cfg80211: Calling CRDA for country: AT Jan 27 15:01:54 ws1 [ 152.467188] Registered led device: ath9k-phy0:radio Jan 27 15:01:54 ws1 [ 152.467213] Registered led device: ath9k-phy0:assoc Jan 27 15:01:54 ws1 [ 152.467241] Registered led device: ath9k-phy0:tx Jan 27 15:01:54 ws1 [ 152.467266] Registered led device: ath9k-phy0:rx Jan 27 15:01:54 ws1 [ 152.467282] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xf9be0000, irq=20 Jan 27 15:01:54 ws1 [ 152.475534] cfg80211: Regulatory domain changed to country: AT Jan 27 15:01:54 ws1 [ 152.475539] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 27 15:01:54 ws1 [ 152.475543] (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 27 15:01:54 ws1 [ 152.475547] (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 27 15:01:54 ws1 [ 152.475550] (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 27 15:01:54 ws1 [ 152.475553] (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) Jan 27 15:01:55 ws1 [ 153.371753] ADDRCONF(NETDEV_UP): wlan0: link is not ready Jan 27 15:01:56 ws1 [ 154.337141] wlan0: authenticate with AP f5da96a8 Jan 27 15:01:56 ws1 [ 154.339093] wlan0: authenticated Jan 27 15:01:56 ws1 [ 154.339097] wlan0: associate with AP f5da96a8 Jan 27 15:01:56 ws1 [ 154.344295] wlan0: RX AssocResp from f28f202a (capab=0x411 status=0 aid=1) Jan 27 15:01:56 ws1 [ 154.344300] wlan0: associated Jan 27 15:01:56 ws1 [ 154.352968] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Jan 27 15:01:56 ws1 wpa_cli: interface wlan0 CONNECTED Jan 27 15:01:57 ws1 dhcpcd[8802]: wlan0: dhcpcd 4.0.7 starting Jan 27 15:01:57 ws1 dhcpcd[8802]: wlan0: broadcasting for a lease Jan 27 15:01:58 ws1 dhcpcd[8802]: wlan0: offered 192.168.1.100 from 192.168.1.1 Jan 27 15:01:58 ws1 dhcpcd[8802]: wlan0: checking 192.168.1.100 is available on attached networks Jan 27 15:02:04 ws1 dhcpcd[8802]: wlan0: acknowledged 192.168.1.100 from 192.168.1.1 Jan 27 15:02:04 ws1 dhcpcd[8802]: wlan0: leased 192.168.1.100 for 86400 seconds Jan 27 15:02:06 ws1 [ 164.757007] wlan0: no IPv6 routers present /var/log/messages after crda update: ws1 [ 475.022872] ath9k 0000:04:00.0: PCI INT A disabled Jan 28 13:11:59 ws1 [ 475.022906] ath9k: Driver unloaded Jan 28 13:12:34 ws1 rc-scripts: WARNING: net.wlan0 has not yet been started. Jan 28 13:12:45 ws1 [ 520.974197] cfg80211: Using static regulatory domain info Jan 28 13:12:45 ws1 [ 520.974202] cfg80211: Regulatory domain: US Jan 28 13:12:45 ws1 [ 520.974205] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 28 13:12:45 ws1 [ 520.974209] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) Jan 28 13:12:45 ws1 [ 520.974213] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 28 13:12:45 ws1 [ 520.974216] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 28 13:12:45 ws1 [ 520.974219] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 28 13:12:45 ws1 [ 520.974223] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) Jan 28 13:12:45 ws1 [ 520.974226] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) Jan 28 13:12:45 ws1 [ 520.974230] cfg80211: Calling CRDA for country: US Jan 28 13:12:45 ws1 [ 520.992789] ath9k: 0.1 Jan 28 13:12:45 ws1 [ 520.992829] ath9k 0000:04:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 Jan 28 13:12:46 ws1 [ 521.420252] phy0: Selected rate control algorithm 'ath9k_rate_control' Jan 28 13:12:46 ws1 [ 521.421635] cfg80211: Calling CRDA for country: AT Jan 28 13:12:46 ws1 [ 521.421683] Registered led device: ath9k-phy0:radio Jan 28 13:12:46 ws1 [ 521.421708] Registered led device: ath9k-phy0:assoc Jan 28 13:12:46 ws1 [ 521.421732] Registered led device: ath9k-phy0:tx Jan 28 13:12:46 ws1 [ 521.421756] Registered led device: ath9k-phy0:rx Jan 28 13:12:46 ws1 [ 521.421773] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xf9520000, irq=20 Jan 28 13:12:47 ws1 [ 522.336623] ADDRCONF(NETDEV_UP): wlan0: link is not ready Is the only way to use the old crda??? Please help kind regards Alexander Bartha -- NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL f?r nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a ^ permalink raw reply [flat|nested] 10+ messages in thread
* [ath9k-devel] ath9k WMP300nv2 (AR5416) 2009-01-28 13:17 ` Alexander Bartha @ 2009-01-28 19:33 ` Luis R. Rodriguez [not found] ` <20090129192832.83600@gmx.net> 0 siblings, 1 reply; 10+ messages in thread From: Luis R. Rodriguez @ 2009-01-28 19:33 UTC (permalink / raw) To: ath9k-devel On Wed, Jan 28, 2009 at 05:17:22AM -0800, Alexander Bartha wrote: > > -------- Original-Nachricht -------- > > Datum: Sun, 25 Jan 2009 22:42:56 +0530 > > Von: Sujith <m.sujith@gmail.com> > > An: "Alexander Bartha" <alexander.bartha.office.rusz@gmx.at> > > CC: ath9k-devel at lists.ath9k.org > > Betreff: [ath9k-devel] ath9k WMP300nv2 (AR5416) > > > Alexander Bartha wrote: > > > Hello to ath9k developers > > > > > > i am using: > > > > > > Distribution: gentoo > > > Kernel: 2.6.28-r1 > > > Linux-Headers: 2.6.28-r1 > > > Wireless Card: Linksys WMP300n v2 European > > > Router: Linksys WRT160n > > > > The easiest way is to just use compat-wireless. > > See: http://wireless.kernel.org/en/users/Download > > > > Sujith > > -- > > http://sujith-m.blogspot.com > After building my kernel with cfg80211 and mac80211 as modules it was posible to install the compat-wirless drivers. And for the first time the worked! Great to hear! > ifconfig tells me that my bandwith is only 1MBS and Do you mean iwconfig? iwconfig does not tell you MCS (HT or 802.11n rates) and you will see 1 Mbps rate when that is used. To get more accurate MCS rate stats you now have to use iw: http://wireless.kernel.org/en/users/Documentation/iw#Gettingstationstatistics sudo iw dev wlan1 station dump This is still being worked on by mac80211 drivers, so you won't see the last TX rate yet but hopefully soon. > the ip i get from my LinksysWRT160 is renewed every 6Minutes. Later in the evening i make package updates (crda 0.9.5 to 1.0.1) my linksysWMP300nv2 card wont worke. The last message i get was link is not ready. "link not ready" just means that you haven't associated yet. I know -- this is a bit cryptic, but in a way its right, and its certainly correct for ethernet. > /var/log/messages before update: > an 27 15:01:53 ws1 [ 152.020563] cfg80211: Using static regulatory domain info > Jan 27 15:01:53 ws1 [ 152.020568] cfg80211: Regulatory domain: US > Jan 27 15:01:53 ws1 [ 152.020570] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) > Jan 27 15:01:53 ws1 [ 152.020575] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) > Jan 27 15:01:53 ws1 [ 152.020578] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 27 15:01:53 ws1 [ 152.020581] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 27 15:01:53 ws1 [ 152.020585] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 27 15:01:53 ws1 [ 152.020588] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 27 15:01:53 ws1 [ 152.020592] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) > Jan 27 15:01:53 ws1 [ 152.020595] cfg80211: Calling CRDA for country: US > Jan 27 15:01:53 ws1 [ 152.040083] ath9k: 0.1 > Jan 27 15:01:53 ws1 [ 152.040164] ath9k 0000:04:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 > Jan 27 15:01:53 ws1 [ 152.102946] cfg80211: Regulatory domain changed to country: US > Jan 27 15:01:53 ws1 [ 152.102951] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) > Jan 27 15:01:53 ws1 [ 152.102956] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) > Jan 27 15:01:53 ws1 [ 152.102959] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) > Jan 27 15:01:53 ws1 [ 152.102963] (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) > Jan 27 15:01:53 ws1 [ 152.102966] (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) > Jan 27 15:01:53 ws1 [ 152.102969] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) > Jan 27 15:01:54 ws1 [ 152.465925] phy0: Selected rate control algorithm 'ath9k_rate_control' > Jan 27 15:01:54 ws1 [ 152.467143] cfg80211: Calling CRDA for country: AT > Jan 27 15:01:54 ws1 [ 152.467188] Registered led device: ath9k-phy0:radio > Jan 27 15:01:54 ws1 [ 152.467213] Registered led device: ath9k-phy0:assoc > Jan 27 15:01:54 ws1 [ 152.467241] Registered led device: ath9k-phy0:tx > Jan 27 15:01:54 ws1 [ 152.467266] Registered led device: ath9k-phy0:rx > Jan 27 15:01:54 ws1 [ 152.467282] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xf9be0000, irq=20 > Jan 27 15:01:54 ws1 [ 152.475534] cfg80211: Regulatory domain changed to country: AT > Jan 27 15:01:54 ws1 [ 152.475539] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) > Jan 27 15:01:54 ws1 [ 152.475543] (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) > Jan 27 15:01:54 ws1 [ 152.475547] (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) > Jan 27 15:01:54 ws1 [ 152.475550] (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) > Jan 27 15:01:54 ws1 [ 152.475553] (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) > Jan 27 15:01:55 ws1 [ 153.371753] ADDRCONF(NETDEV_UP): wlan0: link is not ready > Jan 27 15:01:56 ws1 [ 154.337141] wlan0: authenticate with AP f5da96a8 > Jan 27 15:01:56 ws1 [ 154.339093] wlan0: authenticated > Jan 27 15:01:56 ws1 [ 154.339097] wlan0: associate with AP f5da96a8 > Jan 27 15:01:56 ws1 [ 154.344295] wlan0: RX AssocResp from f28f202a (capab=0x411 status=0 aid=1) > Jan 27 15:01:56 ws1 [ 154.344300] wlan0: associated > Jan 27 15:01:56 ws1 [ 154.352968] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready > Jan 27 15:01:56 ws1 wpa_cli: interface wlan0 CONNECTED > Jan 27 15:01:57 ws1 dhcpcd[8802]: wlan0: dhcpcd 4.0.7 starting > Jan 27 15:01:57 ws1 dhcpcd[8802]: wlan0: broadcasting for a lease > Jan 27 15:01:58 ws1 dhcpcd[8802]: wlan0: offered 192.168.1.100 from 192.168.1.1 > Jan 27 15:01:58 ws1 dhcpcd[8802]: wlan0: checking 192.168.1.100 is available on attached networks > Jan 27 15:02:04 ws1 dhcpcd[8802]: wlan0: acknowledged 192.168.1.100 from 192.168.1.1 > Jan 27 15:02:04 ws1 dhcpcd[8802]: wlan0: leased 192.168.1.100 for 86400 seconds > Jan 27 15:02:06 ws1 [ 164.757007] wlan0: no IPv6 routers present Looks good. > /var/log/messages after crda update: > ws1 [ 475.022872] ath9k 0000:04:00.0: PCI INT A disabled > Jan 28 13:11:59 ws1 [ 475.022906] ath9k: Driver unloaded > Jan 28 13:12:34 ws1 rc-scripts: WARNING: net.wlan0 has not yet been started. > Jan 28 13:12:45 ws1 [ 520.974197] cfg80211: Using static regulatory domain info > Jan 28 13:12:45 ws1 [ 520.974202] cfg80211: Regulatory domain: US > Jan 28 13:12:45 ws1 [ 520.974205] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) > Jan 28 13:12:45 ws1 [ 520.974209] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) > Jan 28 13:12:45 ws1 [ 520.974213] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 28 13:12:45 ws1 [ 520.974216] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 28 13:12:45 ws1 [ 520.974219] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 28 13:12:45 ws1 [ 520.974223] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > Jan 28 13:12:45 ws1 [ 520.974226] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) > Jan 28 13:12:45 ws1 [ 520.974230] cfg80211: Calling CRDA for country: US > Jan 28 13:12:45 ws1 [ 520.992789] ath9k: 0.1 > Jan 28 13:12:45 ws1 [ 520.992829] ath9k 0000:04:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 > Jan 28 13:12:46 ws1 [ 521.420252] phy0: Selected rate control algorithm 'ath9k_rate_control' > Jan 28 13:12:46 ws1 [ 521.421635] cfg80211: Calling CRDA for country: AT > Jan 28 13:12:46 ws1 [ 521.421683] Registered led device: ath9k-phy0:radio > Jan 28 13:12:46 ws1 [ 521.421708] Registered led device: ath9k-phy0:assoc > Jan 28 13:12:46 ws1 [ 521.421732] Registered led device: ath9k-phy0:tx > Jan 28 13:12:46 ws1 [ 521.421756] Registered led device: ath9k-phy0:rx > Jan 28 13:12:46 ws1 [ 521.421773] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xf9520000, irq=20 > Jan 28 13:12:47 ws1 [ 522.336623] ADDRCONF(NETDEV_UP): wlan0: link is not ready > > Is the only way to use the old crda??? Nope, what is happening here is the kernel is not getting the regulatory domain. Please show me the log of you compiling and installing CRDA (make clean; make; sudo make install). Then, as per CRDA debugging page [1] you can debug commmunication between the kernel and crda by running: sudo udevadm monitor --environment kernel But I want you to do this by first doing this: sudo rmmod ath9k mac80211 cfg80211 sudo dmesg -c > /dev/null Then on one terminal have open 'sudo udevadm monitor --environment kernel' and in another run: sudo modprobe cfg80211 sudo dmesg -c > log Send me that log, and also the output from the terminal with the udevadm running. [1] http://wireless.kernel.org/en/developers/Regulatory/CRDA#DebuggingkerneltoCRDAcommunication Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20090129192832.83600@gmx.net>]
* [ath9k-devel] ath9k WMP300nv2 (AR5416) [not found] ` <20090129192832.83600@gmx.net> @ 2009-01-29 19:46 ` Luis R. Rodriguez 2009-01-30 5:39 ` [ath9k-devel] Problem compiling latest compate wirless Amit Sood [not found] ` <20090130162123.104260@gmx.net> 0 siblings, 2 replies; 10+ messages in thread From: Luis R. Rodriguez @ 2009-01-29 19:46 UTC (permalink / raw) To: ath9k-devel On Thu, Jan 29, 2009 at 11:28:32AM -0800, Alexander Bartha wrote: > Hello Luis > > thanks for your answer i have done debugging and attached log files as attachment. The log file from building crda is from my portage (gentoo system) cause crda is in the software tree of gentoo. The first working solution was to go back from 1.0.1 crda to crda 0.9.5 this works with the ath9k driver "compat-wireless-2.6.tar.bz2"--from-26.01.2009 OK so everything looks good except I am in doubt your udev rule file is being setup in place correctly. Can you do: cat /lib/udev/rules.d/85-regulatory.rules cat /etc/udev/rules.d/regulatory.rules > Do you know some problems from the ath9k where the driver loses the connection and renewal the ip per dhcpd??? > there the output of /var/log/messages in this case: > Jan 29 17:56:19 ws1 wpa_cli: interface wlan0 CONNECTED > Jan 29 17:56:20 ws1 dhcpcd[8482]: wlan0: dhcpcd 4.0.7 starting > Jan 29 17:56:20 ws1 dhcpcd[8482]: wlan0: broadcasting for a lease > Jan 29 17:56:21 ws1 dhcpcd[8482]: wlan0: offered 192.168.1.100 from 192.168.1.1 > Jan 29 17:56:21 ws1 dhcpcd[8482]: wlan0: checking 192.168.1.100 is available on attached networks > Jan 29 17:56:26 ws1 dhcpcd[8482]: wlan0: acknowledged 192.168.1.100 from 192.168.1.1 > Jan 29 17:56:26 ws1 dhcpcd[8482]: wlan0: leased 192.168.1.100 for 86400 seconds > Jan 29 17:56:29 ws1 [ 238.543007] wlan0: no IPv6 routers present > Jan 29 18:00:01 ws1 cron[8538]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly) > Jan 29 18:00:01 ws1 cron[8539]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) > Jan 29 18:01:27 ws1 [ 537.287651] wlan0: disassociated (Reason: 4) > Jan 29 18:01:27 ws1 dhcpcd[8507]: wlan0: carrier lost > Jan 29 18:01:27 ws1 wpa_cli: interface wlan0 DISCONNECTED > Jan 29 18:01:28 ws1 [ 538.288019] wlan0: associate with AP f5d6b6a8 > Jan 29 18:01:28 ws1 dhcpcd[8507]: wlan0: received SIGTERM, stopping > Jan 29 18:01:29 ws1 [ 538.487016] wlan0: associate with AP f5d6b6a8 > Jan 29 18:01:29 ws1 [ 538.687013] wlan0: associate with AP f5d6b6a8 > Jan 29 18:01:29 ws1 [ 538.887013] wlan0: association with AP f5d6b6a8 timed out > Jan 29 18:01:30 ws1 [ 539.826138] wlan0: authenticate with AP f5d6b6a8 > Jan 29 18:01:30 ws1 [ 539.828127] wlan0: authenticated > Jan 29 18:01:30 ws1 [ 539.828132] wlan0: associate with AP f5d6b6a8 > Jan 29 18:01:30 ws1 [ 539.832140] wlan0: RX ReassocResp from f2ebe02a (capab=0x411 status=0 aid=2) > Jan 29 18:01:30 ws1 [ 539.832145] wlan0: associated > Jan 29 18:01:30 ws1 wpa_cli: interface wlan0 CONNECTED > Jan 29 18:01:31 ws1 dhcpcd[9429]: wlan0: dhcpcd 4.0.7 starting > Jan 29 18:01:31 ws1 dhcpcd[9429]: wlan0: broadcasting for a lease > Jan 29 18:01:32 ws1 dhcpcd[9429]: wlan0: offered 192.168.1.100 from 192.168.1.1 > Jan 29 18:01:32 ws1 dhcpcd[9429]: wlan0: checking 192.168.1.100 is available on attached networks > Jan 29 18:01:38 ws1 dhcpcd[9429]: wlan0: acknowledged 192.168.1.100 from 192.168.1.1 > Jan 29 18:01:38 ws1 dhcpcd[9429]: wlan0: leased 192.168.1.100 for 86400 seconds > > > ??????????? time to try a newer driver???????. wireless-testing is always being updated, can't say I have seen this issue myself, but again try the latest and if you see issue please report them. Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
* [ath9k-devel] Problem compiling latest compate wirless 2009-01-29 19:46 ` Luis R. Rodriguez @ 2009-01-30 5:39 ` Amit Sood 2009-01-30 6:31 ` Luis R. Rodriguez [not found] ` <20090130162123.104260@gmx.net> 1 sibling, 1 reply; 10+ messages in thread From: Amit Sood @ 2009-01-30 5:39 UTC (permalink / raw) To: ath9k-devel Hi, I'm having problem compiling the latest compate wireless drivers. Below is the error. Any help will be much appreciated. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ /usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.c: In function ?ieee80211_verify_alignment?: /usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.c:406: error: implicit declaration of function ?WARN_ONCE? make[3]: *** [/usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.o] Error 1 make[2]: *** [/usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211] Error 2 make[1]: *** [_module_/usr/src/compat-compile/compat-wireless-2009-01-29] Error 2 make[1]: Leaving directory `/storage/usr/src/linux-2.6-orig' make: *** [modules] Error 2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Kind Regards, Amit Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* [ath9k-devel] Problem compiling latest compate wirless 2009-01-30 5:39 ` [ath9k-devel] Problem compiling latest compate wirless Amit Sood @ 2009-01-30 6:31 ` Luis R. Rodriguez [not found] ` <704147.74610.qm@web95016.mail.in2.yahoo.com> 0 siblings, 1 reply; 10+ messages in thread From: Luis R. Rodriguez @ 2009-01-30 6:31 UTC (permalink / raw) To: ath9k-devel On Thu, Jan 29, 2009 at 09:39:55PM -0800, Amit Sood wrote: > Hi, > > I'm having problem compiling the latest compate wireless drivers. Below is the error. Any help will be much appreciated. > > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > /usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.c: In function ?ieee80211_verify_alignment?: > /usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.c:406: error: implicit declaration of function ?WARN_ONCE? > make[3]: *** [/usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.o] Error 1 > make[2]: *** [/usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211] Error 2 > make[1]: *** [_module_/usr/src/compat-compile/compat-wireless-2009-01-29] Error 2 > make[1]: Leaving directory `/storage/usr/src/linux-2.6-orig' > make: *** [modules] Error 2 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Kind Regards, > > Amit What kernel do you have? Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <704147.74610.qm@web95016.mail.in2.yahoo.com>]
* [ath9k-devel] Problem compiling latest compate wirless [not found] ` <704147.74610.qm@web95016.mail.in2.yahoo.com> @ 2009-01-30 16:13 ` Luis R. Rodriguez 2009-01-31 13:50 ` Amit Sood 0 siblings, 1 reply; 10+ messages in thread From: Luis R. Rodriguez @ 2009-01-30 16:13 UTC (permalink / raw) To: ath9k-devel On Fri, Jan 30, 2009 at 04:55:37AM -0800, Amit Sood wrote: > Hi, > I'm using kernel version 2.6.27-rc6. > > /usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.c:406: error: implicit declaration of function ?WARN_ONCE? OK just added this, please try today's release and let me know how it goes. v2.6.29-rc3-12724-g64f573f wireless-testing latest tag: master-2009-01-28 This is compat-release: master-2009-01-28-1-g4f17e2a Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
* [ath9k-devel] Problem compiling latest compate wirless 2009-01-30 16:13 ` Luis R. Rodriguez @ 2009-01-31 13:50 ` Amit Sood 0 siblings, 0 replies; 10+ messages in thread From: Amit Sood @ 2009-01-31 13:50 UTC (permalink / raw) To: ath9k-devel Hi Luis, Yes, it worked! : ) regards, -amit- ----- Original Message ---- From: Luis R. Rodriguez <lrodriguez@atheros.com> To: Amit Sood <as22_2000@yahoo.com> Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>; ath9k-devel at lists.ath9k.org Sent: Saturday, 31 January, 2009 3:13:38 AM Subject: Re: Problem compiling latest compate wirless On Fri, Jan 30, 2009 at 04:55:37AM -0800, Amit Sood wrote: > Hi, > I'm using kernel version 2.6.27-rc6. > > /usr/src/compat-compile/compat-wireless-2009-01-29/net/mac80211/rx.c:406: error: implicit declaration of function ?WARN_ONCE? OK just added this, please try today's release and let me know how it goes. v2.6.29-rc3-12724-g64f573f wireless-testing latest tag: master-2009-01-28 This is compat-release: master-2009-01-28-1-g4f17e2a Luis Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20090130162123.104260@gmx.net>]
[parent not found: <20090130165946.GE6534@tesla>]
[parent not found: <20090130224802.194360@gmx.net>]
* [ath9k-devel] ath9k WMP300nv2 (AR5416) [not found] ` <20090130224802.194360@gmx.net> @ 2009-02-02 17:49 ` Luis R. Rodriguez 0 siblings, 0 replies; 10+ messages in thread From: Luis R. Rodriguez @ 2009-02-02 17:49 UTC (permalink / raw) To: ath9k-devel On Fri, Jan 30, 2009 at 02:48:02PM -0800, Alexander Bartha wrote: > > Well evening > > i have tried to --mv /etc/udev/rules.d/regulatory.rules /lib/udev/rules.d/85-regulatory.rules-- > and --rmmod ath9k mac80211 cfg80211-- then --modprobe ath9k-- but i get in var/log/messages "link is not ready" "links is not ready" is not a bad message, it means you are just not associated and you can start now trying to associate. > then have removed crda 0.9.5 and installed crda1.0.1 During compiling of crda it detected file collisions in "/lib/udev/rules.d/85-regulatory.rules That's because the new version of crda-1.0.1 installs the file into /lib/udev/rules.d/85-regulatory.rules. So long as you have the file it is OK. > then > modprobe ath9k but also i get in var/log/messages "link is not ready". Again this is OK! > Then i have --mv /lib/udev/rules.d/85-regulatory.rules /etc/udev/rules.d/regulatory.rules-- and have removed the 1.0.1 crda and installed crda 0.9.5 during the compiling i got : Detected file collision(s):/etc/udev/rules.d/regulatory.rules. The version of CRDA won't matter much, you just need the rules file in proper place and a crda bin in /sbin/crda. Most of the changes from 0.9.5 to 1.0.1 were purely to help distributions out. One of the changes for exampl was to use now /lib/udev/rules.d/ intstead of /etc/udev/rules.d. I recommend to just use the latest version of crda anyway. > After that i have --modprobe ath9k-- and i got a ip from my linksys router. > Now i am realy confused. The think i know is that only crda0.9.5 works with my system maybe a newer udev would do the job. I only have installed udev 124 maybe it is to old. I'm pretty sure most version of udev should work fine with this, crda isn't using any complex setting from udev. > The problem with the dhcpd: > /var/log/messages: > Jan 30 23:23:00 ws1 [ 8926.298958] wlan0: associated > Jan 30 23:23:00 ws1 wpa_cli: interface wlan0 CONNECTED > Jan 30 23:23:02 ws1 dhcpcd[23605]: wlan0: dhcpcd 4.0.7 starting > Jan 30 23:23:02 ws1 dhcpcd[23605]: wlan0: broadcasting for a lease > Jan 30 23:23:03 ws1 dhcpcd[23605]: wlan0: offered 192.168.1.100 from 192.168.1.1 > Jan 30 23:23:03 ws1 dhcpcd[23605]: wlan0: checking 192.168.1.100 is available on attached networks > Jan 30 23:23:07 ws1 dhcpcd[23605]: wlan0: acknowledged 192.168.1.100 from 192.168.1.1 > Jan 30 23:23:07 ws1 dhcpcd[23605]: wlan0: leased 192.168.1.100 for 86400 seconds > Jan 30 23:30:01 ws1 cron[23666]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) > Jan 30 23:31:37 ws1 [ 9443.502625] wlan0: disassociated (Reason: 4) You may want to fine tune your AP to not kick people off after a period of innactivity. You can find the reasons on IEEE-802.11 2007 doc: ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-02-02 17:49 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-24 18:49 [ath9k-devel] ath9k WMP300nv2 (AR5416) Alexander Bartha
2009-01-25 17:12 ` Sujith
2009-01-28 13:17 ` Alexander Bartha
2009-01-28 19:33 ` Luis R. Rodriguez
[not found] ` <20090129192832.83600@gmx.net>
2009-01-29 19:46 ` Luis R. Rodriguez
2009-01-30 5:39 ` [ath9k-devel] Problem compiling latest compate wirless Amit Sood
2009-01-30 6:31 ` Luis R. Rodriguez
[not found] ` <704147.74610.qm@web95016.mail.in2.yahoo.com>
2009-01-30 16:13 ` Luis R. Rodriguez
2009-01-31 13:50 ` Amit Sood
[not found] ` <20090130162123.104260@gmx.net>
[not found] ` <20090130165946.GE6534@tesla>
[not found] ` <20090130224802.194360@gmx.net>
2009-02-02 17:49 ` [ath9k-devel] ath9k WMP300nv2 (AR5416) Luis R. Rodriguez
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.