aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/an/if_anreg.h
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2001-03-23 17:46:32 +0000
committerArchie Cobbs <archie@FreeBSD.org>2001-03-23 17:46:32 +0000
commit53046c5fd56902282f5d0beab0d716d41c9c92af (patch)
tree3e7aa20d956aaf85a02ba956a3e23f4ca8d50104 /sys/dev/an/if_anreg.h
parentf2bdba0b7a5ef2c497428e246507c9890b68da66 (diff)
Notes
Diffstat (limited to 'sys/dev/an/if_anreg.h')
-rw-r--r--sys/dev/an/if_anreg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h
index 241cd65768dc5..844d4807a3eec 100644
--- a/sys/dev/an/if_anreg.h
+++ b/sys/dev/an/if_anreg.h
@@ -92,6 +92,7 @@
#define AN_CMD_HOST_SLEEP 0x0005
#define AN_CMD_MAGIC_PKT 0x0006
#define AN_CMD_READCFG 0x0008
+#define AN_CMD_SET_MODE 0x0009
#define AN_CMD_ALLOC_MEM 0x000A /* allocate NIC memory */
#define AN_CMD_TX 0x000B /* transmit */
#define AN_CMD_DEALLOC_MEM 0x000C
@@ -343,6 +344,9 @@ struct an_ltv_genconfig {
#define AN_TXPOWER_100MW 100
#define AN_TXPOWER_250MW 250
+#define AN_HOME_NETWORK 0x0001
+#define AN_HOME_INSTALL_AP 0x0002
+
/*
* Valid SSID list. You can specify up to three SSIDs denoting
* the service sets that you want to join. The first SSID always
@@ -528,7 +532,7 @@ struct an_ltv_status {
u_int16_t an_max_noise_prev_sec; /* 0x7A */
u_int16_t an_avg_noise_prev_min; /* 0x7C */
u_int16_t an_max_noise_prev_min; /* 0x7E */
- u_int16_t an_spare[2];
+ u_int16_t an_spare[3];
};
#define AN_STATUS_OPMODE_CONFIGURED 0x0001