mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-23 03:29:45 +00:00
cf84991672
- Cleaned up a bunch of functions - Now builds with the latest toolchain. - GUI uses Citro2D.
27 lines
418 B
C
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];
|
|
}
|