iwm: assign sequence numbers even if we ask the firmware to override
I've had a report of this breaking without the sequence number assigned (from glebius@) so, similar to iwx work, let's just re-add it here. Reported by: glebius Differential Revision: https://reviews.freebsd.org/D52664 Reviewed by: glebius Tested by: glebius
This commit is contained in:
@@ -3773,6 +3773,10 @@ iwm_tx(struct iwm_softc *sc, struct mbuf *m, struct ieee80211_node *ni, int ac)
|
||||
|
||||
rinfo = iwm_tx_fill_cmd(sc, in, m, tx);
|
||||
|
||||
/* Offloaded sequence number assignment; non-AMPDU case */
|
||||
if ((m->m_flags & M_AMPDU_MPDU) == 0)
|
||||
ieee80211_output_seqno_assign(ni, -1, m);
|
||||
|
||||
/* Encrypt the frame if need be. */
|
||||
if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
|
||||
/* Retrieve key for TX && do software encryption. */
|
||||
|
||||
Reference in New Issue
Block a user