[ath9k-devel] Any recommendation of direct access the GPIO from specific address ?

2012-02-29 Thread Matt Chen
Hi list, I am working on verifying the ath9k_rfkill_poll_state() function. It would execute the ath_is_rfkill_set() the read the GPIO and change the LED. I found the POLL_INTERVAL would take 5 secs according the definition in net/rfkill/core.c #define POLL_INTERVAL (5 * HZ) So it would detect the

Re: [ath9k-devel] nl80211/mac80211 packet injection

2012-02-29 Thread Peter Stuge
Hi Jay, Cheung Hiu Fung wrote: May I ask are nl80211 and mac80211 packet injection the same thing? Does the packet injection must be done in monitor mode? or Can I do a packet relay for a 3 node linear ad-hoc network with bilateral transmission? It is hard to search the information from

Re: [ath9k-devel] Any recommendation of direct access the GPIO from specific address ?

2012-02-29 Thread Peter Stuge
Matt Chen wrote: So it would detect the GPIO status in every 5 seconds. But the ath9k I run in different platform, with the same modules, it works different way. The LED for one is working very fast, in another one is working so slow. I would like to clarify it is driver or BIOS issues. It

Re: [ath9k-devel] Any recommendation of direct access the GPIO from specific address ?

2012-02-29 Thread Adrian Chadd
Hi, I believe sometimes its a switch connected physically to the NIC; other times its a software controlled GPIO line from the host to the NIC (eg a keyboard rfkill); sometimes its an ACPI command that controls the GPIO rfkill line; sometimes its smoething else entirely.. :) Arian

Re: [ath9k-devel] logging the number of retransmissions at mac layer

2012-02-29 Thread abhinav narain
Hi, thanks for the reply. I found ath_tx_status structure is used to maintain the retransmit stats indeed. The function ath_debug_stat_tx() called from ath_tx_complete_buf() updates it. I was wondering how can I maintain the stats per flow (or more easy would be per device) information ...

Re: [ath9k-devel] nl80211/mac80211 packet injection

2012-02-29 Thread abhinav narain
On Wed, Feb 29, 2012 at 3:44 AM, Cheung Hiu Fung ph...@ust.hk wrote: Hi all, May I ask are nl80211 and mac80211 packet injection the same thing? Does the packet injection must be done in monitor mode? or Can I do a packet relay for a 3 node linear ad-hoc network with bilateral transmission?

[ath9k-devel] Failed to stop Tx DMA and Could not stop RX with AR9485

2012-02-29 Thread Kim Lidström
Hello! A while ago I had a situation where my AR9485 would lock up the kernel so bad and two very nice guys(Mohammed Shafi and Adrian.. Uhm.. Sorry I forgot his last name) were very patient in helping me and trying to debug it through patches, etc. Nothing worked. Eventually, though, I noticed

Re: [ath9k-devel] Failed to stop Tx DMA and Could not stop RX with AR9485

2012-02-29 Thread Adrian Chadd
Hi, I don't recall _how_ to do this, but would you mind verifying whether you're actually somehow using power saving modes or not? Thanks, Adrian ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

Re: [ath9k-devel] Any recommendation of direct access the GPIO from specific address ?

2012-02-29 Thread Mohammed Shafi
On Wed, Feb 29, 2012 at 4:33 PM, Matt Chen mac...@suse.com wrote: Hi list, I am working on verifying the ath9k_rfkill_poll_state() function. It would execute the ath_is_rfkill_set() the read the GPIO and change the LED. I found the POLL_INTERVAL would take 5 secs according the definition in

Re: [ath9k-devel] Failed to stop Tx DMA and Could not stop RX with AR9485

2012-02-29 Thread Mohammed Shafi
With this message I have attached a log with the error messages. This has been a problem since.. Uhm.. Kernel 3.2.something and I'm currently running 3.2.8. For some reason it happened at least 3-4 times shortly after each other today - so I thought I might ask on here what's happening.

Re: [ath9k-devel] [RFC 1/2] ath9k: use ieee80211_free_txskb

2012-02-29 Thread Mohammed Shafi Shajakhan
Hi Christian, On Monday 27 February 2012 09:40 PM, Christian Lamparter wrote: With the new tx status API: mac80211: implement wifi TX status All skb originating from mac80211 needs to be given back to mac80211. Signed-off-by: Christian Lamparterchunk...@googlemail.com --- It's high time we

Re: [ath9k-devel] Failed to stop Tx DMA and Could not stop RX with AR9485

2012-02-29 Thread Kim Lidström
On 03/01/2012 06:09 AM, Mohammed Shafi wrote: With this message I have attached a log with the error messages. This has been a problem since.. Uhm.. Kernel 3.2.something and I'm currently running 3.2.8. For some reason it happened at least 3-4 times shortly after each other today - so I