summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-11 13:56:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-11 13:56:16 +0000
commit444e39b0936f26ddfed35b13d095de2c41ec611a (patch)
tree24523fc65e952b37eef29949f177c87b1a83e54a /libs/iwinfo/src/include
parent9d1cfdd35993fae618cdfe3b7a8d88b362d74cdd (diff)
libs/iwinfo: implement *_get_mbssid_support() check
Diffstat (limited to 'libs/iwinfo/src/include')
-rw-r--r--libs/iwinfo/src/include/broadcom.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/iwinfo/src/include/broadcom.h b/libs/iwinfo/src/include/broadcom.h
index ad3b5ddb1..ae7ae531d 100644
--- a/libs/iwinfo/src/include/broadcom.h
+++ b/libs/iwinfo/src/include/broadcom.h
@@ -33,6 +33,7 @@
#define WLC_GET_SSID 25
#define WLC_GET_CHANNEL 29
#define WLC_GET_PASSIVE 48
+#define WLC_GET_REVINFO 98
#define WLC_GET_AP 117
#define WLC_GET_RSSI 127
#define WLC_GET_WSEC 133
@@ -73,4 +74,20 @@ typedef struct wl_ioctl {
uint32_t needed; /* bytes needed (optional) */
} wl_ioctl_t;
+/* Revision info */
+typedef struct wlc_rev_info {
+ uint vendorid; /* PCI vendor id */
+ uint deviceid; /* device id of chip */
+ uint radiorev; /* radio revision */
+ uint chiprev; /* chip revision */
+ uint corerev; /* core revision */
+ uint boardid; /* board identifier (usu. PCI sub-device id) */
+ uint boardvendor; /* board vendor (usu. PCI sub-vendor id) */
+ uint boardrev; /* board revision */
+ uint driverrev; /* driver version */
+ uint ucoderev; /* microcode version */
+ uint bus; /* bus type */
+ uint chipnum; /* chip number */
+} wlc_rev_info_t;
+
#endif