aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-01-12 08:26:30 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-01-19 11:36:09 -0500
commitdf6ba5d80d6c9b51471d5fa046c3c06988e5f62a (patch)
tree9321170ce223172318ff6e6fa34bd3b30559cf44 /include/net
parentdcac908babcd8ce21057e476c8df609b28ad2cd8 (diff)
mac80211: add hw configuration for max ampdu buffer size
Some devices don't support the maximum AMDPU buffer size of 64, so we need to add an option to configure this in the hardware configuration. This value will be used in the ADDBA response instead of the value suggested in the request, if the latter is greater than the max supported. Signed-off-by: Luciano Coelho <coelho@ti.com> Tested-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 62c0ce2d1dc8..d024fc563e7b 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1147,6 +1147,13 @@ enum ieee80211_hw_flags {
1147 * @napi_weight: weight used for NAPI polling. You must specify an 1147 * @napi_weight: weight used for NAPI polling. You must specify an
1148 * appropriate value here if a napi_poll operation is provided 1148 * appropriate value here if a napi_poll operation is provided
1149 * by your driver. 1149 * by your driver.
1150
1151 * @max_rx_aggregation_subframes: maximum buffer size (number of
1152 * sub-frames) to be used for A-MPDU block ack receiver
1153 * aggregation.
1154 * This is only relevant if the device has restrictions on the
1155 * number of subframes, if it relies on mac80211 to do reordering
1156 * it shouldn't be set.
1150 */ 1157 */
1151struct ieee80211_hw { 1158struct ieee80211_hw {
1152 struct ieee80211_conf conf; 1159 struct ieee80211_conf conf;
@@ -1165,6 +1172,7 @@ struct ieee80211_hw {
1165 u8 max_rates; 1172 u8 max_rates;
1166 u8 max_report_rates; 1173 u8 max_report_rates;
1167 u8 max_rate_tries; 1174 u8 max_rate_tries;
1175 u8 max_rx_aggregation_subframes;
1168}; 1176};
1169 1177
1170/** 1178/**