[iwn?] Use correct sequence numbers with non-QoS STAs.
PR: kern/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
parent
e43b274af6
commit
9b7cc717ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282399
@ -2714,6 +2714,8 @@ wpi_tx_data(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
|
||||
flags |= WPI_TX_NEED_ACK;
|
||||
}
|
||||
|
||||
if (!IEEE80211_QOS_HAS_SEQ(wh))
|
||||
flags |= WPI_TX_AUTO_SEQ;
|
||||
if (wh->i_fc[1] & IEEE80211_FC1_MORE_FRAG)
|
||||
flags |= WPI_TX_MORE_FRAG; /* Cannot happen yet. */
|
||||
|
||||
@ -2818,6 +2820,8 @@ wpi_tx_data_raw(struct wpi_softc *sc, struct mbuf *m,
|
||||
rate = params->ibp_rate0;
|
||||
|
||||
flags = 0;
|
||||
if (!IEEE80211_QOS_HAS_SEQ(wh))
|
||||
flags |= WPI_TX_AUTO_SEQ;
|
||||
if ((params->ibp_flags & IEEE80211_BPF_NOACK) == 0)
|
||||
flags |= WPI_TX_NEED_ACK;
|
||||
if (params->ibp_flags & IEEE80211_BPF_RTS)
|
||||
|
Loading…
Reference in New Issue
Block a user