3DSident/common/wifi.c
Joel16 cf84991672 Merge GUI and Console in one branch
- Cleaned up a bunch of functions
- Now builds with the latest toolchain.
- GUI uses Citro2D.
2018-07-31 13:59:17 -05:00

27 lines
418 B
C

#include "ac.h"
#include "utils.h"
#include "wifi.h"
const char *WiFi_GetSecurityMode(void)
{
u8 securityMode = 0;
if (R_FAILED(ACI_GetSecurityMode(&securityMode)))
securityMode = 8;
const char *securityString[] =
{
"Not secured",
"WEP 40-bit",
"WEP 104-bit",
"WEP 128-bit",
"WPA TKIP",
"WPA2 TKIP",
"WPA AES",
"WPA2 AES",
"Unknown"
};
return securityString[securityMode];
}