summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2012-08-22 11:37:53 -0500
committerJesse Gilles <jgilles@multitech.com>2012-08-22 11:37:53 -0500
commitf5d4a0758243933fba36a2b9186d6061b7bf40e3 (patch)
tree1e644da26ba0a7d3aa5679e0d8792a1d255178a2
parente7c44ad4e6d72540a1ba468c334318f9a24d976b (diff)
downloadcdp-io-controller-f5d4a0758243933fba36a2b9186d6061b7bf40e3.tar.gz
cdp-io-controller-f5d4a0758243933fba36a2b9186d6061b7bf40e3.tar.bz2
cdp-io-controller-f5d4a0758243933fba36a2b9186d6061b7bf40e3.zip
add bluetooth, wifi flags and mac addresses
-rw-r--r--io-module/mts_io.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index a9e6191..0e49184 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -53,6 +53,9 @@ do { \
#define CAPA_DOUT DEVICE_CAPA_VALUE(0, 5)
#define CAPA_ADC DEVICE_CAPA_VALUE(0, 4)
+#define CAPA_BLUETOOTH DEVICE_CAPA_VALUE(1, 7)
+#define CAPA_WIFI DEVICE_CAPA_VALUE(1, 6)
+
struct mts_id_eeprom_layout {
char vendor_id[32];
char product_id[32];
@@ -61,7 +64,9 @@ struct mts_id_eeprom_layout {
uint8_t mac_addr[6];
char imei[32];
uint8_t capa[32];
- uint8_t reserved[314];
+ uint8_t mac_bluetooth[6];
+ uint8_t mac_wifi[6];
+ uint8_t reserved[302];
};
#endif /* ~__MTS_IO_H */