mac80211: Send the management frame at requested rate
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Sun, 25 Sep 2011 09:23:31 +0000 (14:53 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:10 +0000 (14:34 -0400)
commitaad14ceb45f5ff12da2ab5b37a596e6f81566515
tree898380834d260961219b687e377b60c41f5f16e9
parente9f935e3e8dc0bddd0df6d148165d95925422502
mac80211: Send the management frame at requested rate

Whenever the scan request or tx_mgmt is requesting not to
use CCK rate for managemet frames through
NL80211_ATTR_TX_NO_CCK_RATE attribute, then mac80211 should
select appropriate least non-CCK rate. This could help to
send P2P probes and P2P action frames at non 11b rates
without diabling 11b rates globally.

Cc: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rate.c
net/mac80211/scan.c
net/mac80211/util.c
net/mac80211/work.c