Helmut Schaa c1ce5a74d1 mac80211: Update last_tx_rate only for data frames
The last_tx_rate field was also updated for non-data frames that are
often sent with a lower rate (for example management frames at 1 Mbps).
This is confusing when the data rate is actually much higher.

Hence, only update the last_tx_rate field with tx rate information
gathered from last data frames.

If the rate control algorithm filled in txrc.reported_rate we don't need
to verify this information.

Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-12-06 15:58:43 -05:00
..
2010-11-29 15:30:30 -05:00
2010-11-29 15:24:35 -05:00
2009-07-10 15:01:49 -04:00
2010-10-13 15:45:23 -04:00
2008-04-08 16:44:45 -04:00
2010-06-14 15:38:17 -04:00
2010-10-07 14:41:27 -04:00
2010-07-08 16:35:50 -04:00
2010-07-08 16:35:50 -04:00
2010-11-17 16:19:33 -05:00
2010-10-11 15:04:23 -04:00
2010-07-08 16:35:50 -04:00
2010-11-17 16:19:31 -05:00
2010-01-05 16:21:40 -05:00
2010-11-29 15:24:35 -05:00
2010-09-27 15:57:54 -04:00