-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
STA and AP mode works on the ESP32-S3 running esp_hosted_ng v1.0.4.0.0 firmware
Actual behavior (suspected bug)
I am able to scan for wifi connection:
pi@pi:~$ sudo iw dev wlan0 scan | grep SSID
SSID: meta_2.4G
SSID: Counter_36b1efc3
SSID: DIRECT-E6-HP DesignJet T650
SSID: 711GUEST
But not able to connect to a wifi connection or set it up in AP mode.
Additionally, the wlan0 interface behaves inconsistently; after insmod on boot, it occasionally appears, but sometimes it does
Error logs or terminal output
The ESP serial out put didnt show any error:
> I (405) stats: *********************************************************************
> I (410) stats: ESP-Hosted Firmware version :: NG-1.0.4.0.0
> I (419) stats: Transport used :: SPI only
> I (426) stats: *********************************************************************
> I (434) FW_MAIN: Supported features are:
> I (437) FW_MAIN: - WLAN over SPI
> I (440) FW_BT: - BT/BLE
> I (442) FW_BT: - HCI Over SPI
> I (445) FW_BT: - BLE only
> I (448) FW_MAIN: Capabilities: 0xe8
> pp rom version: e7ae62f
> net80211 rom version: e7ae62f
> I (457) wifi:wifi driver task: 3fcafd54, prio:23, stack:6656, core=0
> I (463) wifi:wifi firmware version: 87d6f3c
> I (466) wifi:wifi certification version: v7.0
> I (470) wifi:config NVS flash: disabled
> I (474) wifi:config nano formatting: disabled
> I (478) wifi:Init data frame dynamic rx buffer num: 64
> I (483) wifi:Init static rx mgmt buffer num: 5
> I (487) wifi:Init management short buffer num: 32
> I (491) wifi:Init dynamic tx buffer num: 64
> I (495) wifi:Init static tx FG buffer num: 2
> I (499) wifi:Init static rx buffer size: 1600
> I (503) wifi:Init static rx buffer num: 16
> I (507) wifi:Init dynamic rx buffer num: 64
> I (511) wifi_init: rx ba win: 32
> I (514) wifi_init: accept mbox: 6
> I (517) wifi_init: tcpip mbox: 32
> I (520) wifi_init: udp mbox: 6
> I (523) wifi_init: tcp mbox: 6
> I (525) wifi_init: tcp tx win: 5760
> I (529) wifi_init: tcp rx win: 5760
> I (532) wifi_init: tcp mss: 1440
> I (535) wifi_init: WiFi IRAM OP enabled
> I (538) wifi_init: WiFi RX IRAM OP enabled
> I (542) BLE_INIT: BT controller compile version [d752dea]
> I (548) BLE_INIT: Bluetooth MAC: 9c:13:9e:9f:65:5e
> I (553) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10
> I (590) FW_MAIN: ESP Bluetooth MAC addr: 9c-13-9e-9f-65-5e
>
> I (591) FW_SPI: Using SPI interface
> I (591) FW_SPI: Using SPI MODE 2
> I (591) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
> I (599) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
> I (608) FW_SPI: SPI Ctrl:1 mode: 2, GPIOs: MOSI: 11, MISO: 13, CS: 10, CLK: 12 HS: 2 DR: 4
>
> I (616) FW_SPI: Hosted SPI queue size: Tx:20 Rx:20
> I (1622) FW_MAIN: Initial set up done
> I (1622) main_task: Returned from app_main()
> I (1647) FW_MAIN: INIT Interface command
> I (1647) FW_CMD: Setting STA mode
> I (1649) wifi:mode : sta (9c:13:9e:9f:65:5c)
> I (1649) wifi:enable tsf
> I (1650) FW_CMD: Unregistered event: 43
>
> I (1652) FW_CMD: station started
> I (1674) FW_MAIN: Get MAC command
> I (1711) FW_MAIN: Get Tx power command
> I (1754) FW_MAIN: Get Tx power command
> I (1787) FW_MAIN: Get Tx power command
> I (1817) FW_MAIN: Get Tx power command
> I (1851) FW_MAIN: Set MODE command
> I (1851) wifi:flush txq
> I (1852) wifi:stop sw txq
> I (1852) wifi:lmac stop hw txq
> I (1852) FW_CMD: Station stop
> I (1852) FW_CMD: Setting APSTA mode
> I (1858) wifi:mode : sta (00:11:22:33:44:55) + softAP (9c:13:9e:9f:65:5c)
> I (1862) wifi:enable tsf
> I (1865) wifi:Total power save buffer number: 32
> I (1869) wifi:Init max length of beacon: 752/752
> I (1873) wifi:Init max length of beacon: 752/752
> I (1878) FW_CMD: station started
> I (1881) FW_CMD: Unregistered event: 43
>
> I (1884) FW_CMD: softap started
> I (1901) FW_MAIN: Get MAC command
> I (1931) FW_MAIN: Get Tx power command
> I (1954) FW_MAIN: Get Tx power command
> I (1974) FW_MAIN: disconnect request
> I (1974) FW_CMD: Disconnect request: reason [2], interface=1
>
> I (1997) FW_MAIN: Get Tx power command
> I (2027) FW_MAIN: Set IE command
> I (2027) FW_CMD: Setting IE type=4 len=30
>
> I (2027) BEACON_PROBE_HEAD: 0x3fcc79fc 11 04 00 0d 43 6f 75 6e 74 65 72 5f 37 43 33 30 |....Counter_7C30|
> I (2032) BEACON_PROBE_HEAD: 0x3fcc7a0c 36 01 08 82 84 8b 96 0c 12 18 24 03 01 03 |6.........$...|
> I (2047) FW_MAIN: Set IE command
> I (2047) FW_CMD: Setting IE type=5 len=37
>
> I (2049) BEACON_PROBE_TAIL: 0x3fcc79fc 2a 01 04 32 04 30 48 60 6c 30 14 01 00 00 0f ac |*..2.0H`l0......|
> I (2058) BEACON_PROBE_TAIL: 0x3fcc7a0c 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 7f |................|
> I (2068) BEACON_PROBE_TAIL: 0x3fcc7a1c 04 00 00 00 02 |.....|
> I (2097) FW_MAIN: Set IE command
> I (2097) FW_CMD: Setting IE type=0 len=6
>
> I (2097) BEACON: 0x3fcc79fc 7f 04 00 00 00 02 |......|
> I (2121) FW_MAIN: Set IE command
> I (2121) FW_CMD: Setting IE type=1 len=6
>
> I (2121) PROBE: 0x3fcaac54 7f 04 00 00 00 02 |......|
> I (2157) FW_MAIN: Set IE command
> I (2157) FW_CMD: Setting IE type=2 len=6
>
> I (2197) FW_MAIN: Set AP config command
> I (2197) FW_CMD: ap config ssid=Counter_7C306 ssid_len=13, pass=12345678 channel=3 authmode=7 hidden=0 bi=100 cipher=0
>
> I (2201) wifi:flush txq
> I (2202) wifi:stop sw txq
> I (2204) wifi:lmac stop hw txq
> I (2207) FW_CMD: Station stop
> I (2515) FW_CMD: tx cb unregister ret=0
>
> I (2516) FW_CMD: softap stopped
> I (2516) FW_CMD: tx cb register ret=0
>
> I (2519) wifi:mode : sta (00:11:22:33:44:55) + softAP (9c:13:9e:9f:65:5c)
> I (2524) wifi:enable tsf
> I (2527) wifi:Total power save buffer number: 32
> I (2530) wifi:Init max length of beacon: 752/752
> I (2535) wifi:Init max length of beacon: 752/752
> I (2539) FW_CMD: Unregistered event: 43
>
> I (2543) FW_CMD: station started
> I (2546) FW_CMD: Unregistered event: 43
>
> I (2549) FW_CMD: softap started
> I (2564) FW_CMD: process_mgmt_tx: broadcast address, sending response immediately
When I try to connect to a wifi connection:
> I (310693) FW_CMD: station started
> I (310717) FW_MAIN: Get MAC command
> I (310790) FW_MAIN: Set multicast mac address list
> I (310810) FW_MAIN: Set IP Address
> I (310881) FW_MAIN: Scan request
> I (310910) FW_MAIN: Set multicast mac address list
> I (310970) FW_MAIN: Set multicast mac address list
> I (311040) FW_MAIN: Set multicast mac address list
> I (312573) FW_CMD: wifi scanning done
> I (312613) FW_MAIN: Auth request
> I (312734) FW_CMD: wifi scanning done
> I (312814) FW_CMD: Connecting to meta_2.4G, channel: 1 [4]
> I (312814) FW_CMD: AUTH Commit
>
> I (312847) FW_MAIN: Set multicast mac address list
> I (312907) FW_MAIN: Set multicast mac address list
> I (312921) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (312922) wifi:state: init -> auth (0xb0)
> I (312923) FW_CMD: Unregistered event: 43
>
> I (313923) wifi:state: auth -> init (0x200)
> I (313923) wifi:new:<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (313924) FW_CMD: STA disconnected [2]
>
> I (313927) FW_CMD: Unregistered event: 43
>
> I (313931) FW_CMD: STA Disconnect event: 2
>
> I (313935) FW_CMD: cleanup_ap_bssid
> I (314090) FW_MAIN: Scan request
> I (315781) FW_CMD: wifi scanning done
> I (315817) FW_MAIN: disconnect request
> I (315817) FW_CMD: Disconnect request: reason [3], interface=0
>
> I (315841) FW_MAIN: Auth request
> I (315962) FW_CMD: wifi scanning done
> I (316042) FW_CMD: Connecting to meta_2.4G, channel: 1 [4]
> I (316042) FW_CMD: AUTH Commit
>
> I (316092) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (316094) wifi:state: init -> auth (0xb0)
> I (316095) FW_CMD: Unregistered event: 43
>
> I (317094) wifi:state: auth -> init (0x200)
> I (317095) wifi:new:<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (317096) FW_CMD: STA disconnected [2]
>
> I (317099) FW_CMD: Unregistered event: 43
>
> I (317103) FW_CMD: STA Disconnect event: 2
>
> I (317107) FW_CMD: cleanup_ap_bssid
> I (317240) FW_MAIN: Scan request
> I (318931) FW_CMD: wifi scanning done
> I (318980) FW_MAIN: disconnect request
> I (318980) FW_CMD: Disconnect request: reason [3], interface=0
>
> I (319017) FW_MAIN: Auth request
> I (319139) FW_CMD: wifi scanning done
> I (319218) FW_CMD: Connecting to meta_2.4G, channel: 6 [4]
> I (319218) FW_CMD: AUTH Commit
>
> I (320909) FW_CMD: STA disconnected [201]
>
> I (320910) FW_CMD: STA Disconnect event: 201
>
> I (320910) FW_CMD: cleanup_ap_bssid
> I (321044) FW_MAIN: Scan request
> I (322735) FW_CMD: wifi scanning done
> I (322770) FW_MAIN: disconnect request
> I (322770) FW_CMD: Disconnect request: reason [3], interface=0
>
> I (322824) FW_MAIN: Auth request
> I (322945) FW_CMD: wifi scanning done
> I (323025) FW_CMD: Connecting to meta_2.4G, channel: 1 [4]
> I (323025) FW_CMD: AUTH Commit
>
> I (323051) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (323053) wifi:state: init -> auth (0xb0)
> I (323054) FW_CMD: Unregistered event: 43
>
> I (324053) wifi:state: auth -> init (0x200)
> I (324054) wifi:new:<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (324055) FW_CMD: STA disconnected [2]
>
> I (324058) FW_CMD: Unregistered event: 43
>
> I (324062) FW_CMD: STA Disconnect event: 2
>
> I (324066) FW_CMD: cleanup_ap_bssid
> I (324193) FW_MAIN: Scan request
> I (325724) FW_MAIN: Get Tx power command
> I (325760) FW_MAIN: Get Tx power command
> I (325794) FW_MAIN: Get Tx power command
> I (325820) FW_MAIN: Get Tx power command
> I (325840) FW_MAIN: Get Tx power command
> I (325885) FW_CMD: wifi scanning done
> I (325933) FW_MAIN: REG set command
> I (325933) wifi:(2.4G)set country: cc=US schan=1 nchan=11 policy=1
>
> I (325987) FW_MAIN: Get Tx power command
> I (326067) FW_MAIN: Get Tx power command
> I (330554) FW_MAIN: Set IP Address
> I (334907) FW_MAIN: Scan request
> I (336236) FW_CMD: wifi scanning done
> I (336277) FW_MAIN: disconnect request
> I (336277) FW_CMD: Disconnect request: reason [3], interface=0
>
> I (336317) FW_MAIN: Auth request
> I (336438) FW_CMD: wifi scanning done
> I (336518) FW_CMD: Connecting to meta_2.4G, channel: 1 [4]
> I (336518) FW_CMD: AUTH Commit
>
> I (336543) FW_MAIN: Set IP Address
> I (336562) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (336564) wifi:state: init -> auth (0xb0)
> I (336564) FW_CMD: Unregistered event: 43
>
> I (337243) FW_MAIN: disconnect request
> I (337243) FW_CMD: Disconnect request: reason [3], interface=0
>
> I (337243) wifi:state: auth -> init (0x300)
> I (337245) wifi:new:<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (337253) FW_CMD: STA disconnected [202]
>
> I (337256) FW_CMD: Unregistered event: 43
>
> I (337260) FW_CMD: STA Disconnect event: 202
>
> I (337264) FW_CMD: cleanup_ap_bssid
> I (337287) FW_MAIN: Auth request
> I (337408) FW_CMD: wifi scanning done
> I (337488) FW_CMD: Connecting to meta_2.4G, channel: 1 [4]
> I (337488) FW_CMD: AUTH Commit
>
> I (337523) FW_MAIN: disconnect request
> I (337523) FW_CMD: Disconnect request: reason [3], interface=0
>
> I (337553) FW_MAIN: REG set command
> I (337553) wifi:(2.4G)set country: cc=00 schan=1 nchan=14 policy=1
>
> I (337587) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (337588) wifi:state: init -> auth (0xb0)
> I (337589) FW_CMD: Unregistered event: 43
>
> I (337593) FW_MAIN: REG set command
> I (337595) wifi:(2.4G)set country: cc=US schan=1 nchan=11 policy=1
>
> I (337623) FW_MAIN: Get Tx power command
> I (338588) wifi:state: auth -> init (0x200)
> I (338589) wifi:new:<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:3, snd_ch_cfg:0x0
> I (338590) FW_CMD: STA disconnected [2]
>
> I (338593) FW_CMD: Unregistered event: 43
>
> I (338597) FW_CMD: STA Disconnect event: 2
>
> I (338601) FW_CMD: cleanup_ap_bssid
> I (338620) FW_MAIN: REG set command
> I (338620) wifi:(2.4G)set country: cc=00 schan=1 nchan=14 policy=1
>
> I (338643) FW_MAIN: REG set command
> I (338643) wifi:(2.4G)set country: cc=US schan=1 nchan=11 policy=1Steps to reproduce the behavior
Project release version
v1.0.4.0.0
System architecture
other (details in Additional context)
Operating system
Linux
Operating system version
Ubuntu 24.04 LTS
Shell
Bash
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels