diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2011-09-25 05:23:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-27 14:34:10 -0400 |
commit | aad14ceb45f5ff12da2ab5b37a596e6f81566515 (patch) | |
tree | 898380834d260961219b687e377b60c41f5f16e9 /include | |
parent | e9f935e3e8dc0bddd0df6d148165d95925422502 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/mac80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 90dfcc99b466..1e83afae3c64 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -363,6 +363,9 @@ struct ieee80211_bss_conf { | |||
363 | * @IEEE80211_TX_INTFL_TKIP_MIC_FAILURE: Marks this packet to be used for TKIP | 363 | * @IEEE80211_TX_INTFL_TKIP_MIC_FAILURE: Marks this packet to be used for TKIP |
364 | * testing. It will be sent out with incorrect Michael MIC key to allow | 364 | * testing. It will be sent out with incorrect Michael MIC key to allow |
365 | * TKIP countermeasures to be tested. | 365 | * TKIP countermeasures to be tested. |
366 | * @IEEE80211_TX_CTL_NO_CCK_RATE: This frame will be sent at non CCK rate. | ||
367 | * This flag is actually used for management frame especially for P2P | ||
368 | * frames not being sent at CCK rate in 2GHz band. | ||
366 | * | 369 | * |
367 | * Note: If you have to add new flags to the enumeration, then don't | 370 | * Note: If you have to add new flags to the enumeration, then don't |
368 | * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary. | 371 | * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary. |
@@ -393,6 +396,7 @@ enum mac80211_tx_control_flags { | |||
393 | IEEE80211_TX_CTL_STBC = BIT(23) | BIT(24), | 396 | IEEE80211_TX_CTL_STBC = BIT(23) | BIT(24), |
394 | IEEE80211_TX_CTL_TX_OFFCHAN = BIT(25), | 397 | IEEE80211_TX_CTL_TX_OFFCHAN = BIT(25), |
395 | IEEE80211_TX_INTFL_TKIP_MIC_FAILURE = BIT(26), | 398 | IEEE80211_TX_INTFL_TKIP_MIC_FAILURE = BIT(26), |
399 | IEEE80211_TX_CTL_NO_CCK_RATE = BIT(27), | ||
396 | }; | 400 | }; |
397 | 401 | ||
398 | #define IEEE80211_TX_CTL_STBC_SHIFT 23 | 402 | #define IEEE80211_TX_CTL_STBC_SHIFT 23 |