summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_anreg.h
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2001-03-23 17:46:32 +0000
committerarchie <archie@FreeBSD.org>2001-03-23 17:46:32 +0000
commite22250630ad78bc0b2b6b8f7b7eef84c54dcc10a (patch)
tree75387b05898e37c7b414544f362d97b5c48df04b /sys/dev/an/if_anreg.h
parent6088152946b12c2ce82b70f305fe944677a6cf41 (diff)
downloadFreeBSD-src-e22250630ad78bc0b2b6b8f7b7eef84c54dcc10a.zip
FreeBSD-src-e22250630ad78bc0b2b6b8f7b7eef84c54dcc10a.tar.gz
A few fixes..
1 Make promiscuous mode work 2 A few header additions 3 Allow device config before IFF_UP These were (respectively)... Submitted by: Allan Saddi <asaddi@philosophysw.com> Submitted by: Dave Cornejo <dave@dogwood.com> Submitted by: Doug Ambrisko <ambrisko@ambrisko.com> Tested by: David Wolfskill <dhw@whistle.com>
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 241cd65..844d480 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
OpenPOWER on IntegriCloud