From: Khan Sohel Date: Sat, 26 Jun 2010 13:05:41 -0700 (PDT) Subject: [ath9k-devel] [Solved] Ath9k Issue : Wireless authentication times out : Atheros AR 9285 Card on Dell Vostro 1014 In-Reply-To: Message-ID: <491955.84382.qm@web110615.mail.gq1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, This issue is solved, it turned out to be my own folly!. The reason for timeout was the Mac Address filter that i applied in my wireless router. The mac address of this new laptop was not listed there. Hence it was timing out. I even tried two network cards for this AR9285 and Intel 5100. The error of Intel 5100 (driver iwlwifi) was better "authentication denied" that triggered me to look at router settings. The error messages of ath9k can also be improved. ("authentication denied" or "refused connection" may be better that "time out" ) Apologies and Thanks to everyone who would have spent time reading this. Regards, Sohel --- On Sat, 26/6/10, ath9k-devel-request at lists.ath9k.org wrote: From: ath9k-devel-request@lists.ath9k.org Subject: ath9k-devel Digest, Vol 24, Issue 20 To: ath9k-devel at lists.ath9k.org Date: Saturday, 26 June, 2010, 3:30 PM Send ath9k-devel mailing list submissions to ??? ath9k-devel at lists.ath9k.org To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.ath9k.org/mailman/listinfo/ath9k-devel or, via email, send a message with subject or body 'help' to ??? ath9k-devel-request at lists.ath9k.org You can reach the person managing the list at ??? ath9k-devel-owner at lists.ath9k.org When replying, please edit your Subject line so it is more specific than "Re: Contents of ath9k-devel digest..." Today's Topics: ???1. Re: ar9271.fw not found (peter at compu-zone.com) ???2. Re: ar9271.fw not found (Peter Stuge) ???3. Re: ATH9K does not transmit beacons in AD-HOC mode (Felix Fietkau) ???4. Re: ath9k: /debug/ath9k/phy0/rcstat File ? ? ? (Karthickraja Chandrasekar) ???5. Re: ATH9K does not transmit beacons in AD-HOC mode (Alphan Ulusoy) ---------------------------------------------------------------------- Message: 1 Date: Fri, 25 Jun 2010 18:34:06 +0800 (MYT) From: peter@compu-zone.com Subject: Re: [ath9k-devel] ar9271.fw not found To: ath9k-devel at lists.ath9k.org Message-ID: <49930.60.49.65.118.1277462046.squirrel@compu-zone.com> Content-Type: text/plain;charset=iso-8859-1 Thanks for the reply but sadly not working and same error I am using BT4 Final with Linux-2.6.30.9 The compat wireless that i am using is http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.35/compat-wireless-2.6.35-rc2.tar.bz2 The firmware i get git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git > sudo cp linux-firmware/ar9271.fw /lib/firmware/ What i do is: root at bt~compat-wireless-2.6.35-rc2.tar.bz2 1)sudo make 2)sudo make install 3)sudo unload 4)sudo load 5)sudo cp linux-firmware/ar9271.fw /lib/firmware 6)reboot i get this in boot screen before login loading hardware...usb 1-1.1:ath9k_htc: Firmware - ar9271.fw not found dmesg | grep -e -ath -e wlan md: multipath personality registered for level -4 usb 1-1.1: ath9k_htc: Firmware - ar9271.fw not found ath9k_hif_usb: probe of 1-1.1:1.0 failed with error -22 Do you need any more information? please reply me Thank you very much. > On Tue, Jun 22, 2010 at 02:45:50AM -0700, peter at compu-zone.com wrote: >> Hi to all, >> >> I Previously brought a TP-Link wn422g-v2 atheros chipset >> Bus 001 Device 003: ID 0cf3:1006 Atheros Communications, Inc. >> >> I use the ndiswrapper but not working, i use the compat-wireless still >> not >> working >> this is the output that i get:- >> >> root at bt:~# dmesg | grep -e ath -e wlan >> md: multipath personality registered for level -4 >> ath9k 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 >> ath9k 0000:04:00.0: setting latency timer to 64 >> ath: EEPROM regdomain: 0x65 >> ath: EEPROM indicates we should expect a direct regpair map >> ath: Country alpha2 being used: 00 >> ath: Regpair used: 0x65 >> phy0: Selected rate control algorithm 'ath9k_rate_control' >> Registered led device: ath9k-phy0::radio >> Registered led device: ath9k-phy0::assoc >> Registered led device: ath9k-phy0::tx >> Registered led device: ath9k-phy0::rx >> usb 1-1.2: ath9k_htc: Firmware - ar9271.fw not found >> <<<<<<<<<<<<<<<<<<<< >> ath9k_hif_usb: probe of 1-1.2:1.0 failed with error -22 >> <<<<<<<<<<<<<<<<<<<<<<< > > git clone > git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git > sudo cp linux-firmware/ar9271.fw /lib/firmware/ > >???Luis > ------------------------------ Message: 2 Date: Fri, 25 Jun 2010 12:38:12 +0200 From: Peter Stuge Subject: Re: [ath9k-devel] ar9271.fw not found To: ath9k-devel at lists.ath9k.org Cc: peter at compu-zone.com Message-ID: <20100625103812.29300.qmail@stuge.se> Content-Type: text/plain; charset=us-ascii peter at compu-zone.com wrote: > 5)sudo cp linux-firmware/ar9271.fw /lib/firmware Did the directory /lib/firmware exist when you ran this command? If not you need to fix that. Rename the file back, make the dir, move the file into the dir, then reload the module. //Peter ------------------------------ Message: 3 Date: Fri, 25 Jun 2010 14:43:10 +0200 From: Felix Fietkau Subject: Re: [ath9k-devel] ATH9K does not transmit beacons in AD-HOC ??? mode To: Alphan Ulusoy Cc: ath9k-devel at lists.ath9k.org Message-ID: <4C24A45E.8010609@openwrt.org> Content-Type: text/plain; charset=ISO-8859-1 On 2010-06-25 11:07 AM, Alphan Ulusoy wrote: > Hi, > > I have noticed that ATH9K does not transmit beacons in IBSS. I can > only see probe request/response frames but no periodic beacons. I > have even applied the patch proposed by Felix > (https://patchwork.kernel.org/patch/99373/) that disables VEOL and > uses SWBA interrupts instead. It looks like beacon tasklet is never > called. I don't think this is normal. Is there a missing line that > must kick-off beacon transmission (e.g. ath9k_hw_puttxbuf, > ath9k_hw_txstart) ? The second patch (the one you applied) doesn't work without the first patch (https://patchwork.kernel.org/patch/99372/) - Felix ------------------------------ Message: 4 Date: Fri, 25 Jun 2010 12:35:50 +0530 From: Karthickraja Chandrasekar ??? Subject: Re: [ath9k-devel] ath9k: /debug/ath9k/phy0/rcstat File To: "Lorna Gonz?lez" , Jouni??? Malinen ??? , "ath9k-devel at lists.ath9k.org" ??? Message-ID: ??? <44EE5C37ADC36343B0625A05DD408C4850DB1208CB@CHEXMB-01.global.atheros.com> ??? Content-Type: text/plain; charset="iso-8859-1" Hello Lorna, Rcstat file is used to know at what MCS rate that the ATH9k received the frames and you can find more details like PER (Packet error ratio), success and retries info. Cordially Karthick.C -----Original Message----- From: ath9k-devel-bounces@lists.ath9k.org [mailto:ath9k-devel-bounces at lists.ath9k.org] On Behalf Of "Lorna Gonz?lez" Sent: Wednesday, June 23, 2010 5:32 PM To: Jouni Malinen; ath9k-devel at lists.ath9k.org Subject: [ath9k-devel] ath9k: /debug/ath9k/phy0/rcstat File Importance: High Hi all, ? ? Can someone please tell me: the information in /debug/ath9k/phy0/rcstat is related to all phys created, not only for phy0. If I have 2 more virtual radios I can not know each rcstat information separated. Is there a way to find out the sucess, retries etc. information for each phy? Thanks in advanced for your response Lorna Glez. -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ ath9k-devel mailing list ath9k-devel at lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel ------------------------------ Message: 5 Date: Sat, 26 Jun 2010 09:47:55 +0300 From: Alphan Ulusoy Subject: Re: [ath9k-devel] ATH9K does not transmit beacons in AD-HOC ??? mode To: Felix Fietkau Cc: ath9k-devel at lists.ath9k.org Message-ID: Content-Type: text/plain; charset=us-ascii Dear Felix, Thank you for your reply, as I was going over the code yesterday I've changed several parts and also the part your first patch covers. However I have also felt that beacon staggering is somewhat problematic. I've made a total of 4 changes and ad-hoc beacons work now: 1) Applied your second patch. 2) Disabled beacon staggering by setting ATH_BCBUF (ath9k.h) to 1. I believe, this covers your second patch. 3) main.c:ath9k_bss_info_changed() calls ath_beacon_alloc() when called by mac80211. However, ath_beacon_alloc() honors the sc->sc_ah->opmode field for deciding which beacon config function to run while ath9k_bss_info_changed() does not update this field from vif->type. Thus, I've added the following at line 2051 of main.c:ath9k_bss_info_changed(). ??? "ah->opmode = vif->type;" 4) beacon.c:ath_beacon_config_adhoc() relies on sc->beacon.bc_tstamp field to determine the next beacon time. However, during initialization I've found this field to be very large in number causing the first beacon to suffer a long delay causing problems in association. Maybe this field is missing the required initialization somewhere? Instead, I've added the following at line 752 of beacon.c so that first beacon is sent sooner. ??? "nexttbtt = tsftu + 5*intval;" After these modifications ad-hoc beacons work just fine, beacon tasklet is called appropriately and I did not observe any missed beacons. I would like to hear your comments especially regarding points 3, 4. regards, -- alphan On 25 Jun, 2010, at 3:43 PM, Felix Fietkau wrote: > On 2010-06-25 11:07 AM, Alphan Ulusoy wrote: >> Hi, >> >> I have noticed that ATH9K does not transmit beacons in IBSS. I can >> only see probe request/response frames but no periodic beacons. I >> have even applied the patch proposed by Felix >> (https://patchwork.kernel.org/patch/99373/) that disables VEOL and >> uses SWBA interrupts instead. It looks like beacon tasklet is never >> called. I don't think this is normal. Is there a missing line that >> must kick-off beacon transmission (e.g. ath9k_hw_puttxbuf, >> ath9k_hw_txstart) ? > The second patch (the one you applied) doesn't work without the first > patch (https://patchwork.kernel.org/patch/99372/) > > - Felix ------------------------------ _______________________________________________ ath9k-devel mailing list ath9k-devel at lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel End of ath9k-devel Digest, Vol 24, Issue 20 ******************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100626/bdc6da14/attachment-0001.htm