nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

net/tcp: no need to set tcp_window_scale opt if window less than 65535

Open Meissi-jian opened this issue 1 year ago • 1 comments

Summary

If windows size less than 65535,and we set config of NET_TCP_WINDOW_SCALE,we can see the SYNC and SYNC-ACK packet will set opt of tcp_window_scale which does not meet the standard

Impact

Tcp windows scale

Testing

Testing on Sim by set NET_TCP_WINDOW_SCALE and recv_buf

Meissi-jian avatar Jun 06 '24 03:06 Meissi-jian

@Meissi-jian please take a look at @wengzhe comments

acassis avatar Jun 22 '24 22:06 acassis