Configurable wifi sta config size
This commit is contained in:
@@ -44,4 +44,9 @@ config WIFI_LOG_WORKAROUND
|
||||
bool "Enable disabled-log bug workaround (by enabling certain log statements)"
|
||||
default false
|
||||
|
||||
config WIFI_STA_CONFIG_COUNT
|
||||
int "Maximum number of STA configurations"
|
||||
default 5
|
||||
range 1 10
|
||||
|
||||
endmenu
|
||||
|
@@ -163,7 +163,7 @@ struct dual_ant_config
|
||||
struct sta_config
|
||||
{
|
||||
std::string hostname;
|
||||
std::array<wifi_entry, 10> wifis;
|
||||
std::array<wifi_entry, CONFIG_WIFI_STA_CONFIG_COUNT> wifis;
|
||||
int8_t min_rssi = -90;
|
||||
bool long_range = false;
|
||||
wifi_bandwidth_t bandwidth = WIFI_BW_HT20;
|
||||
|
Reference in New Issue
Block a user