mac80211: reduce packet loss notifications under load
authorFelix Fietkau <nbd@openwrt.org>
Fri, 23 May 2014 18:05:28 +0000 (20:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 28 May 2014 14:22:48 +0000 (16:22 +0200)
commitabd43a6a68b2f69821eef3daf789242b262ba2c0
tree727522f4ce78e2f36af5a3e97fc7ef6bbca05629
parent923eaf367206e01f22c97aee22300e332d071916
mac80211: reduce packet loss notifications under load

During strong signal fluctuations under high throughput, few consecutive
failed A-MPDU transmissions can easily trigger packet loss notification,
and thus (in AP mode) client disconnection.

Reduce the number of false positives by checking the A-MPDU status flag
and treating a failed A-MPDU as a single packet.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c