mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
update WiFi security definitions
This commit is contained in:
1 parent
60fe567845
commit
8392b9407a
5 files changed
+29
-21
No files matched your search
@@ -24,11 +24,16 @@ struct mg_wifi_scan_bss_data {
|
||||
#define MG_WIFI_SECURITY_WPA MG_BIT(1)
|
||||
#define MG_WIFI_SECURITY_WPA2 MG_BIT(2)
|
||||
#define MG_WIFI_SECURITY_WPA3 MG_BIT(3)
|
||||
#define MG_WIFI_SECURITY_WPA_ENTERPRISE MG_BIT(4)
|
||||
#define MG_WIFI_SECURITY_WPA2_ENTERPRISE MG_BIT(5)
|
||||
#define MG_WIFI_SECURITY_WPA3_ENTERPRISE MG_BIT(6)
|
||||
uint8_t channel;
|
||||
unsigned band : 2;
|
||||
#define MG_WIFI_BAND_2G 0
|
||||
#define MG_WIFI_BAND_5G 1
|
||||
unsigned has_n : 1;
|
||||
unsigned has_ac : 1;
|
||||
unsigned has_ax : 1;
|
||||
};
|
||||
|
||||
bool mg_wifi_scan(void);
|
||||
|
||||
Reference in new issue
Block a user