From: Javier Cardona Date: Tue, 1 May 2012 10:01:28 +0000 (-0700) Subject: mac80211_hwsim: Fix rate control by correctly reporting transmission counts X-Git-Tag: v3.5-rc1~101^2~6^2^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a4ffa4c8934bd9a36c8354a4b87a529114baf62;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed