Page 1 of 1

Master list of WiFi AuthTypes?

Posted: Tue Jan 02, 2024 2:23 am
by pejacoby
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]";
}

Re: Master list of WiFi AuthTypes?

Posted: Tue Jan 02, 2024 3:06 am
by arkasha
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

Re: Master list of WiFi AuthMODES?

Posted: Tue Jan 02, 2024 3:20 am
by pejacoby
Yep AuthMode is the thing! Working on the AtomGPS with Luke and trying to homogenize various approaches and naming.

Will take a closer look at your info, thanks!