Skip to content

WPA3 not shown correctly with verbose output #6792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
Rotzbua opened this issue May 23, 2022 · 1 comment · Fixed by #6812
Closed
1 task done

WPA3 not shown correctly with verbose output #6792

Rotzbua opened this issue May 23, 2022 · 1 comment · Fixed by #6812
Assignees
Labels
Status: To be implemented Selected for Development
Milestone

Comments

@Rotzbua
Copy link
Contributor

Rotzbua commented May 23, 2022

Board

nodemcu

Device Description

normal board

Hardware Configuration

normal config

Version

v2.0.3

IDE Name

Arduino IDE

Operating System

win

Flash frequency

40

PSRAM enabled

no

Upload speed

11520

Description

The verbose message does not show the encryption correctly, if new (WPA2-)WPA3 methods are used. Just UNKNOWN is shown.

The strings are missing:

static const char * auth_mode_str(int authmode)
{
switch (authmode) {
case WIFI_AUTH_OPEN:
return ("OPEN");
break;
case WIFI_AUTH_WEP:
return ("WEP");
break;
case WIFI_AUTH_WPA_PSK:
return ("PSK");
break;
case WIFI_AUTH_WPA2_PSK:
return ("WPA2_PSK");
break;
case WIFI_AUTH_WPA_WPA2_PSK:
return ("WPA_WPA2_PSK");
break;
case WIFI_AUTH_WPA2_ENTERPRISE:
return ("WPA2_ENTERPRISE");
break;
default:
break;
}
return ("UNKNOWN");
}

Sketch

// regular
WiFi.begin("wifi", "password");

Debug Message

[V][WiFiGeneric.cpp:295] _arduino_event_cb(): STA Connected: SSID: wifi, BSSID: xxxx, Channel: 1, Auth: UNKNOWN

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@Rotzbua Rotzbua added the Status: Awaiting triage Issue is waiting for triage label May 23, 2022
@SuGlider SuGlider self-assigned this May 25, 2022
@SuGlider SuGlider added Status: To be implemented Selected for Development and removed Status: Awaiting triage Issue is waiting for triage labels May 25, 2022
@SuGlider
Copy link
Collaborator

@Rotzbua - Thanks for reporting this issue.
I'll add a PR to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: To be implemented Selected for Development
Projects
Development

Successfully merging a pull request may close this issue.

2 participants