Re: [ath5k-devel] Computing packet transmission time in ath5k

2011-09-09 Thread Adrian Chadd
Hi, This isn't strictly involved in fixing your problem, but when you do get it fixed, you're going to notice a bunch of discrepancies: * the ack calculation is lifted from elsewhere in the code, but please note that they use the basic rate for ACKs, not the current TX rate. Please re-read the co

Re: [ath5k-devel] ath5k fails to activate card

2011-09-09 Thread Pavel Roskin
Quoting Antonis Tsolomitis : > Since I am not a kernel expert, after I make this change, do I have to > compile the entire kernel? > Can I just compile the ath5k driver? And how do I do that? You can download compat-wireless, patch it and configure it to compile only the ath5k driver. That's l

Re: [ath5k-devel] Computing packet transmission time in ath5k

2011-09-09 Thread Dani Camps
Hi, I forgot to mention that the function " compute_ack_duration(ah, rate);" is simply equivalent to "ath5k_hw_get_frame_duration(ah, 10, rate);" Best Regards Daniel De: Dani Camps Para: "ath5k-devel@lists.ath5k.org" Enviado: viernes 9 de septiembre de 2

[ath5k-devel] Computing packet transmission time in ath5k

2011-09-09 Thread Dani Camps
Dear all, I am trying to compute the duration of a transmitted packet in ath5k, my goal is to be able to measure network utilization as the sum of transmitted and received frames over the air. Regarding transmission time I have added the following code to ath5k_txbuf_setup:

Re: [ath5k-devel] ath5k fails to activate card

2011-09-09 Thread Bob Copeland
On Fri, Sep 9, 2011 at 3:46 AM, Antonis Tsolomitis wrote: > Thank you Nick for this suggestion and I am sorry it took me so much > time to respond. Some stupid filter accidentally misplaced your messages. > > Since I am not a kernel expert, after I make this change, do I have to > compile the enti

Re: [ath5k-devel] ath5k fails to activate card

2011-09-09 Thread Antonis Tsolomitis
> Anyway the fast solution is just to skip RFKill check, go to drivers/net/wireless/ath/ath5k/rfkill.c and make ath5k_is_rfkill_set always return 0. Thank you Nick for this suggestion and I am sorry it took me so much time to respond. Some stupid filter accidentally misplaced your messages. Sinc