mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
Update bl602 MTU_SIZE and TX_BUF_SIZE
N/A Signed-off-by: jsun <jsun@bouffalolab.com>
This commit is contained in:
@@ -107,13 +107,13 @@
|
|||||||
|
|
||||||
#define BL602_NET_WDDELAY (1 * CLOCKS_PER_SEC)
|
#define BL602_NET_WDDELAY (1 * CLOCKS_PER_SEC)
|
||||||
|
|
||||||
|
#define WIFI_MTU_SIZE 1516
|
||||||
|
|
||||||
#define BL602_NET_TXBUFF_NUM 12
|
#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 BL602_TXDESC_THRESHOLD 3
|
||||||
|
|
||||||
#define WIFI_MTU_SIZE 1514
|
|
||||||
|
|
||||||
#if BL602_NET_TXBUFF_SIZE & 0x3 != 0
|
#if BL602_NET_TXBUFF_SIZE & 0x3 != 0
|
||||||
#error "BL602_NET_TXBUFF_SIZE must be aligned to 4 bytes"
|
#error "BL602_NET_TXBUFF_SIZE must be aligned to 4 bytes"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user