From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitri Seletski Date: Mon, 15 Jun 2009 21:28:40 +0100 Subject: [ath9k-devel] N mode In-Reply-To: <20090615174758.GA22922@tesla> References: <20090518235944.GT20637@tesla> <43e72e890905181710y2646a79dr3f041f7aef143de2@mail.gmail.com> <4A11FE53.9020208@gmail.com> <4A2E8611.6010401@gmail.com> <20090609214205.GD12776@tesla> <4A2EDB3B.9020503@gmail.com> <20090609220733.GF12776@tesla> <4A2EDF1E.4000707@gmail.com> <4A3445CC.7010607@gmail.com> <20090615160144.GB19674@tesla> <20090615174758.GA22922@tesla> Message-ID: <4A36AEF8.5030703@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Luis R. Rodriguez wrote: > On Mon, Jun 15, 2009 at 09:01:44AM -0700, Luis Rodriguez wrote: > >> On Sat, Jun 13, 2009 at 05:35:24PM -0700, Dmitri Seletski wrote: >> >>> Dmitri Seletski wrote: >>> >>>> Luis R. Rodriguez wrote: >>>> >>>> >>>>> On Tue, Jun 09, 2009 at 02:59:23PM -0700, Dmitri Seletski wrote: >>>>> >>>>> >>>>> >>>>>> Luis R. Rodriguez wrote: >>>>>> >>>>>> >>>>>> >>>>>>> On Tue, Jun 09, 2009 at 08:56:01AM -0700, Dmitri Seletski wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Dmitri Seletski wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Luis R. Rodriguez wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Mon, May 18, 2009 at 4:59 PM, Luis R. Rodriguez >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Mon, May 18, 2009 at 04:34:49PM -0700, Dmitri Seletski wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> Luis R. Rodriguez wrote: >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>> On Mon, May 18, 2009 at 4:09 PM, Dmitri Seletski wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> compat-wireless-2009-05-19 # grep CONFIG_MAC80211_DEFAULT_PS config.mk >>>>>>>>>>>>>> CONFIG_MAC80211_DEFAULT_PS=n >>>>>>>>>>>>>> CONFIG_MAC80211_DEFAULT_PS_VALUE=1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> make :) >>>>>>>>>>>>>> >>>>>>>>>>>>>> make unload >>>>>>>>>>>>>> make install >>>>>>>>>>>>>> modprobe ath9k >>>>>>>>>>>>>> ip link set wlan0 up >>>>>>>>>>>>>> iwconfig wlan0 essid dlink >>>>>>>>>>>>>> >>>>>>>>>>>>>> last (IMHO)relevan't dmesg messages(got loads of dmesg history today) >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> [14147.633677] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: >>>>>>>>>>>>>> mem=0xffffc200114e0000, irq=19 >>>>>>>>>>>>>> [14182.582492] ADDRCONF(NETDEV_UP): wlan0: link is not ready >>>>>>>>>>>>>> [14216.110829] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 1 >>>>>>>>>>>>>> [14216.310267] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 2 >>>>>>>>>>>>>> [14216.316846] wlan0 direct probe responded >>>>>>>>>>>>>> [14216.316848] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14216.320962] wlan0: authenticated >>>>>>>>>>>>>> [14216.320964] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14216.520277] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14216.527099] wlan0: deauthenticated (Reason: 9) >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> I believe reason 9 is you're AP tells you that you are trying to >>>>>>>>>>>>> associate to it without first having authenticated. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> [14217.527273] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 3 >>>>>>>>>>>>>> [14217.727264] wlan0: direct probe to AP 00:1e:58:b4:f6:83 timed out >>>>>>>>>>>>>> [14231.356054] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14231.359188] wlan0: authenticated >>>>>>>>>>>>>> [14231.359191] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14231.367102] wlan0: deauthenticated (Reason: 9) >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> And we repeat this here. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> [14232.367277] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 1 >>>>>>>>>>>>>> [14232.567284] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 2 >>>>>>>>>>>>>> [14232.570837] wlan0 direct probe responded >>>>>>>>>>>>>> [14232.570843] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14232.573250] wlan0: authenticated >>>>>>>>>>>>>> [14232.573434] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14232.773283] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14232.780130] wlan0: deauthenticated (Reason: 9) >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> And here. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> [14233.780276] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 3 >>>>>>>>>>>>>> [14233.784639] wlan0 direct probe responded >>>>>>>>>>>>>> [14233.784645] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14233.799082] wlan0: authenticated >>>>>>>>>>>>>> [14233.799087] wlan0: association with AP 00:1e:58:b4:f6:83 timed out >>>>>>>>>>>>>> >>>>>>>>>>>>>> Access point in N mode only currently. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> Hm OK. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> Switching to mixture of N, G, B and dmesg throws this: >>>>>>>>>>>>>> [14233.799087] wlan0: association with AP 00:1e:58:b4:f6:83 timed out >>>>>>>>>>>>>> [14435.358964] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14435.362920] wlan0: authenticated >>>>>>>>>>>>>> [14435.362922] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>>>>>>> [14435.371750] wlan0: RX AssocResp from 00:1e:58:b4:f6:83 (capab=0x421 >>>>>>>>>>>>>> status=0 aid=1) >>>>>>>>>>>>>> [14435.371752] wlan0: associated >>>>>>>>>>>>>> [14435.372601] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready >>>>>>>>>>>>>> [14435.839637] wlan0: disassociated (Reason: 8) >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> This is the STA has left. Hm, lets try upgrading your supplicant... >>>>>>>>>>>>> Can you try upgrading to the latest from git? >>>>>>>>>>>>> >>>>>>>>>>>>> git://w1.fi/srv/git/hostap.git >>>>>>>>>>>>> >>>>>>>>>>>>> Luis >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> Hello Luis. >>>>>>>>>>>> I have no idea what authentication you are talking about. >>>>>>>>>>>> I am sure that i dont use any authentication. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> I'm talking about the 802.11 authentication which is always >>>>>>>>>>> required prior to association (even when no encryption is enabled). >>>>>>>>>>> >>>>>>>>>>> Can you try a newer wpa_supplicant to see if that helps? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> That is, use a plaintext supplicant as follows: >>>>>>>>>> >>>>>>>>>> mcgrof at tesla ~ $ cat plaintext.conf >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>>>>> ap_scan=1 >>>>>>>>>> network={ >>>>>>>>>> key_mgmt=NONE >>>>>>>>>> ssid="your-ssid" >>>>>>>>>> scan_ssid=1 >>>>>>>>>> } >>>>>>>>>> >>>>>>>>>> wpa_supplicant -i wlan0 -c plaintext.conf >>>>>>>>>> >>>>>>>>>> Luis >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Hello Luis. >>>>>>>>> >>>>>>>>> ou man, you scared shi* out of me :) >>>>>>>>> >>>>>>>>> >>>>>>>>> dimko wpa_supplicant # modprobe -r ath9k >>>>>>>>> dimko wpa_supplicant # modprobe ath9k debug=0x00000200 >>>>>>>>> >>>>>>>>> >>>>>>>>> [19251.514273] wlan0: deauthenticating by local choice (reason=3) >>>>>>>>> [19251.808278] ath9k 0000:01:07.0: PCI INT A disabled >>>>>>>>> [19251.808327] ath9k: Driver unloaded >>>>>>>>> [19288.173497] cfg80211: Calling CRDA to update world regulatory domain >>>>>>>>> [19288.277348] ath9k 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 19 >>>>>>>>> (level, low) -> IRQ 19 >>>>>>>>> [19288.703537] ath9k: Eeprom VER: 14, REV: 2 >>>>>>>>> [19288.704291] ath: Country alpha2 being used: AM >>>>>>>>> [19288.704292] ath: Regpair detected: 0x30 >>>>>>>>> [19288.704294] ath9k: Rate: 1Mbps, ratecode: 27 >>>>>>>>> [19288.704295] ath9k: Rate: 2Mbps, ratecode: 26 >>>>>>>>> [19288.704297] ath9k: Rate: 5Mbps, ratecode: 25 >>>>>>>>> [19288.704298] ath9k: Rate: 11Mbps, ratecode: 24 >>>>>>>>> [19288.704299] ath9k: Rate: 6Mbps, ratecode: 11 >>>>>>>>> [19288.704300] ath9k: Rate: 9Mbps, ratecode: 15 >>>>>>>>> [19288.704302] ath9k: Rate: 12Mbps, ratecode: 10 >>>>>>>>> [19288.704303] ath9k: Rate: 18Mbps, ratecode: 14 >>>>>>>>> [19288.704304] ath9k: Rate: 24Mbps, ratecode: 9 >>>>>>>>> [19288.704305] ath9k: Rate: 36Mbps, ratecode: 13 >>>>>>>>> [19288.704306] ath9k: Rate: 48Mbps, ratecode: 8 >>>>>>>>> [19288.704307] ath9k: Rate: 54Mbps, ratecode: 12 >>>>>>>>> [19288.704309] ath9k: Rate: 6Mbps, ratecode: 11 >>>>>>>>> [19288.704310] ath9k: Rate: 9Mbps, ratecode: 15 >>>>>>>>> [19288.704311] ath9k: Rate: 12Mbps, ratecode: 10 >>>>>>>>> [19288.704312] ath9k: Rate: 18Mbps, ratecode: 14 >>>>>>>>> [19288.704313] ath9k: Rate: 24Mbps, ratecode: 9 >>>>>>>>> [19288.704315] ath9k: Rate: 36Mbps, ratecode: 13 >>>>>>>>> [19288.704316] ath9k: Rate: 48Mbps, ratecode: 8 >>>>>>>>> [19288.704317] ath9k: Rate: 54Mbps, ratecode: 12 >>>>>>>>> [19288.704339] ath9k: tx DMA: 512 buffers 1 desc/buf >>>>>>>>> [19288.704379] ath9k: tx DMA map: ffff88009f400000 (77824) -> 0 (77824) >>>>>>>>> [19288.704406] ath9k: beacon DMA: 4 buffers 1 desc/buf >>>>>>>>> [19288.704408] ath9k: beacon DMA map: ffff88009f577000 (608) -> 0 (608) >>>>>>>>> [19288.704410] ath9k: cachelsz 64 rxbufsize 3904 >>>>>>>>> [19288.704412] ath9k: rx DMA: 512 buffers 1 desc/buf >>>>>>>>> [19288.704455] ath9k: rx DMA map: ffff8800ac560000 (77824) -> 0 (77824) >>>>>>>>> [19288.707111] phy0: Selected rate control algorithm 'ath9k_rate_control' >>>>>>>>> [19288.707656] cfg80211: Calling CRDA for country: AM >>>>>>>>> [19288.707680] Registered led device: ath9k-phy0::radio >>>>>>>>> [19288.707689] Registered led device: ath9k-phy0::assoc >>>>>>>>> [19288.707699] Registered led device: ath9k-phy0::tx >>>>>>>>> [19288.707711] Registered led device: ath9k-phy0::rx >>>>>>>>> [19288.707716] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: >>>>>>>>> mem=0xffffc200114e0000, irq=19 >>>>>>>>> >>>>>>>>> >>>>>>>>> ip link set wlan0 up >>>>>>>>> >>>>>>>>> [19365.389282] ath9k: Starting driver with initial channel: 2412 MHz >>>>>>>>> [19365.393590] ath9k: Attach a VIF of type: 2 >>>>>>>>> [19365.393828] ath9k: BSS Changed PREAMBLE 0 >>>>>>>>> [19365.394016] ath9k: BSS Changed CTS PROT 0 >>>>>>>>> [19365.404280] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19365.404378] ath9k: Set channel: 2412 MHz >>>>>>>>> [19365.404382] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19365.404485] ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0 >>>>>>>>> [19365.408413] ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: >>>>>>>>> 7, cw_max: 15, txop: 102 >>>>>>>>> [19365.408430] ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: >>>>>>>>> 15, cw_max: 31, txop: 188 >>>>>>>>> [19365.408446] ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: >>>>>>>>> 1023, cw_max: 31, txop: 0 >>>>>>>>> [19365.408460] ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: >>>>>>>>> 1023, cw_max: 31, txop: 0 >>>>>>>>> [19365.408487] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19365.408514] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19365.410973] ADDRCONF(NETDEV_UP): wlan0: link is not ready >>>>>>>>> [19365.410990] ath9k: Set HW RX filter: 0x0 >>>>>>>>> >>>>>>>>> iwconfig wlan0 essid dlink >>>>>>>>> [19288.707716] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: >>>>>>>>> mem=0xffffc200114e0000, irq=19 >>>>>>>>> [19365.389282] ath9k: Starting driver with initial channel: 2412 MHz >>>>>>>>> [19365.393590] ath9k: Attach a VIF of type: 2 >>>>>>>>> [19365.393828] ath9k: BSS Changed PREAMBLE 0 >>>>>>>>> [19365.394016] ath9k: BSS Changed CTS PROT 0 >>>>>>>>> [19365.404280] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19365.404378] ath9k: Set channel: 2412 MHz >>>>>>>>> [19365.404382] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19365.404485] ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0 >>>>>>>>> [19365.408413] ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: >>>>>>>>> 7, cw_max: 15, txop: 102 >>>>>>>>> [19365.408430] ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: >>>>>>>>> 15, cw_max: 31, txop: 188 >>>>>>>>> [19365.408446] ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: >>>>>>>>> 1023, cw_max: 31, txop: 0 >>>>>>>>> [19365.408460] ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: >>>>>>>>> 1023, cw_max: 31, txop: 0 >>>>>>>>> [19365.408487] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19365.408514] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19365.410973] ADDRCONF(NETDEV_UP): wlan0: link is not ready >>>>>>>>> [19365.410990] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19457.759393] ath9k: Set HW RX filter: 0x10 >>>>>>>>> [19457.789264] ath9k: Set channel: 2412 MHz >>>>>>>>> [19457.789270] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19457.789373] ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0 >>>>>>>>> [19457.853264] ath9k: Set channel: 2417 MHz >>>>>>>>> [19457.853269] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19457.853363] ath9k: (2412 MHz) -> (2417 MHz), chanwidth: 0 >>>>>>>>> [19457.914263] ath9k: Set channel: 2422 MHz >>>>>>>>> [19457.914268] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19457.918980] ath9k: (2417 MHz) -> (2422 MHz), chanwidth: 0 >>>>>>>>> [19457.980263] ath9k: Set channel: 2427 MHz >>>>>>>>> [19457.980268] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19457.980363] ath9k: (2422 MHz) -> (2427 MHz), chanwidth: 0 >>>>>>>>> [19458.041263] ath9k: Set channel: 2432 MHz >>>>>>>>> [19458.041268] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.041363] ath9k: (2427 MHz) -> (2432 MHz), chanwidth: 0 >>>>>>>>> [19458.102264] ath9k: Set channel: 2437 MHz >>>>>>>>> [19458.102271] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.102368] ath9k: (2432 MHz) -> (2437 MHz), chanwidth: 0 >>>>>>>>> [19458.163262] ath9k: Set channel: 2442 MHz >>>>>>>>> [19458.163267] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.163360] ath9k: (2437 MHz) -> (2442 MHz), chanwidth: 0 >>>>>>>>> [19458.235263] ath9k: Set channel: 2447 MHz >>>>>>>>> [19458.235269] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.235450] ath9k: (2442 MHz) -> (2447 MHz), chanwidth: 0 >>>>>>>>> [19458.296257] ath9k: Set channel: 2452 MHz >>>>>>>>> [19458.296258] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.296344] ath9k: (2447 MHz) -> (2452 MHz), chanwidth: 0 >>>>>>>>> [19458.357257] ath9k: Set channel: 2457 MHz >>>>>>>>> [19458.357258] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.357344] ath9k: (2452 MHz) -> (2457 MHz), chanwidth: 0 >>>>>>>>> [19458.418257] ath9k: Set channel: 2462 MHz >>>>>>>>> [19458.418258] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.418344] ath9k: (2457 MHz) -> (2462 MHz), chanwidth: 0 >>>>>>>>> [19458.479263] ath9k: Set channel: 2467 MHz >>>>>>>>> [19458.479267] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.479362] ath9k: (2462 MHz) -> (2467 MHz), chanwidth: 0 >>>>>>>>> [19458.680270] ath9k: Set channel: 2472 MHz >>>>>>>>> [19458.680280] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.680381] ath9k: (2467 MHz) -> (2472 MHz), chanwidth: 0 >>>>>>>>> [19458.881265] ath9k: Set channel: 2484 MHz >>>>>>>>> [19458.881270] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19458.881367] ath9k: (2472 MHz) -> (2484 MHz), chanwidth: 0 >>>>>>>>> [19459.082271] ath9k: Set channel: 2412 MHz >>>>>>>>> [19459.082278] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19459.082452] ath9k: (2484 MHz) -> (2412 MHz), chanwidth: 0 >>>>>>>>> [19459.084497] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19459.085175] ath9k: Set channel: 2462 MHz >>>>>>>>> [19459.091031] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19459.091252] ath9k: (2412 MHz) -> (2462 MHz), chanwidth: 0 >>>>>>>>> [19459.095097] ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: >>>>>>>>> 3, cw_max: 7, txop: 47 >>>>>>>>> [19459.095114] ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: >>>>>>>>> 7, cw_max: 15, txop: 94 >>>>>>>>> [19459.095125] ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: >>>>>>>>> 1023, cw_max: 15, txop: 0 >>>>>>>>> [19459.095136] ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: >>>>>>>>> 1023, cw_max: 15, txop: 0 >>>>>>>>> [19459.095272] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>> [19459.099880] wlan0: authenticated >>>>>>>>> [19459.099885] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>> [19459.299265] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>> [19459.306086] wlan0: deauthenticated (Reason: 9) >>>>>>>>> [19460.306269] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 1 >>>>>>>>> [19460.316796] wlan0 direct probe responded >>>>>>>>> [19460.316801] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>> [19460.319702] wlan0: authenticated >>>>>>>>> [19460.319707] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>> [19460.519264] wlan0: association with AP 00:1e:58:b4:f6:83 timed out >>>>>>>>> >>>>>>>>> >>>>>>>>> this is while ap is in N mode. >>>>>>>>> >>>>>>>>> This is after i set it mixed NBG: >>>>>>>>> >>>>>>>>> >>>>>>>>> [19460.519264] wlan0: association with AP 00:1e:58:b4:f6:83 timed out >>>>>>>>> [19601.885667] ath9k: Set HW RX filter: 0x10 >>>>>>>>> [19601.917026] ath9k: Set channel: 2412 MHz >>>>>>>>> [19601.917034] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19601.917192] ath9k: (2462 MHz) -> (2412 MHz), chanwidth: 0 >>>>>>>>> [19601.978014] ath9k: Set channel: 2417 MHz >>>>>>>>> [19601.978019] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19601.978114] ath9k: (2412 MHz) -> (2417 MHz), chanwidth: 0 >>>>>>>>> [19602.039014] ath9k: Set channel: 2422 MHz >>>>>>>>> [19602.039018] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.043759] ath9k: (2417 MHz) -> (2422 MHz), chanwidth: 0 >>>>>>>>> [19602.104014] ath9k: Set channel: 2427 MHz >>>>>>>>> [19602.104019] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.108744] ath9k: (2422 MHz) -> (2427 MHz), chanwidth: 0 >>>>>>>>> [19602.169030] ath9k: Set channel: 2432 MHz >>>>>>>>> [19602.169040] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.169144] ath9k: (2427 MHz) -> (2432 MHz), chanwidth: 0 >>>>>>>>> [19602.230009] ath9k: Set channel: 2437 MHz >>>>>>>>> [19602.230012] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.230100] ath9k: (2432 MHz) -> (2437 MHz), chanwidth: 0 >>>>>>>>> [19602.291015] ath9k: Set channel: 2442 MHz >>>>>>>>> [19602.291019] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.291110] ath9k: (2437 MHz) -> (2442 MHz), chanwidth: 0 >>>>>>>>> [19602.352012] ath9k: Set channel: 2447 MHz >>>>>>>>> [19602.352016] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.352107] ath9k: (2442 MHz) -> (2447 MHz), chanwidth: 0 >>>>>>>>> [19602.413008] ath9k: Set channel: 2452 MHz >>>>>>>>> [19602.413010] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.413097] ath9k: (2447 MHz) -> (2452 MHz), chanwidth: 0 >>>>>>>>> [19602.474007] ath9k: Set channel: 2457 MHz >>>>>>>>> [19602.474009] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.474519] ath9k: (2452 MHz) -> (2457 MHz), chanwidth: 0 >>>>>>>>> [19602.535014] ath9k: Set channel: 2462 MHz >>>>>>>>> [19602.535019] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.535115] ath9k: (2457 MHz) -> (2462 MHz), chanwidth: 0 >>>>>>>>> [19602.596014] ath9k: Set channel: 2467 MHz >>>>>>>>> [19602.596019] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.596115] ath9k: (2462 MHz) -> (2467 MHz), chanwidth: 0 >>>>>>>>> [19602.797021] ath9k: Set channel: 2472 MHz >>>>>>>>> [19602.797032] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.797136] ath9k: (2467 MHz) -> (2472 MHz), chanwidth: 0 >>>>>>>>> [19602.998018] ath9k: Set channel: 2484 MHz >>>>>>>>> [19602.998025] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19602.998124] ath9k: (2472 MHz) -> (2484 MHz), chanwidth: 0 >>>>>>>>> [19603.199023] ath9k: Set channel: 2462 MHz >>>>>>>>> [19603.199031] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19603.199198] ath9k: (2484 MHz) -> (2462 MHz), chanwidth: 0 >>>>>>>>> [19603.200703] ath9k: Set HW RX filter: 0x0 >>>>>>>>> [19603.200723] ath9k: Set channel: 2462 MHz >>>>>>>>> [19603.200728] ath9k: tx chmask: 1, rx chmask: 1 >>>>>>>>> [19603.200893] ath9k: (2462 MHz) -> (2462 MHz), chanwidth: 0 >>>>>>>>> [19603.205188] ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: >>>>>>>>> 3, cw_max: 7, txop: 47 >>>>>>>>> [19603.205203] ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: >>>>>>>>> 7, cw_max: 15, txop: 94 >>>>>>>>> [19603.205213] ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: >>>>>>>>> 1023, cw_max: 15, txop: 0 >>>>>>>>> [19603.205224] ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: >>>>>>>>> 1023, cw_max: 15, txop: 0 >>>>>>>>> [19603.205364] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >>>>>>>>> [19603.208182] wlan0: authenticated >>>>>>>>> [19603.208189] wlan0: associate with AP 00:1e:58:b4:f6:83 >>>>>>>>> [19603.216915] wlan0: RX AssocResp from 00:1e:58:b4:f6:83 (capab=0x421 >>>>>>>>> status=0 aid=1) >>>>>>>>> [19603.216920] wlan0: associated >>>>>>>>> [19603.216952] ath9k: Choosing rate table for mode: 10 >>>>>>>>> [19603.217411] ath9k: RC Initialized with capabilities: 0x0 >>>>>>>>> [19603.217420] ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: >>>>>>>>> 3, cw_max: 7, txop: 47 >>>>>>>>> [19603.217437] ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: >>>>>>>>> 7, cw_max: 15, txop: 94 >>>>>>>>> [19603.217451] ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: >>>>>>>>> 1023, cw_max: 15, txop: 0 >>>>>>>>> [19603.217466] ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: >>>>>>>>> 1023, cw_max: 15, txop: 0 >>>>>>>>> [19603.217536] ath9k: RX filter 0x0 bssid 00:1e:58:b4:f6:83 aid 0x0 >>>>>>>>> [19603.217541] ath9k: BSS Changed PREAMBLE 1 >>>>>>>>> [19603.217546] ath9k: BSS Changed ASSOC 1 >>>>>>>>> [19603.217550] ath9k: Bss Info ASSOC 1, bssid: 00:1e:58:b4:f6:83 >>>>>>>>> [19603.218918] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready >>>>>>>>> [19603.218977] ath9k: Set HW RX filter: 0x0 >>>>>>>>> >>>>>>>>> >>>>>>>>> I am off to bed, i live in GMT0(+1) time zone >>>>>>>>> Hopefully see ya tomorrow. >>>>>>>>> Is there an IRC channel or anything? this is just slow. >>>>>>>>> Regards >>>>>>>>> Dmitri >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> Hello Luis. >>>>>>>> >>>>>>>> I don't mean to rush you, was only wandering, what is story with report >>>>>>>> i have submitted, any progress on it yet? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> So I am working on other items and was hoping someone else could tackle this >>>>>>> but it seems everyone has been busy with other items as well. I'll try to help >>>>>>> you with this but I'm as in the dark with this issue as you are right now. We'll >>>>>>> need to debug futher. >>>>>>> >>>>>>> Did you see the other thread about a similar issue? It seemed the person was >>>>>>> running Network Manager (and that spawns it own wpa_supplicant). >>>>>>> >>>>>>> Just to confirm -- are you certain you don't have any instance of nm-applet, >>>>>>> NetworkManager or a wpa_supplicant running in the background? >>>>>>> >>>>>>> Luis >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Hello Luis. >>>>>> >>>>>> I have no idea what is nm-applet. I am as close to bare bones as >>>>>> possible. I am using gentoo distribution, it by design is not using any >>>>>> graphical interfaces. to set up network, you have to set it up initially >>>>>> manually(using available comands or text editor), it doesn't even have >>>>>> DHCP client by default! >>>>>> typically if what you have mentioned is part of start up scripts - i >>>>>> would know about it.(since most of them if not installed by default - >>>>>> are not starting up by default) >>>>>> >>>>>> emerge -s nm-applet >>>>>> Searching... >>>>>> [ Results for search key : nm-applet ] >>>>>> [ Applications found : 1 ] >>>>>> >>>>>> * gnome-extra/nm-applet >>>>>> Latest version available: 0.6.6 >>>>>> Latest version installed: [ Not Installed ] >>>>>> >>>>>> I am not sure what is "wpa_supplicant", since from what i understand >>>>>> it's not user land executable. >>>>>> >>>>>> rc-status >>>>>> Runlevel: default >>>>>> acpid >>>>>> [ started ] >>>>>> alsasound >>>>>> [ started ] >>>>>> clamd >>>>>> [ started ] >>>>>> hald >>>>>> [ started ] >>>>>> hdparm >>>>>> [ started ] >>>>>> lm_sensors >>>>>> [ started ] >>>>>> local >>>>>> [ started ] >>>>>> netmount >>>>>> [ started ] >>>>>> smartd >>>>>> [ started ] >>>>>> syslog-ng >>>>>> [ started ] >>>>>> >>>>>> All my network settings are done explicitly by hands or with use of >>>>>> command line dhcp client. There is only one automated network script., >>>>>> which runs dhcp client on any available ethernet interface, which is my >>>>>> eth0 card. >>>>>> >>>>>> emerge -s wpa_supplicant >>>>>> Searching... >>>>>> [ Results for search key : wpa_supplicant ] >>>>>> [ Applications found : 1 ] >>>>>> >>>>>> * net-wireless/wpa_supplicant >>>>>> Latest version available: 0.6.4 >>>>>> Latest version installed: [ Not Installed ] >>>>>> Size of files: 972 kB >>>>>> Homepage: http://hostap.epitest.fi/wpa_supplicant/ >>>>>> Description: IEEE 802.1X/WPA supplicant for secure wireless >>>>>> transfers >>>>>> License: || ( GPL-2 BSD ) >>>>>> >>>>>> No gnome networking software is installed, at least not running for sure. >>>>>> i can send you output of pstree if you like, >>>>>> >>>>>> >>>>>> >>>>> Yes, send that please. wpa_supplicant is a userspace application, used for >>>>> connecting to WPA / WPA2 networks. It also is also responsible for roaming >>>>> for us in Linux. Network Manager uses it on the GNOME / KDE desktop, and the >>>>> applet on the top right hand side of the desktop that lets you select which >>>>> wireless network to connect to is the "nm-applet". >>>>> >>>>> Luis >>>>> >>>>> >>>>> >>>> Sure, if you look carefully into emerge outputs i have send previously - >>>> you will see, that none of those packages are actually installed! >>>> >>>> >>> Hello Luis. >>> >>> Just wondering is there any update on the problem? Is there anything I >>> can do to help identify problem? >>> > > Dmitri, can you provide a tcmpdump (pcap) capture of this? > > Luis > Hello Luis, I assume you have misspelled, (i am not familiar with tcmpdump anyway). Please see attachment for step by step log. Let me know what you want me to do next. Regards -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tcpdump experiment.txt Url: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090615/4e77d59d/attachment-0001.txt