Update bl602 MTU_SIZE and TX_BUF_SIZE

N/A

Signed-off-by: jsun <jsun@bouffalolab.com>
This commit is contained in:
jsun 2021-09-17 18:37:00 +08:00 committed by Xiang Xiao
parent d489392d08
commit f4b6bb281c

View File

@ -107,13 +107,13 @@
#define BL602_NET_WDDELAY (1 * CLOCKS_PER_SEC)
#define WIFI_MTU_SIZE 1516
#define BL602_NET_TXBUFF_NUM 12
#define BL602_NET_TXBUFF_SIZE (1650)
#define BL602_NET_TXBUFF_SIZE (WIFI_MTU_SIZE + PRESERVE_80211_HEADER_LEN)
#define BL602_TXDESC_THRESHOLD 3
#define WIFI_MTU_SIZE 1514
#if BL602_NET_TXBUFF_SIZE & 0x3 != 0
#error "BL602_NET_TXBUFF_SIZE must be aligned to 4 bytes"
#endif