cc3000 driver with expanded buffers.

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
57:8caf996d7b6a
Parent:
48:d9eb9a596a58
--- a/cc3000_common.h	Tue May 06 22:38:34 2014 +0000
+++ b/cc3000_common.h	Wed May 07 02:53:08 2014 +0000
@@ -103,7 +103,7 @@
   The 1 is used for the overrun detection */
 
 #define CC3000_MINIMAL_TX_SIZE      (118 + 1)
-#define CC3000_MAXIMAL_TX_SIZE      (576 + 1)
+#define CC3000_MAXIMAL_TX_SIZE      (1519 + 1)
 
 //TX and RX buffer size - allow to receive and transmit maximum data at lengh 8.
 #ifdef CC3000_TINY_DRIVER
@@ -121,7 +121,7 @@
 
     #define CC3000_RX_BUFFER_SIZE   (CC3000_MAXIMAL_RX_SIZE)
     #define CC3000_TX_BUFFER_SIZE   (CC3000_MAXIMAL_TX_SIZE)
-    #define SP_PORTION_SIZE         1500
+    #define SP_PORTION_SIZE         512
 
 //TINY DRIVER: We use smaller rx and tx buffers in order to minimize RAM consumption
 #else