X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fiwinfo%2Fsrc%2Finclude%2Fbroadcom.h;h=ae7ae531dc3e09c655a50dfc720089b9df557f9c;hb=444e39b0936f26ddfed35b13d095de2c41ec611a;hp=ad3b5ddb1134afdc3e0a87a9c0d857fb6e62bc29;hpb=9d1cfdd35993fae618cdfe3b7a8d88b362d74cdd;p=project%2Fluci.git 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