diff options
author | Javier Cardona <javier@cozybit.com> | 2012-05-01 14:01:28 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-16 01:27:27 +0400 |
commit | 2a4ffa4c8934bd9a36c8354a4b87a529114baf62 (patch) | |
tree | 724e8428852ee7296c3747b619bf050914d664a0 /drivers/net/wireless/mwifiex/join.c | |
parent | 341352d13dae752610342923c53ebe461624ee2c (diff) | |
download | linux-2a4ffa4c8934bd9a36c8354a4b87a529114baf62.tar.xz |
mac80211_hwsim: Fix rate control by correctly reporting transmission counts
Drivers need to report the number of transmission attempts for each rate
as well as to terminate the rate array with -1. The in-kernel datapath
of hwsim simulates a perfect medium, therefore the driver only needs to
report that the first transmission attempt was sucessfully completed at
the most favorable rate.
Rate control is working again for this driver. Tested mesh mode with
minstrel.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/join.c')
0 files changed, 0 insertions, 0 deletions