Master list of WiFi AuthTypes?
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]";
}
A couple of things:
1. there is no AuthType field - I think you mean AuthMode?
2. There is not a master list, nor is there likely to be:
per https://api.wigle.net/csvFormat.html and https://api.wigle.net/csvFormat-1_6.html:
https://developer.android.com/reference ... pabilities describes but does not enumerate the accepted values.
https://github.com/wiglenet/wigle-wifi- ... java#L193 (the whole file, but that's how we decide which icon to show) shows you how we use the values client-side
1. there is no AuthType field - I think you mean AuthMode?
2. There is not a master list, nor is there likely to be:
per https://api.wigle.net/csvFormat.html and https://api.wigle.net/csvFormat-1_6.html:
https://developer.android.com/reference ... pabilities describes but does not enumerate the accepted values.
https://github.com/wiglenet/wigle-wifi- ... java#L193 (the whole file, but that's how we decide which icon to show) shows you how we use the values client-side
Return to “Net Hugging Hardware and Software”
Who is online
Users browsing this forum: Bing [Bot] and 1 guest