summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_anreg.h
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2003-02-08 04:41:17 +0000
committerambrisko <ambrisko@FreeBSD.org>2003-02-08 04:41:17 +0000
commitf6f64762ea1ec1f1e406e129adfacabf344dfef0 (patch)
tree8d455a8cff76918f16b16bc8ed6beb10bbab41e6 /sys/dev/an/if_anreg.h
parentcf07da2f1a9c11bd6217a035a0030e534abf083b (diff)
downloadFreeBSD-src-f6f64762ea1ec1f1e406e129adfacabf344dfef0.zip
FreeBSD-src-f6f64762ea1ec1f1e406e129adfacabf344dfef0.tar.gz
- Fixes for suspend/resume code (MPI-350)
- Cache temp. keys so they are preserved across suspend/resume (MPI-350) - Reads and writes are real fast to the MPI-350 causing early timeouts so wait do some DELAYs to slow things down in the spin loops. - Stream line setting RIDs when they are better to be set via another function - Add better support for setting home key via "ifconfig an0 wepkey 9:<key>" Tested by: Peter Radcliffe <pir@pir.net> (in -stable) myself in -current & -stable MFC in: 3 days
Diffstat (limited to 'sys/dev/an/if_anreg.h')
-rw-r--r--sys/dev/an/if_anreg.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h
index 165f760..0af4506 100644
--- a/sys/dev/an/if_anreg.h
+++ b/sys/dev/an/if_anreg.h
@@ -32,7 +32,7 @@
* $FreeBSD$
*/
-#define AN_TIMEOUT 600000
+#define AN_TIMEOUT 65536
/* Default network name: <empty string> */
#define AN_DEFAULT_NETNAME ""
@@ -460,8 +460,7 @@ struct an_softc {
struct an_ltv_caps an_caps;
struct an_ltv_ssidlist an_ssidlist;
struct an_ltv_aplist an_aplist;
- struct an_ltv_key an_temp_keys;
- struct an_ltv_key an_perm_keys;
+ struct an_ltv_key an_temp_keys[4];
int an_tx_rate;
int an_rxmode;
int an_gone;
OpenPOWER on IntegriCloud