lwip: rework the tcp ooseq handling.
It now accounts for the number of rx pool buffers used and the available memory when deciding the number of ooseq buffers to retain. Enable the TCP Selective ACK support which appears to help a lot on lossy wifi when using the OOSEQ option.
This commit is contained in:
parent
2110cf02ac
commit
34bd2dc823
4 changed files with 135 additions and 13 deletions
|
|
@ -45,6 +45,12 @@ struct esf_buf;
|
|||
void sdk_system_station_got_ip_set(struct ip4_addr *, struct ip4_addr *, struct ip4_addr *);
|
||||
void sdk_system_pp_recycle_rx_pkt(struct esf_buf *);
|
||||
|
||||
struct pbuf;
|
||||
void pp_recycle_rx_pbuf(struct pbuf *);
|
||||
|
||||
size_t ooseq_max_bytes(size_t n);
|
||||
size_t ooseq_max_pbufs(size_t n);
|
||||
|
||||
/* Define generic types used in lwIP */
|
||||
typedef uint8_t u8_t;
|
||||
typedef int8_t s8_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue