diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-08-30 02:32:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-13 15:45:03 -0400 |
commit | edf6b784c0e574696915e7b04fe42158f3112d0d (patch) | |
tree | d423c979f0c87ba04891349c08d95573b43f90aa /net/mac80211/tx.c | |
parent | 24616152b1d184864370c5ea21f8fdbd5a90d58d (diff) |
mac80211: add flag to indicate HW only Tx-agg setup support
When this flag is set, Tx A-MPDU sessions will not be started by
mac80211. This flag is required for devices that support Tx A-MPDU setup
in hardware.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index c9766ccb51a4..2521716aa97b 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1232,7 +1232,8 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata, | |||
1232 | tx->sta = sta_info_get(sdata, hdr->addr1); | 1232 | tx->sta = sta_info_get(sdata, hdr->addr1); |
1233 | 1233 | ||
1234 | if (tx->sta && ieee80211_is_data_qos(hdr->frame_control) && | 1234 | if (tx->sta && ieee80211_is_data_qos(hdr->frame_control) && |
1235 | (local->hw.flags & IEEE80211_HW_AMPDU_AGGREGATION)) { | 1235 | (local->hw.flags & IEEE80211_HW_AMPDU_AGGREGATION) && |
1236 | !(local->hw.flags & IEEE80211_HW_TX_AMPDU_SETUP_IN_HW)) { | ||
1236 | struct tid_ampdu_tx *tid_tx; | 1237 | struct tid_ampdu_tx *tid_tx; |
1237 | 1238 | ||
1238 | qc = ieee80211_get_qos_ctl(hdr); | 1239 | qc = ieee80211_get_qos_ctl(hdr); |