summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wireg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-04-04 06:28:16 +0000
committerimp <imp@FreeBSD.org>2002-04-04 06:28:16 +0000
commit002b206ef856ffe327e6d3e9fc6f47b35bd598a1 (patch)
treecd69b5a97fab75fa739c3f03363e939de1244b21 /sys/dev/wi/if_wireg.h
parentb486ed03d8ed44fbabf9904da780987768bc9f8b (diff)
downloadFreeBSD-src-002b206ef856ffe327e6d3e9fc6f47b35bd598a1.zip
FreeBSD-src-002b206ef856ffe327e6d3e9fc6f47b35bd598a1.tar.gz
o Reduce the gratuitous differences with NetBSD.
o OpenBSD's wiconfig tells me that a value of '2' is for sony wireless cards, 1 is for lucent (which we already knew) and '5' is for embedded lucent cards. o Move some RID definitions to if_wavelan_ieee.h and use NetBSD names more often. # more work is still needed in this area.
Diffstat (limited to 'sys/dev/wi/if_wireg.h')
-rw-r--r--sys/dev/wi/if_wireg.h63
1 files changed, 6 insertions, 57 deletions
diff --git a/sys/dev/wi/if_wireg.h b/sys/dev/wi/if_wireg.h
index 7ad5cf1..8b9cfba 100644
--- a/sys/dev/wi/if_wireg.h
+++ b/sys/dev/wi/if_wireg.h
@@ -370,8 +370,9 @@ struct wi_ltv_ver {
u_int16_t wi_len;
u_int16_t wi_type;
u_int16_t wi_ver[4];
-#define WI_NIC_LUCENT 0x0001 /* Emperically derived */
-#define WI_NIC_LUCENT_ALT 0x0005 /* Emperically derived */
+#define WI_NIC_LUCENT 0x0001
+#define WI_NIC_SONY 0x0002
+#define WI_NIC_LUCENT_EMBEDDED 0x0005
#define WI_NIC_EVB2 0x8000
#define WI_NIC_HWB3763 0x8001
#define WI_NIC_HWB3163 0x8002
@@ -475,10 +476,8 @@ struct wi_ltv_macaddr {
};
/*
- * Station set identification (SSID).
+ * Station set identification (SSID). (0xFC02, 0xFC04)
*/
-#define WI_RID_DESIRED_SSID 0xFC02
-#define WI_RID_OWN_SSID 0xFC04
struct wi_ltv_ssid {
u_int16_t wi_len;
u_int16_t wi_type;
@@ -486,42 +485,18 @@ struct wi_ltv_ssid {
};
/*
- * Set communications channel (radio frequency).
+ * Set our station name. (0xFC0E)
*/
-#define WI_RID_OWN_CHNL 0xFC03
-
-/*
- * Frame data size.
- */
-#define WI_RID_MAX_DATALEN 0xFC07
-
-/*
- * ESS power management enable
- */
-#define WI_RID_PM_ENABLED 0xFC09
-
-/*
- * ESS max PM sleep internal
- */
-#define WI_RID_MAX_SLEEP 0xFC0C
-
-/*
- * Set our station name.
- */
-#define WI_RID_NODENAME 0xFC0E
struct wi_ltv_nodename {
u_int16_t wi_len;
u_int16_t wi_type;
u_int16_t wi_nodename[17];
};
-#define WI_RID_AUTH_CNTL 0xFC2A
-
/*
* Multicast addresses to be put in filter. We're
- * allowed up to 16 addresses in the filter.
+ * allowed up to 16 addresses in the filter. (0xFC80)
*/
-#define WI_RID_MCAST 0xFC80
struct wi_ltv_mcast {
u_int16_t wi_len;
u_int16_t wi_type;
@@ -529,32 +504,6 @@ struct wi_ltv_mcast {
};
/*
- * Create IBSS.
- */
-#define WI_RID_CREATE_IBSS 0xFC81
-
-#define WI_RID_FRAG_THRESH 0xFC82
-#define WI_RID_RTS_THRESH 0xFC83
-
-/*
- * TX rate control
- * 0 == Fixed 1mbps
- * 1 == Fixed 2mbps
- * 2 == auto fallback
- */
-#define WI_RID_TX_RATE 0xFC84
-
-/*
- * promiscuous mode.
- */
-#define WI_RID_PROMISC 0xFC85
-
-/*
- * Auxiliary Timer tick interval
- */
-#define WI_RID_TICK_TIME 0xFCE0
-
-/*
* Information frame types.
*/
#define WI_INFO_NOTIFY 0xF000 /* Handover address */
OpenPOWER on IntegriCloud