diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2020-06-22 07:52:25 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2020-06-22 07:52:25 +0000 |
commit | 1f8944fb9a49bc3bd523b88c44bd8bac59608969 (patch) | |
tree | ce3552c3c47d776912596fb8856d4c68be82a66d /sys/dev | |
parent | 09fc8aaee50d75761e15050410aa23031186858d (diff) |
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.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_iwx.c | 10 |
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 |