summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-08-05 07:19:27 +0000
committerimp <imp@FreeBSD.org>2002-08-05 07:19:27 +0000
commit5454e6118c9b7b3db798e7a82cc875aa10cf8918 (patch)
treeb7a8bb79261d2a90a9e91522393d447afe429ac2 /sys/dev
parent6173b2ee76bf15494f39f072811060dc30e69561 (diff)
downloadFreeBSD-src-5454e6118c9b7b3db798e7a82cc875aa10cf8918.zip
FreeBSD-src-5454e6118c9b7b3db798e7a82cc875aa10cf8918.tar.gz
Add a comment that says it looks like lucent cards have a primary
firmware revision as well (not sure which firmware versions are needed for this, but the 6.x and 8.x 'software' versions that I have seem to support it). Add dBm comm quality RID. This is like the normal comm quality rid, except the signal and noise numbers are normalized to dBm. Some revisions of the prism firmware, however, don't support this RID, and some that do support it return 0 for quality and/or noise. Your milage may vary.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/wi/if_wavelan_ieee.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wavelan_ieee.h b/sys/dev/wi/if_wavelan_ieee.h
index 6e57b11..0af03a6 100644
--- a/sys/dev/wi/if_wavelan_ieee.h
+++ b/sys/dev/wi/if_wavelan_ieee.h
@@ -279,6 +279,7 @@ struct wi_ltv_keys {
*/
#define WI_RID_DNLD_BUF 0xFD01
#define WI_RID_MEMSZ 0xFD02 /* memory size info (XXX Lucent) */
+ /* Looks like on lucnet pri firm too */
#define WI_RID_PRI_IDENTITY 0xFD02 /* primary funcs firmware ident (PRISM2) */
#define WI_RID_PRI_SUP_RANGE 0xFD03 /* primary supplier compatibility */
#define WI_RID_CIF_ACT_RANGE 0xFD04 /* controller sup. compatibility */
@@ -318,6 +319,7 @@ struct wi_ltv_keys {
#define WI_RID_AUTH_ALGS 0xFD4D /* auth algorithms available */
#define WI_RID_AUTH_TYPE 0xFD4E /* availanle auth types */
#define WI_RID_WEP_AVAIL 0xFD4F /* WEP privacy option available */
+#define WI_RID_DBM_COMMS_QUAL 0xFD51 /* CommQuality normalized to dBm */
#define WI_RID_CUR_TX_RATE1 0xFD80
#define WI_RID_CUR_TX_RATE2 0xFD81
#define WI_RID_CUR_TX_RATE3 0xFD82
OpenPOWER on IntegriCloud