diff options
author | Kevin | 2014-11-15 10:00:36 +0800 |
---|---|---|
committer | Kevin | 2014-11-15 10:00:36 +0800 |
commit | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (patch) | |
tree | de942df665fac4bac0d9cb7ae86910fe937b0c1a /ANDROID_3.4.5/drivers/net/wireless/eagle/testmode.h | |
parent | 392e8802486cb573b916e746010e141a75f507e6 (diff) | |
download | FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.gz FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.bz2 FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.zip |
add via modify part source code for wm8880 4.4 kitkat
Diffstat (limited to 'ANDROID_3.4.5/drivers/net/wireless/eagle/testmode.h')
-rwxr-xr-x | ANDROID_3.4.5/drivers/net/wireless/eagle/testmode.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/drivers/net/wireless/eagle/testmode.h b/ANDROID_3.4.5/drivers/net/wireless/eagle/testmode.h new file mode 100755 index 00000000..b8be32e0 --- /dev/null +++ b/ANDROID_3.4.5/drivers/net/wireless/eagle/testmode.h @@ -0,0 +1,46 @@ +
+#ifndef __TEST_MODE
+#define __TEST_MODE
+
+enum {
+ TEST_CMD_UNSPEC,
+ TEST_CMD_ECHO,
+ TEST_CMD_ASK,
+ TEST_CMD_SLEEP,
+ TEST_CMD_WAKEUP,
+ TEST_CMD_LOOPBACK,
+ TEST_CMD_TX,
+ TEST_CMD_RX,
+ TEST_CMD_DEBUG,
+ TEST_CMD_SDIO_WR,
+ TEST_CMD_SDIO_RD,
+ TEST_CMD_SDIOSPEED,
+ __TEST_CMD_MAX,
+};
+#define TEST_CMD_MAX (__TEST_CMD_MAX - 1)
+
+enum {
+ TEST_ATTR_UNSPEC,
+ TEST_ATTR_CMD_NAME,
+ TEST_ATTR_CMD_TYPE,
+ TEST_ATTR_PARA_NUM,
+ TEST_ATTR_PARA0,
+ TEST_ATTR_PARA1,
+ TEST_ATTR_PARA2,
+ TEST_ATTR_PARA3,
+ TEST_ATTR_PARA4,
+ TEST_ATTR_PARA5,
+ TEST_ATTR_PARA6,
+ TEST_ATTR_PARA7,
+ TEST_ATTR_STR,
+ __TEST_ATTR_MAX,
+};
+#define TEST_ATTR_MAX (__TEST_ATTR_MAX - 1)
+#define TEST_ATTR_PARA(i) (TEST_ATTR_PARA0+(i))
+
+u32 get_loopback_num(void);
+u32 get_loopback_id(void);
+void inc_loopback_id(void);
+#endif
+
+
|