sync with OpenBSD -current
This commit is contained in:
parent
223def2739
commit
ff44de68c3
17 changed files with 396 additions and 124 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: if_iwx.c,v 1.183 2024/04/13 23:44:11 jsg Exp $ */
|
||||
/* $OpenBSD: if_iwx.c,v 1.184 2024/05/08 14:03:54 stsp Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
|
||||
|
@ -8323,6 +8323,9 @@ iwx_run(struct iwx_softc *sc)
|
|||
return err;
|
||||
}
|
||||
#endif
|
||||
if (ic->ic_opmode == IEEE80211_M_MONITOR)
|
||||
return 0;
|
||||
|
||||
err = iwx_power_mac_update_mode(sc, in);
|
||||
if (err) {
|
||||
printf("%s: could not update MAC power (error %d)\n",
|
||||
|
@ -8330,9 +8333,6 @@ iwx_run(struct iwx_softc *sc)
|
|||
return err;
|
||||
}
|
||||
|
||||
if (ic->ic_opmode == IEEE80211_M_MONITOR)
|
||||
return 0;
|
||||
|
||||
/* Start at lowest available bit-rate. Firmware will raise. */
|
||||
in->in_ni.ni_txrate = 0;
|
||||
in->in_ni.ni_txmcs = 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: if_iwxreg.h,v 1.52 2023/10/06 15:15:41 stsp Exp $ */
|
||||
/* $OpenBSD: if_iwxreg.h,v 1.53 2024/05/08 14:03:54 stsp Exp $ */
|
||||
|
||||
/*-
|
||||
* Based on BSD-licensed source modules in the Linux iwlwifi driver,
|
||||
|
@ -1760,7 +1760,7 @@ struct iwx_gen3_bc_tbl_entry {
|
|||
#define IWX_DQA_CMD_QUEUE 0
|
||||
#define IWX_DQA_AUX_QUEUE 1
|
||||
|
||||
#define IWX_DQA_INJECT_MONITOR_QUEUE 2 /* used in monitor mode only */
|
||||
#define IWX_DQA_INJECT_MONITOR_QUEUE 1 /* used in monitor mode only */
|
||||
#define IWX_DQA_MGMT_QUEUE 1 /* default queue other modes */
|
||||
|
||||
/* Reserve 8 DQA Tx queues for QoS data frames. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue