Skip to content

Commit

Permalink
ports/psoc6: Modified lwip config.
Browse files Browse the repository at this point in the history
Signed-off-by: IFX-Anusha <Anusha.TR@infineon.com>
  • Loading branch information
IFX-Anusha committed Sep 25, 2024
1 parent fded3b2 commit 32b8101
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ports/psoc6/lwip_inc/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

#define LWIP_RAW (1)


//
// Enable IPV4 networking
//
Expand Down Expand Up @@ -146,7 +147,7 @@
* TCP_SND_BUF: TCP sender buffer space (bytes).
* To achieve good performance, this should be at least 2 * TCP_MSS.
*/
#define TCP_SND_BUF (4 * TCP_MSS)
#define TCP_SND_BUF (8 * TCP_MSS)

/**
* TCP_SND_QUEUELEN: TCP sender buffer space (pbufs). This must be at least
Expand Down Expand Up @@ -201,7 +202,7 @@
* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP segments.
* (requires the LWIP_TCP option)
*/
#define MEMP_NUM_TCP_SEG 27
#define MEMP_NUM_TCP_SEG (2 * TCP_SND_QUEUELEN)

/**
* MEMP_NUM_SYS_TIMEOUT: the number of simultaneously active timeouts.
Expand Down Expand Up @@ -260,7 +261,7 @@

#define LWIP_DNS (1)

#define LWIP_NETIF_TX_SINGLE_PBUF (1)
#define LWIP_NETIF_TX_SINGLE_PBUF (0)

#define LWIP_RAND rand

Expand Down

0 comments on commit 32b8101

Please sign in to comment.