]> 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)
commit3fb845a9a55842efab6f93d8d3bc275bf407756b
treee85082dc9b42276fb9695ff02ca1461f406e4042
parent291aa463180f15c6591361765c62951a77566a83
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