mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
[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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue