Master list of WiFi AuthTypes?
Posted: Tue Jan 02, 2024 2:23 am
Hi guys, I asked privately and then thought to search the Board, but found nothing.
Q: Is there a list of ‘standard’ naming for AuthType entries that Wigle expects or tolerates for inputs in the wigle.csv?
Comparing code from JHewitt, LyndLabs, and other efforts there are some variations and also some items in <wifi.h> that aren’t in anyone's code yet.
I have browsed the WigleWiFi Android app GIT but am not smart enough to find the fountain of truth. Any pointers?
And so as to not be obtuse, this is the stuff I'm talking about:
const char* getAuthType(uint8_t wifiAuth) {
switch (wifiAuth) {
case WIFI_AUTH_OPEN:
return "[OPEN]";
case WIFI_AUTH_WEP:
return "[WEP]";
case WIFI_AUTH_WPA_PSK:
return "[WPA_PSK]";
case WIFI_AUTH_WPA2_PSK:
return "[WPA2_PSK]";
case WIFI_AUTH_WPA_WPA2_PSK:
return "[WPA_WPA2_PSK]";
case WIFI_AUTH_WPA2_ENTERPRISE:
return "[WPA2_ENTERPRISE]";
case WIFI_AUTH_WPA3_PSK:
return "[WPA3_PSK]";
case WIFI_AUTH_WPA2_WPA3_PSK:
return "[WPA2_WPA3_PSK]";
case WIFI_AUTH_WAPI_PSK:
return "[WAPI_PSK]";
default:
return "[UNDEFINED]";
}
Q: Is there a list of ‘standard’ naming for AuthType entries that Wigle expects or tolerates for inputs in the wigle.csv?
Comparing code from JHewitt, LyndLabs, and other efforts there are some variations and also some items in <wifi.h> that aren’t in anyone's code yet.
I have browsed the WigleWiFi Android app GIT but am not smart enough to find the fountain of truth. Any pointers?
And so as to not be obtuse, this is the stuff I'm talking about:
const char* getAuthType(uint8_t wifiAuth) {
switch (wifiAuth) {
case WIFI_AUTH_OPEN:
return "[OPEN]";
case WIFI_AUTH_WEP:
return "[WEP]";
case WIFI_AUTH_WPA_PSK:
return "[WPA_PSK]";
case WIFI_AUTH_WPA2_PSK:
return "[WPA2_PSK]";
case WIFI_AUTH_WPA_WPA2_PSK:
return "[WPA_WPA2_PSK]";
case WIFI_AUTH_WPA2_ENTERPRISE:
return "[WPA2_ENTERPRISE]";
case WIFI_AUTH_WPA3_PSK:
return "[WPA3_PSK]";
case WIFI_AUTH_WPA2_WPA3_PSK:
return "[WPA2_WPA3_PSK]";
case WIFI_AUTH_WAPI_PSK:
return "[WAPI_PSK]";
default:
return "[UNDEFINED]";
}