summaryrefslogtreecommitdiff
path: root/drivers/cc3100/inc/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cc3100/inc/protocol.h')
-rw-r--r--drivers/cc3100/inc/protocol.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/drivers/cc3100/inc/protocol.h b/drivers/cc3100/inc/protocol.h
index f83ad4c3d..8a1299a6a 100644
--- a/drivers/cc3100/inc/protocol.h
+++ b/drivers/cc3100/inc/protocol.h
@@ -149,6 +149,7 @@ typedef struct
#define SL_FLAGS_MASK (0xF)
#define SL_OPCODE_DEVICE_INITCOMPLETE 0x0008
+#define SL_OPCODE_DEVICE_ABORT 0x000C
#define SL_OPCODE_DEVICE_STOP_COMMAND 0x8473
#define SL_OPCODE_DEVICE_STOP_RESPONSE 0x0473
#define SL_OPCODE_DEVICE_STOP_ASYNC_RESPONSE 0x0073
@@ -351,9 +352,6 @@ typedef struct
#define SL_OPCODE_WLAN_SMARTCONFIGOPTGET 0x8C8E
#define SL_OPCODE_WLAN_SMARTCONFIGOPTGETRESPONSE 0x0C8E
-#define SL_OPCODE_FREE_BSD_RECV_BUFFER 0xCCCB
-#define SL_OPCODE_FREE_NON_BSD_READ_BUFFER 0xCCCD
-
/* Rx Filters opcodes */
#define SL_OPCODE_WLAN_WLANRXFILTERADDCOMMAND 0x8C6C
@@ -1032,6 +1030,7 @@ typedef struct
_u16 rxKbitsSec;
_u32 outOfOrderPackets;
_u32 missedPackets;
+ _i16 token;
}_CtestAsyncResponse_t;
typedef struct
@@ -1162,8 +1161,15 @@ typedef _BasicResponse_t _FsWriteResponse_t;
-/* Set Max Async Payload length depending on flavor (Tiny, Small, etc.) */
-#define SL_ASYNC_MAX_PAYLOAD_LEN 160 /* size must be aligned to 4 */
+/* TODO: Set MAx Async Payload length depending on flavor (Tiny, Small, etc.) */
+
+
+#ifdef SL_TINY_EXT
+#define SL_ASYNC_MAX_PAYLOAD_LEN 120 /* size must be aligned to 4 */
+#else
+#define SL_ASYNC_MAX_PAYLOAD_LEN 160 /* size must be aligned to 4 */
+#endif
+
#define SL_ASYNC_MAX_MSG_LEN (_SL_RESP_HDR_SIZE + SL_ASYNC_MAX_PAYLOAD_LEN)
#define RECV_ARGS_SIZE (sizeof(_SocketResponse_t))