summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2017-07-16 22:48:26 +0000
committerstsp <stsp@openbsd.org>2017-07-16 22:48:26 +0000
commitfd759d73f250f27cadce1a14232e7b5b765efefd (patch)
tree3f946ab928a2863ca2d9ec9c2de55682ff3a6e4f
parentClear the framepointer (r3) in switch_trampoline to avoid faults in stack trace (diff)
downloadwireguard-openbsd-fd759d73f250f27cadce1a14232e7b5b765efefd.tar.xz
wireguard-openbsd-fd759d73f250f27cadce1a14232e7b5b765efefd.zip
Add comments to the definitions of iwm(4) driver-private flags.
-rw-r--r--sys/dev/pci/if_iwmvar.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pci/if_iwmvar.h b/sys/dev/pci/if_iwmvar.h
index b88d191a1cc..ec802268954 100644
--- a/sys/dev/pci/if_iwmvar.h
+++ b/sys/dev/pci/if_iwmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwmvar.h,v 1.30 2017/07/15 15:48:08 stsp Exp $ */
+/* $OpenBSD: if_iwmvar.h,v 1.31 2017/07/16 22:48:26 stsp Exp $ */
/*
* Copyright (c) 2014 genua mbh <info@genua.de>
@@ -279,12 +279,12 @@ struct iwm_rx_ring {
int cur;
};
-#define IWM_FLAG_USE_ICT 0x01
-#define IWM_FLAG_RFKILL 0x02
-#define IWM_FLAG_SCANNING 0x04
-#define IWM_FLAG_MAC_ACTIVE 0x08
-#define IWM_FLAG_BINDING_ACTIVE 0x10
-#define IWM_FLAG_STA_ACTIVE 0x20
+#define IWM_FLAG_USE_ICT 0x01 /* using Interrupt Cause Table */
+#define IWM_FLAG_RFKILL 0x02 /* radio kill switch is set */
+#define IWM_FLAG_SCANNING 0x04 /* scan in progress */
+#define IWM_FLAG_MAC_ACTIVE 0x08 /* MAC context added to firmware */
+#define IWM_FLAG_BINDING_ACTIVE 0x10 /* MAC->PHY binding added to firmware */
+#define IWM_FLAG_STA_ACTIVE 0x20 /* AP added to firmware station table */
struct iwm_ucode_status {
uint32_t uc_error_event_table;