Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-29 Thread Jin YunYe
On Wed, Jun 23, 2010 at 1:32 AM, Bob Copeland wrote: > On Tue, Jun 22, 2010 at 3:21 AM, Jin YunYe wrote: >> Thanks for your reply, Bob. >> >> My problem is not exactly compatibility of hardware. Instead, I want >> the driver to send out the response as soon as it

Re: [ath5k-devel] Disabling Register Resets

2010-06-28 Thread Jin YunYe
On Tue, Jun 29, 2010 at 1:49 AM, Miklos Christine wrote: > Hello, > > Thank you for your thorough response. I want to disable the resets of these > registers because I sample these register values to create an estimate of > when the channel is sensed as being busy for a long periods of time. > It

Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-24 Thread Jin YunYe
guous for me. > And i agree with beacon things in general, broadcasts from AP are not ACKed > as is the case with beacon. > cheers! > aneeq > > > > > On Thu, Jun 24, 2010 at 2:49 PM, Jin YunYe wrote: >> >> Hi, Aneeq >> >> I think some management

Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-24 Thread Jin YunYe
Hi, Aneeq I think some management frames, such as probe request, association request, will be effectively "acknowledged" by probe response and association response. Beacon is normally broadcasted by AP to in-range mobile stations. It may not be a very good idea for every MS to ACK beacon frames s

Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-24 Thread Jin YunYe
Wow, TXOK when received ACK, that actually may save a lot of the trouble! Thanks a lot for the valuable information, Bob. Best Regards YY On Thu, Jun 24, 2010 at 8:04 PM, Bob Copeland wrote: > [please don't top post] > > On Thu, Jun 24, 2010 at 02:25:34PM +0800, Jin YunYe wrote:

Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-23 Thread Jin YunYe
/RTS/CTS are completely handled by the hardware so that the RX of an ACK does not even raise ath5k_intr()? Thanks :) On Wed, Jun 23, 2010 at 1:32 AM, Bob Copeland wrote: > On Tue, Jun 22, 2010 at 3:21 AM, Jin YunYe wrote: >> Thanks for your reply, Bob. >> >> My problem is not

Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-22 Thread Jin YunYe
Hi, Bob. Great thanks for your help! Best Regards YY On Wed, Jun 23, 2010 at 1:32 AM, Bob Copeland wrote: > On Tue, Jun 22, 2010 at 3:21 AM, Jin YunYe wrote: >> Thanks for your reply, Bob. >> >> My problem is not exactly compatibility of hardware. Instead, I want >>

[ath5k-devel] On sending WLAN Packet in ath5k using ath5k_tx_queue()

2010-06-22 Thread Jin YunYe
Dear all, I found this question raised in the mail list, which also interests me, prior to my registration. I am trying to do something similar as Bruno suggested, using ath5k_tx_queue() or ath5k_tx() to transmit a packet in the ath5k layer. However, I am currently troubled with how to prepare a

Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-22 Thread Jin YunYe
Mon, Jun 21, 2010 at 5:29 AM, Jin YunYe wrote: > >> Alternatively, does anyone know how to "fill up" a skb structure >> "manually" in the ath5k level and send it out using ath5k_tx() >> directly? > > You might want to use packet injection and monitor m

[ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

2010-06-21 Thread Jin YunYe
Dear all, For research purpose, I want to make the Atheros wifi card to send out a response packet immediately after ath5k_intr() is triggered by a packet-receive interrupt. I want to send the packet in either ath5k_intr() (although I know it is not good practice...) or ath5k_tasklet_rx(). Howeve

[ath5k-devel] Register address for on-chip hardware clock

2010-06-09 Thread Jin YunYe
Dear all Is there a hardware register address for the on-chip clock in ath5k? I am doing a research project in which I need to timestamp tx/rx operations with good time resolution (say 40MHz clock rate) I am using a TL WN510G Ver 1.1 PCMCIA WiFi adapter, which is using AR5213 chipset. Thanks and