Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153951532
D3684.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
882 B
Referenced Files
None
Subscribers
None
D3684.diff
View Options
Index: head/sys/dev/usb/wlan/if_urtwn.c
===================================================================
--- head/sys/dev/usb/wlan/if_urtwn.c
+++ head/sys/dev/usb/wlan/if_urtwn.c
@@ -1775,7 +1775,7 @@
struct r92c_tx_desc *txd;
uint8_t raid, type;
uint16_t sum;
- int i, hasqos, xferlen;
+ int i, xferlen;
struct usb_xfer *urtwn_pipes[4] = {
sc->sc_xfer[URTWN_BULK_TX_BE],
sc->sc_xfer[URTWN_BULK_TX_BK],
@@ -1816,8 +1816,6 @@
break;
}
- hasqos = 0;
-
/* Fill Tx descriptor. */
txd = (struct r92c_tx_desc *)data->buf;
memset(txd, 0, sizeof(*txd));
@@ -1873,7 +1871,7 @@
/* Set sequence number (already little endian). */
txd->txdseq |= *(uint16_t *)wh->i_seq;
- if (!hasqos) {
+ if (!IEEE80211_QOS_HAS_SEQ(wh)) {
/* Use HW sequence numbering for non-QoS frames. */
txd->txdw4 |= htole32(R92C_TXDW4_HWSEQ);
txd->txdseq |= htole16(0x8000);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 26, 1:25 AM (5 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32152686
Default Alt Text
D3684.diff (882 B)
Attached To
Mode
D3684: urtwn(4): fix sequence numbering for QoS frames
Attached
Detach File
Event Timeline
Log In to Comment