]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix CTS protection handling
authorFelix Fietkau <nbd@openwrt.org>
Tue, 16 Apr 2013 11:38:43 +0000 (13:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Apr 2013 21:42:30 +0000 (23:42 +0200)
commit318d220289449003f4de3feb424d6249a453d552
treee85082dc9b42276fb9695ff02ca1461f406e4042
parent2a8e69a47694a1fab23c7839510eedb2f7ac9b2d
mac80211: fix CTS protection handling

The rates[0] CTS and RTS flags are only set after rate control has been
called, so minstrel cannot use them to for setting the number of
retries. This patch adds two new flags to explicitly indicate RTS/CTS use.

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