From: Daniel Halperin Date: Wed, 11 May 2011 02:00:45 +0000 (-0700) Subject: mac80211: fix contention time computation in minstrel, minstrel_ht X-Git-Tag: v3.0-rc2~7^2~16^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fddddff0ad4ccc2787464207eba9ed3063e69cd;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed