Skip to content
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

SoftAP works if connecting via Mobile (Android/iOS) but Laptops(Windows/Linux) did not work. #502

Open
3 tasks done
mayurpatel19912009 opened this issue Sep 30, 2024 · 4 comments

Comments

@mayurpatel19912009
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

Hello Devs,

We are currently using this setup

STM32mp133
esp32c3
interface: SPI
mode: SoftAp
type: esp-hosted-ng
Linux HostAP startup tool: Hostapd
Master commit used on both side: 250e292

Description:
We have compiled the driver, we can see it via ifconfig, even station mode (connecting from esp32 to a hotspot) works fine.

Then we wanted to confirm that connecting from any device to esp softAP and we noticed it did not work. We were also seeinig errors on esp32 monitor side on logs.

Logs:

  • Linux Host side logs: STM32MP133_log.txt
  • ESP32C3 side logs: ESP32C3_log.txt
    (look for the line E (238925) FW_MAIN: Sending data failed=12309 which come only connecting via Laptop)
  • Hostapd config:
interface=wlan0
driver=nl80211
ssid=test_ssid
hw_mode=g
channel=1
macaddr_acl=0
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_passphrase=test_ssid
rsn_pairwise=CCMP
wpa_pairwise=CCMP
ctrl_interface=/tmp/hostapd

error screenshot:
screenshot

Can you tell us what is missing and what can be different via Laptop?
Thank you very much in advance.

@mantriyogesh
Copy link
Collaborator

@kapilkedawat ++

@mayurpatel19912009
Copy link
Author

@mantriyogesh,

can you tell me at least for now if its a known topic or something wrong from our side?

@mantriyogesh
Copy link
Collaborator

This seems like security config mismatch, meaning the laptop asking some security protocol, which is not supported, and resulting in disconnection and return of WIFI_REASON_UNSUPP_RSN_IE_VERSION as not connected. But I think @kapilkedawat can confirm it.

I appreciate your patience on this case. We will confirm if it is a bug or actual expected behaviour.

@kapilkedawat
Copy link
Contributor

@Shreyas0-7 please help to check. @mayurpatel19912009 please share hostapd logs as well. Please pass -ddd -K while starting hostapd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants