diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-08-12 10:30:16 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-08-12 10:30:16 +0000 |
commit | 490bac76b8b8f6f9a2ad57f148ddfda9538aa04f (patch) | |
tree | a865a619561fb85692731d1a431c91822dd5a451 /sys/dev/ic/acxvar.h | |
parent | 8b2aa71727816346e142b645790f164e29c98fe6 (diff) |
Fill ic_max_rssi with values depending on the radio type. Makes signal
strength in percentage work.
ok jsg@
Diffstat (limited to 'sys/dev/ic/acxvar.h')
-rw-r--r-- | sys/dev/ic/acxvar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/acxvar.h b/sys/dev/ic/acxvar.h index fa76785ebcd..0a6720e2dfc 100644 --- a/sys/dev/ic/acxvar.h +++ b/sys/dev/ic/acxvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acxvar.h,v 1.10 2006/08/07 10:46:12 mglocker Exp $ */ +/* $OpenBSD: acxvar.h,v 1.11 2006/08/12 10:30:15 mglocker Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -491,6 +491,12 @@ struct acx_softc { #define ACX_RADIO_TYPE_UNKN17 0x17 #define ACX_RADIO_TYPE_UNKN19 0x19 +#define ACX_RADIO_RSSI_MAXIM 120 /* 100dB */ +#define ACX_RADIO_RSSI_RFMD 215 /* 215dB */ +#define ACX_RADIO_RSSI_RALINK 0 /* XXX unknown yet */ +#define ACX_RADIO_RSSI_RADIA 78 /* 78db */ +#define ACX_RADIO_RSSI_UNKN 0 /* unknown radio */ + extern const struct ieee80211_rateset acx_rates_11b; extern const struct ieee80211_rateset acx_rates_11g; extern int acx_beacon_intvl; |