diff options
author | Daniel Halperin <dhalperi@cs.washington.edu> | 2011-05-10 19:00:45 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-12 14:10:48 -0400 |
commit | 8fddddff0ad4ccc2787464207eba9ed3063e69cd (patch) | |
tree | 6f219c46e9fdae5df766deb784c3cfc00e3e4106 /kernel/irq | |
parent | 56d1893d94bc06d0b1aa3a53f924ed02f9e207bf (diff) | |
download | kernel_samsung_espresso10-8fddddff0ad4ccc2787464207eba9ed3063e69cd.zip kernel_samsung_espresso10-8fddddff0ad4ccc2787464207eba9ed3063e69cd.tar.gz kernel_samsung_espresso10-8fddddff0ad4ccc2787464207eba9ed3063e69cd.tar.bz2 |
mac80211: fix contention time computation in minstrel, minstrel_ht
When transmitting a frame, the transmitter waits a random number of
slots between 0 and cw. Thus, the contention time is (cw / 2) * t_slot
which we can represent instead as (cw * t_slot) >> 1. Also fix a few
other accounting bugs around contention time, and add comments.
Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions