net80211 really doesn't want A_MPDU to appear on non-11n station node mbufs.

Revert back to the previous method of doing it for where a node can be
identified and it's an 11n node.

I'll have to do some further research into exactly what is being messed up
with the sequence number matching and I'll then revisit this.
This commit is contained in:
adrian 2011-02-08 20:16:43 +00:00
parent 85440e5501
commit 34a093ebf2

View File

@ -3892,18 +3892,27 @@ ath_rx_proc(void *arg, int npending)
IEEE80211_KEYIX_NONE : rs->rs_keyix);
sc->sc_lastrs = rs;
/* tag AMPDU aggregates for reorder processing */
#if 0
/*
* Just make sure all frames are tagged for AMPDU reorder checking.
* As there seems to be some situations where single frames aren't
* matching a node but bump the seqno. This needs to be investigated.
*/
m->m_flags |= M_AMPDU;
#endif
/* Keep statistics on the number of aggregate packets received */
if (rs->rs_isaggr)
sc->sc_stats.ast_rx_agg++;
if (ni != NULL) {
/*
* Only punt packets for ampdu reorder processing for 11n nodes;
* net80211 enforces that M_AMPDU is only set for 11n nodes.
*/
if (ni->ni_flags & IEEE80211_NODE_HT)
m->m_flags |= M_AMPDU;
/*
* Sending station is known, dispatch directly.
*/