diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2011-09-29 11:04:04 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-03 15:22:32 -0400 |
commit | b6f35301efda5e94342cfcca9e29b7b3e9a5f827 (patch) | |
tree | f828168204f52f423a7d1b160b9f371c0fd94dc1 /include/net/mac80211.h | |
parent | e209c5a7ed1870ab7f112ad47083b5d616e8b6a4 (diff) |
mac80211: Send nullfunc frames at lower rate during connection monitor
Recently mac80211 was changed to use nullfunc instead of probe
request for connection monitoring for tx ack status reporting
hardwares. Sometimes in congested network, STA got disconnected
quickly after the association. It was observered that the rate
control was not adopted to environment due to minimal transmission.
As the nullfunc are used for monitoring purpose, these frames should
not be sacrificed for rate control updation. So it is better to send
the monitoring null func frames at minimum rate that could help to
retain the connection.
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-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 bc799304be71..135e897b61c7 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -372,6 +372,9 @@ struct ieee80211_bss_conf { | |||
372 | * an SP that mac80211 transmits, it is already set; for driver frames | 372 | * an SP that mac80211 transmits, it is already set; for driver frames |
373 | * the driver may set this flag. It is also used to do the same for | 373 | * the driver may set this flag. It is also used to do the same for |
374 | * PS-Poll responses. | 374 | * PS-Poll responses. |
375 | * @IEEE80211_TX_CTL_USE_MINRATE: This frame will be sent at lowest rate. | ||
376 | * This flag is used to send nullfunc frame at minimum rate when | ||
377 | * the nullfunc is used for connection monitoring purpose. | ||
375 | * | 378 | * |
376 | * Note: If you have to add new flags to the enumeration, then don't | 379 | * Note: If you have to add new flags to the enumeration, then don't |
377 | * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary. | 380 | * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary. |
@@ -404,6 +407,7 @@ enum mac80211_tx_control_flags { | |||
404 | IEEE80211_TX_INTFL_TKIP_MIC_FAILURE = BIT(26), | 407 | IEEE80211_TX_INTFL_TKIP_MIC_FAILURE = BIT(26), |
405 | IEEE80211_TX_CTL_NO_CCK_RATE = BIT(27), | 408 | IEEE80211_TX_CTL_NO_CCK_RATE = BIT(27), |
406 | IEEE80211_TX_STATUS_EOSP = BIT(28), | 409 | IEEE80211_TX_STATUS_EOSP = BIT(28), |
410 | IEEE80211_TX_CTL_USE_MINRATE = BIT(29), | ||
407 | }; | 411 | }; |
408 | 412 | ||
409 | #define IEEE80211_TX_CTL_STBC_SHIFT 23 | 413 | #define IEEE80211_TX_CTL_STBC_SHIFT 23 |