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 code in qcu.c that calculates the ack_tx_time :-)
* your airtime calculation isn't taking into account the hw rate being
used when doing multi-rate retry.
* your airtime calculation doesn't take into account how many
short/long retries were taken.
* what about the RTS frame (and the rate it's TXed at, which can be
different to the frame rate) ? And then the time spent on the return
CTS?

Just stuff to think about :)


adrian
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to