mac80211_hwsim: Set IEEE80211_STAT_ACK flag when userspace indicates that the frame...
authorQasim Javed <qasimj@gmail.com>
Tue, 5 Jun 2012 06:25:44 +0000 (01:25 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jun 2012 17:43:58 +0000 (13:43 -0400)
commit06cf5c4c5bea549235da1aace86b90d4ad0084f8
tree45a9d7e824e8b8bc8627fe4ec5207414d3faef3d
parent0fde0a8cfd0ede7f310d6a681c8e5a7cb3e32406
mac80211_hwsim: Set IEEE80211_STAT_ACK flag when userspace indicates that the frame has been acknowledged.

The station fail average is not updated correctly since the
IEEE80211_STAT_ACK flag is not set when using wmediumd with
mac80211_hwsim. Set this flag when wmediumd indicates that the frame
was successfully transmitted (eventually).

Signed-off-by: Qasim Javed <qasimj@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c