From 5638f48d1aa667f83d80bff7d5b09c401cd25819 Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Tue, 16 Mar 2010 11:39:07 +0100 Subject: [PATCH] Use temporarily CFP radiotap flag as A-MPDU flag --- rt2860.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rt2860.c b/rt2860.c index 95dcf50..ddfa87a 100644 --- a/rt2860.c +++ b/rt2860.c @@ -4662,6 +4662,11 @@ static int rt2860_tx_data(struct rt2860_softc *sc, if (wh->i_fc[1] & IEEE80211_FC1_WEP) tap->flags |= IEEE80211_RADIOTAP_F_WEP; + /* XXX use temporarily radiotap CFP flag as A-MPDU flag */ + + if (ampdu) + tap->flags |= IEEE80211_RADIOTAP_F_CFP; + if (wh->i_fc[1] & IEEE80211_FC1_WEP) { wh->i_fc[1] &= ~IEEE80211_FC1_WEP; @@ -5709,6 +5714,11 @@ static int rt2860_rx_eof(struct rt2860_softc *sc, int limit) if (shortgi) tap->flags |= IEEE80211_RADIOTAP_F_SHORTGI; + + /* XXX use temporarily radiotap CFP flag as A-MPDU flag */ + + if (ampdu) + tap->flags |= IEEE80211_RADIOTAP_F_CFP; } /* -- 2.11.4.GIT