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.
This commit is contained in:
Warner Losh 2002-08-05 07:19:27 +00:00
parent 823f68a28a
commit ae06c30e2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101354

View File

@ -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