bugfix(wifi): Define ETH_ALEN for IPV6 Communication Type

This commit is contained in:
akshat
2025-05-28 15:20:28 +05:30
parent 5dcd1a578b
commit ad164f5d57
2 changed files with 5 additions and 2 deletions

View File

@@ -23,8 +23,8 @@ SAVE_BIN_SIZE_TH = {
}, },
'disable_nan': { 'disable_nan': {
'esp32': 29600, 'esp32': 29600,
'esp32c5': 32400, 'esp32c5': 32000,
'esp32c61': 32400, 'esp32c61': 32000,
'esp32s2': 28000, 'esp32s2': 28000,
# other chips does not support nan # other chips does not support nan
'default': 0, 'default': 0,

View File

@@ -31,6 +31,9 @@
#else #else
#define EXAMPLE_NAN_SVC_MSG "Hello" #define EXAMPLE_NAN_SVC_MSG "Hello"
#endif #endif
#ifndef ETH_ALEN
#define ETH_ALEN 6
#endif
static const char *TAG = "subscriber"; static const char *TAG = "subscriber";