summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2020-06-22 07:52:24 +0000
committerstsp <stsp@openbsd.org>2020-06-22 07:52:24 +0000
commit8522deb9b7f1dbc0e42a183aa8e4ae6fa72f57c7 (patch)
tree4eaa9695604ce9f461351ec15e05d37fd94e54cb
parentEnable critical temperature detection in iwx(4) firmware. (diff)
downloadwireguard-openbsd-8522deb9b7f1dbc0e42a183aa8e4ae6fa72f57c7.tar.xz
wireguard-openbsd-8522deb9b7f1dbc0e42a183aa8e4ae6fa72f57c7.zip
Update definition of the iwx_ac_to_tx_fifo map.
Compared to iwm(4) devices the BE and BK fifo numbers have been swapped in iwx(4) hardware. This has no real consequences for us since we send all frames at the same access category, but I'm fixing the mapping anyway.
-rw-r--r--sys/dev/pci/if_iwx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_iwx.c b/sys/dev/pci/if_iwx.c
index 2ef3439ebe5..21a400269e9 100644
--- a/sys/dev/pci/if_iwx.c
+++ b/sys/dev/pci/if_iwx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwx.c,v 1.33 2020/06/22 07:39:41 stsp Exp $ */
+/* $OpenBSD: if_iwx.c,v 1.34 2020/06/22 07:52:24 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -2357,10 +2357,10 @@ iwx_nic_init(struct iwx_softc *sc)
/* Map ieee80211_edca_ac categories to firmware Tx FIFO. */
const uint8_t iwx_ac_to_tx_fifo[] = {
- IWX_TX_FIFO_BE,
- IWX_TX_FIFO_BK,
- IWX_TX_FIFO_VI,
- IWX_TX_FIFO_VO,
+ IWX_GEN2_EDCA_TX_FIFO_BE,
+ IWX_GEN2_EDCA_TX_FIFO_BK,
+ IWX_GEN2_EDCA_TX_FIFO_VI,
+ IWX_GEN2_EDCA_TX_FIFO_VO,
};
int