espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.77k stars 7.31k forks source link

wifi:AP has neither DSSS parameter nor HT Information, drop it (IDFGH-7742) #9283

Closed KonssnoK closed 1 year ago

KonssnoK commented 2 years ago

Using ESP32S3 DEVKitC

esp-idf v4.4 6c5fb29c2c513936ecefa7cdf49fb324e316546e

ESP connect to hotspot as a client.

Randomly, the logs start printing

E (936951) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (937984) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (938476) wifi:AP has neither DSSS parameter nor HT Information, drop it

forever until the ESP32 is reset.

Switching on/off the access point does not change the situation, also the device appears operational. I think it's related somehow to AP discovery?

I have no idea on how to replicate, but looking on the internet i found no answer to what this log means and i think it's part of the IP of Espressif (didn't find it in the repo)

Any help? Thanks

jareklupinski commented 2 years ago

the same error just started popping up in my logs while working on something for >2 months without seeing this issue

Starting Main Loop
E (10033073) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10035225) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10039626) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10050475) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10052733) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10057027) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10059185) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10063586) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10067992) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10074441) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10078839) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10080995) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10083145) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10089696) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10091848) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10091945) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10096255) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (10098398) wifi:AP has neither DSSS parameter nor HT Information, drop it

it goes on for much longer... my Core Debug Level is also set to None, so not sure why it is popping up?

My app is not running a scanner or anything, it is meant to connect to a single predefined AP and stay there.

clerodri commented 2 years ago

I have the same problem, My ESP32 cant connect to my wifinetwork, I dont know why. image

MaxwellAlan commented 2 years ago

Hi @jareklupinski @KonssnoK

This log means that ESP STA receive a beacon frame which lack of HT info realted fields. Could you capture some wireless pkt when this issue happend? Or could you show me the AP configs?

Hi @clerodri

Can you share the connection logs and the AP configs?

Thanks.

KonssnoK commented 2 years ago

do you have any preerred tool for capturing beacons ? @MaxwellAlan This happens independently of being connected or not to anything.

MaxwellAlan commented 2 years ago

Hi @KonssnoK If you have MAC book, maybe you can try using MAC's wireless card to enable Monitor mode to capture wireless pkts. If not, you can try using Ubuntu or Kali OS with support Monitor mode wireless card to capture pkts. Ref to: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wireshark-user-guide.html

Thanks.

KonssnoK commented 2 years ago

@MaxwellAlan this doesn't seem related to beacons... My device was logging as follows, i started the capture (attached) and as soon as the device was reset the logs went away (no other device was reset in the office). Maybe the device is beaconing to itself?

I will redo another capture without resetting my device as soon as it happens again

beacons_capture.zip

E (1888139) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1888646) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1888744) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1889056) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1889465) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1889875) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1890219) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1890907) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1891513) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1891824) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1891927) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1892234) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1892333) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1892453) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1892742) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1892955) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1893053) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1893577) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1893888) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1894184) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1895986) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1896428) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1896643) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1896739) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1897034) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1897657) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1898483) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1898608) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1898886) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1898984) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1899082) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1900181) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1900525) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1900704) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1901753) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1901852) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1902572) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1902768) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1904112) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1904308) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1904407) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1904522) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1904718) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1905128) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1905226) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1905423) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1905750) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1905849) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1906045) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1906160) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1906570) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1906670) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1906882) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1906996) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1907290) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1908093) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1908404) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1908634) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1909338) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1909617) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1909846) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1909945) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1910472) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1910667) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1910765) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1914452) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1915172) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1915583) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1915680) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1916498) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1916602) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1916703) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1916957) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1917007) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1917317) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1917514) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1917727) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1918038) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1918235) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1918546) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1919054) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1919169) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1919267) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1919464) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1919578) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1919777) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1920086) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1920692) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1920906) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1921103) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1921151) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1921315) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1922038) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1922856) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1923150) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1923248) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1923265) wifi:AP has neither DSSS parameter nor HT Information, drop it
I (11:47:36.843) processor: send status... (60000ms)
I (11:47:36.848) mqtt_app: sent publish returned msg_id=0
E (1923773) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1924281) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1924690) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1924822) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1924906) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1925100) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1925321) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1925347) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1925919) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1926017) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1926640) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1926739) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1927246) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1927344) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1927443) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1927459) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1927770) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1927871) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1927967) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1928065) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1928574) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1928983) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1929098) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1929295) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1930621) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1931849) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1932063) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1932259) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1932472) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1932669) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1932884) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1933291) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1933389) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1933603) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1934210) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1934258) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1934832) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1934933) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1935455) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1935552) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1935749) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1935831) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1935963) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1936060) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1936257) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1936372) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1936792) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1937404) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1938212) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1938305) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1938420) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1938454) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1938518) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1938616) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1938928) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1939438) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1939845) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1939948) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1940353) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1941076) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1941385) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1941899) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1942302) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1942402) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1942614) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1942810) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1943171) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1943531) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1943629) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1943744) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1943843) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1944352) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1944450) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1944858) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1944973) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1945084) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1945268) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1945483) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1945579) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1945687) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1945792) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (1946300) wifi:AP has neither DSSS parameter nor HT Information, drop it
MaxwellAlan commented 2 years ago

@KonssnoK Could you share more details about this Router(tpye, version, config etc.), we need to purchase same AP to reproduce this issue.

KonssnoK commented 2 years ago

@MaxwellAlan

The device that is triggering all the logs is connected to a Netgear WAC510. The router is configured with Hidden SSID and WPA2 password.

the device uses MESH networking (even thou it is alone in the mesh -> always root)

The fact that resetting the device (and not the router) solves the issue makes me think about an internal esp bug (device beaconing itself for example)

KonssnoK commented 2 years ago

@MaxwellAlan another capture, which shows that the issue is probably in the esp itself.

I (15:02:00.477) mqtt_app: sent publish returned msg_id=45182
I (15:02:00.513) mqtt_app: MQTT_EVENT_PUBLISHED, msg_id=45182
I (15:02:08.469) mqtt_app: sent publish returned msg_id=38839
I (15:02:08.518) mqtt_app: MQTT_EVENT_PUBLISHED, msg_id=38839

E (11444616) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (11449104) wifi:AP has neither DSSS parameter nor HT Information, drop it

I (15:02:40.465) processor: send status... (60000ms)
I (15:02:40.469) mqtt_app: sent publish returned msg_id=0
I (15:03:00.477) mqtt_app: sent publish returned msg_id=3057
I (15:03:00.502) mqtt_app: MQTT_EVENT_PUBLISHED, msg_id=3057
I (15:03:40.465) processor: send status... (60000ms)
I (15:03:40.469) mqtt_app: sent publish returned msg_id=0
I (15:04:00.477) mqtt_app: sent publish returned msg_id=50856
I (15:04:00.500) mqtt_app: MQTT_EVENT_PUBLISHED, msg_id=50856
I (15:04:40.465) processor: send status... (60000ms)
I (15:04:40.468) mqtt_app: sent publish returned msg_id=0

E (11599739) wifi:AP has neither DSSS parameter nor HT Information, drop it

I (15:05:00.477) mqtt_app: sent publish returned msg_id=42900
I (15:05:00.505) mqtt_app: MQTT_EVENT_PUBLISHED, msg_id=42900

capture_2_subtype_08.zip

In the attached pcap you can see that the only beacons received are from the same device that i'm monitoring via UART

The attached pcap has also the UTC time to be asssociated with the logs

MaxwellAlan commented 2 years ago

Hi @KonssnoK

the device uses MESH networking (even thou it is alone in the mesh -> always root)

You mean ESP32S3 also enable ESP-MESH but not any other mesh device connect to this root, right?

Anyway, thanks for the debug, it's very helpful for us to look into this issue.

KonssnoK commented 2 years ago

Hi @KonssnoK

the device uses MESH networking (even thou it is alone in the mesh -> always root)

You mean ESP32S3 also enable ESP-MESH but not any other mesh device connect to this root, right?

Anyway, thanks for the debug, it's very helpful for us to look into this issue.

Exactly, our system uses ESP-MESH but our development devices are provisioned only with the AP.

There are other esp devices in the room on different mesh id/password, so they shouldn't matter (apart from the beacons)

KonssnoK commented 2 years ago

@MaxwellAlan could you drop the awaitingreponse state or do you need anything else?

MaxwellAlan commented 2 years ago

@KonssnoK

Yes, we are looking into this issue.

chewhs00 commented 2 years ago

ESP-IDF 4.3.1 I have 5 custom boards using ESP32 Wrover-b modules connecting to the same router about 5 feet away for days. One of them suddenly dropped the wifi connection with reason code 2 (AUTH_EXPIRE). Using our app to provision the wifi connection again still gave the same reason. Tried another nearby network from scan yielded the same result.

E (793140926) wifi:AP has neither DSSS parameter nor HT Information, drop it E (793141040) wifi:AP has neither DSSS parameter nor HT Information, drop it E (793141075) wifi:AP has neither DSSS parameter nor HT Information, drop it

nmmsv commented 2 years ago

I'm getting started with ESP32 and ran into this error message as well. I have an Xfinity router, but I went into the settings and disabled 5GHz wifi. Any tips on how to troubleshoot it?

E (85587) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (85680) wifi:AP has neither DSSS parameter nor HT Information, drop it
[ 90583][E][WiFiMulti.cpp:187] run(): [WIFI] Connecting Failed (6).
E (93248) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (93314) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (93448) wifi:AP has neither DSSS parameter nor HT Information, drop it
KonssnoK commented 2 years ago

can you drop the Awaiting response state? @AxelLin @MaxwellAlan

KonssnoK commented 2 years ago

@shenjun7 can you drop the waiting response state?

KonssnoK commented 2 years ago

Sometimes it's super spammy.. https://pastebin.com/tb4YgEcx

KonssnoK commented 2 years ago

I'm putting here my latest setup where i've seen the issue:

xueyunfei998 commented 2 years ago

hi @KonssnoK

Please replace the esp32s3 under the folder in this path “”components/esp_wifi/lib“”with esp32s3 lib, and then reproduce the problem and provide the following capture package. Thank you.

xueyunfei998 commented 2 years ago

esp32s3.zip

KonssnoK commented 2 years ago

will do!

KonssnoK commented 2 years ago

@xueyunfei998 should i use master branch? I tried on v4.4

cmd.exe /C "cd . && C:\src\espressif\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-g++.exe -mlongcalls  @CMakeFiles\ip_internal_network.elf.rsp -o ip_internal_network.elf  && cd ."
c:/src/espressif/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/wpa_supplicant/libwpa_supplicant.a(esp_wpa3.c.obj):(.literal.wpa3_build_sae_commit+0x8): undefined reference to `esp_wifi_sta_get_use_h2e_internal'
c:/src/espressif/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/wpa_supplicant/libwpa_supplicant.a(esp_wpa3.c.obj): in function `wpa3_build_sae_commit':
C:/src/esp-idf/components/wpa_supplicant/esp_supplicant/src/esp_wpa3.c:27: undefined reference to `esp_wifi_sta_get_use_h2e_internal'
c:/src/espressif/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/wpa_supplicant/libwpa_supplicant.a(wpa_common.c.obj):(.literal.wpa_parse_wpa_ie_rsnxe+0x0): undefined reference to `esp_wifi_sta_get_config_sae_pwe_h2e_internal'
c:/src/espressif/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/wpa_supplicant/libwpa_supplicant.a(wpa_common.c.obj): in function `wpa_parse_wpa_ie_rsnxe':
C:/src/esp-idf/components/wpa_supplicant/src/common/wpa_common.c:156: undefined reference to `esp_wifi_sta_get_config_sae_pwe_h2e_internal'
c:/src/espressif/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/wpa_supplicant/libwpa_supplicant.a(wpa.c.obj):(.literal.wpa_supplicant_process_3_of_4+0x0): undefined reference to `esp_wifi_sta_disable_wpa2_authmode_internal'
c:/src/espressif/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/wpa_supplicant/libwpa_supplicant.a(wpa.c.obj): in function `wpa_supplicant_process_3_of_4':
C:/src/esp-idf/components/wpa_supplicant/src/rsn_supp/wpa.c:1258: undefined reference to `esp_wifi_sta_disable_wpa2_authmode_internal'
c:/src/espressif/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/wpa_supplicant/libwpa_supplicant.a(wpa.c.obj): in function `wpa_sm_set_ap_rsnxe':
C:/src/esp-idf/components/wpa_supplicant/src/rsn_supp/wpa.c:2592: undefined reference to `esp_wifi_sta_get_config_sae_pwe_h2e_internal'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
xueyunfei998 commented 2 years ago

hi @KonssnoK I provided wifi lib based on this commit(esp-idf v4.4 https://github.com/espressif/esp-idf/commit/6c5fb29c2c513936ecefa7cdf49fb324e316546e)

KonssnoK commented 2 years ago

thanks for the explanation, i'll retry

KonssnoK commented 2 years ago

Probably unrelated, one device stopped printing the beaconing after the following error:

Setup:

ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817
ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817
n: Received Routing table [2] 7c:df:a1:e1:6a:d8
W (2248399) wifi:I (2248399) mesh: [scan]new scanning time:600ms, beacon interval:300ms
inactive timer: now=8602c5ef last_rx_time=6bdec566 diff=6b127, aid[1]7c:df:a1:e1:ca:90 leaveI (2241889) mesh_mqtt: Other event id:7

I (2248419) wifi:station: 7c:df:a1:e1:ca:90 leave, AID = 1, bss_flags is 658531, bss:0x3fcb3204
E (2248419) esp-tls: [sock=54] connect() error: Host is unreachable
I (2248439) wifi:new:<11,2>, old:<11,2>, ap:<11,2>, sta:<11,0>, prof:11
E (2248439) TRANSPORT_BASE: Failed to open a new connection: 32772
I (2242109) mesh_main: Sending routing table to [1] 7c:df:a1:e1:ca:90: sent with err code: 16391
E (2248449) MQTT_CLIENT: Error transport connect
W (2248449) wifi:I (2248469) mesh_mqtt: MQTT_EVENT_ERROR
inactive timer: now=86039686 last_rx_time=6bfd2c22 diff=6a994, aid[2]7c:df:a1:e1:6a:d8 leaveI (2248469) mesh_mqtt: MQTT_EVENT_DISCONNECTED

I (2248489) wifi:I (2248469) mesh_main: Sending routing table to [2] 7c:df:a1:e1:6a:d8: sent with err code: 16391
station: 7c:df:a1:e1:6a:d8 leave, AID = 2, bss_flags is 658531, bss:0x3fcb35c8
I (2248499) wifi:new:<11,0>, old:<11,2>, ap:<11,2>, sta:<11,0>, prof:11
I (2248509) wifi:scan in process, ignore set current channel
W (2248519) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248519) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248529) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248529) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248539) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248549) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248549) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248559) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248559) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248569) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248569) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248579) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248579) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248589) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248599) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248599) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248609) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248609) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248619) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248619) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248629) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248629) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248639) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248639) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248649) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248649) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248659) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248659) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248669) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248669) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248679) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248689) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248689) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248699) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248699) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248709) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248709) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248719) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248719) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248729) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248729) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248739) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248739) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248749) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248749) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248759) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248759) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248769) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248779) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248779) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248789) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248789) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248799) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248799) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248809) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248809) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248819) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248819) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248829) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248829) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248839) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248839) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248849) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248849) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248859) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248869) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248869) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248879) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248879) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248889) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248889) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248899) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248899) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248909) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248909) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248919) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248919) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248929) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248929) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248939) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248939) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248949) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248959) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248959) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248969) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248969) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248979) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248979) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248989) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248989) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248999) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2248999) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249009) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249009) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249019) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249019) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249029) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249029) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249039) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249049) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249049) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249059) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249059) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249069) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249069) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249079) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249079) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249089) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249089) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249099) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249099) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249109) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249109) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249119) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249119) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249129) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249139) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249139) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249149) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249149) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249159) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249159) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249169) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249169) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249179) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249179) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249189) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249189) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249199) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249199) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249209) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249209) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249219) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249229) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249229) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249239) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249239) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249249) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249249) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249259) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249259) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249269) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249269) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249279) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249279) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249289) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249289) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249299) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249299) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249309) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249319) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249319) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249329) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249329) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249339) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249339) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249349) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249349) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249359) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249359) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249369) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249369) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249379) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249379) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249389) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249389) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249399) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249409) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249409) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249419) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249419) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249429) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249429) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249439) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249439) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249449) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249449) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249459) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249459) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249469) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249469) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249479) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249479) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249489) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249499) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249499) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249509) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249509) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249519) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249519) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249529) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249529) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249539) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249539) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2249549) wifi:inactive timer, bss(0x3fcb35c8) is removed
W (2249549) wifi:inactive timer, bss(0x3fcb3204) is removed
W (2248419) wifi:pp q full: 7-3fcb4128

E (2249559) wifi:fail to post timer, type=12
I (2249569) mesh: [scan]new scanning time:1500ms, beacon interval:1000ms
I (2249579) mesh_main: <MESH_EVENT_CHILD_DISCONNECTED>aid:1, 7c:df:a1:e1:ca:90
I (2249579) mesh: <nvs>write assoc:0
W (2249579) mesh_main: <MESH_EVENT_ROUTING_TABLE_REMOVE>remove 1, new:2
I (2249579) mesh: [scan]new scanning time:300ms, beacon interval:100ms
I (2249609) mesh_main: <MESH_EVENT_CHILD_DISCONNECTED>aid:2, 7c:df:a1:e1:6a:d8
W (2249609) mesh_main: <MESH_EVENT_ROUTING_TABLE_REMOVE>remove 1, new:1
I (2250499) mesh_main: Tried to publish layer:1 IP:192.168.43.144
I (2250499) mesh_mqtt: sent publish returned msg_id=60042
I (2250499) mesh_main: Sending routing table to [0] 7c:df:a1:e0:74:40: sent with err code: 0
I (2250499) mesh_main: Received Routing table [0] 7c:df:a1:e0:74:40
I (2252189) mesh: [wifi]disconnected reason:201(), continuous:5/max:12, root, vote(,stopped)<><>
I (2252189) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:201
I (2252509) mesh_main: Tried to publish layer:1 IP:192.168.43.144
I (2252509) mesh_mqtt: sent publish returned msg_id=41645
KonssnoK commented 2 years ago

I think i got the log

ieee80211_parse_beacon,817
ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817
ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817
ieee80211_parse_beacon,580
ieE (7160123) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7160123) task_wdt:  - IDLE (CPU 0)
E (7160123) task_wdt: Tasks currently running:
E (7160123) task_wdt: CPU 0: wifi
E (7160123) task_wdt: CPU 1: mqtt task
E (7160123) task_wdt: Print CPU 0 (current core) backtrace

Backtrace:0x42013546:0x3FC955F00x40376BB6:0x3FC95610 0x4004883E:0x3FCE5880  |<-CORRUPTED
0x42013546: protocomm_add_endpoint_internal at C:/src/esp-idf/components/protocomm/src/common/protocomm.c:86

0x40376bb6: cpu_ll_get_core_id at C:/src/esp-idf/components/hal/esp32s3/include/hal/cpu_ll.h:34
 (inlined by) esp_intr_enable at C:/src/esp-idf/components/esp_hw_support/intr_alloc.c:734

E (7160123) task_wdt: Print CPU 1 backtrace
e
80B11kprrce:0e403787BD:
ieFC952F0_p403e6BBac0n,6C95
1e 0842015paA:0_bFCABnF0 9
2e0e82210x3pCrBe20e0xo20847D
CAeBe0 0x420aEseD:0acFC,6580 0xe28921B_p0r3e_AeBc0 06420
De3e8023FCpBrCe 0e420nE8A5:
Bi2e 0x420_51Dse0beacAnC48
i2ee504D10p3FCe_Fe0 0x46020
i9:080F1A_F80 exb0a8oF,650x
0i ex4031EEAar0e3FCac0n0 1

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817
senieee80211_parse_beacon,580
KonssnoK commented 2 years ago

7440.log dev1.log dev2.log

these are the logs collected by the 3 devices while in parallel another device (connected to the same router) is printing


E (7205053) wifi:AP has neither DSSS parameter nor HT Information, drop it
I (12:00:14.887) processor: send status... (60000ms)
I (12:00:14.891) mqtt_app: sent publish returned msg_id=0
E (7209248) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7210918) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7216062) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7218162) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7218684) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7218701) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7219847) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7221308) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7221830) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7221831) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7222994) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7223943) wifi:AP has neither DSSS parameter nor HT Information, drop it
I (12:00:33.887) processor: send offline message...
I (12:00:33.891) mqtt_app: sent publish returned msg_id=10415
E (7224452) wifi:AP has neither DSSS parameter nor HT Information, drop it
I (12:00:34.102) mqtt_app: MQTT_EVENT_PUBLISHED, msg_id=10415
E (7224557) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7227597) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7228236) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7230219) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7230743) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7231791) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7236071) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7243325) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7243326) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7243849) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7243850) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7244899) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7248683) wifi:AP has neither DSSS parameter nor HT Information, drop it
I (12:01:00.887) history: buffer info:
  ID: 0
  timestamp: 10.27.2022 12:01:00
  mask: oooooooooo oooooooooo oooooooooo oooooooooo oooooooooo oooooooooo 
  samples: 60
I (12:01:00.899) mqtt_app: sent publish returned msg_id=33627
I (12:01:00.985) mqtt_app: MQTT_EVENT_PUBLISHED, msg_id=33627
E (7253876) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7255482) wifi:AP has neither DSSS parameter nor HT Information, drop it
I (12:01:14.887) processor: send status... (60000ms)
I (12:01:14.890) mqtt_app: sent publish returned msg_id=0
E (7276938) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7280025) wifi:AP has neither DSSS parameter nor HT Information, drop it
E (7287368) wifi:AP has neither DSSS parameter nor HT Information, drop it
KonssnoK commented 2 years ago

Another short run in which i had just 2 or 3 prints on the additional device attached to the same router (my hotspot)

02_dev1.log 02_dev2.log 02_7440.log

I'm not able to see the same print in the logs, probably because of the amount of spamming.

@xueyunfei998

KonssnoK commented 2 years ago

@xueyunfei998 i was able to get the message in one log!

The error occurs when we have ieee80211_parse_beacon,834

I added one \n to distinguish periodic beacons

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,834
E (1196568) wifi:AP has neither DSSS parameter nor HT Information, drop it
ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817
ieee80211_parse_beacon,834
E (1196588) wifi:AP has neither DSSS parameter nor HT Information, drop it
ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817

ieee80211_parse_beacon,580
ieee80211_parse_beacon,652
ieee80211_parse_beacon,656
ieee80211_parse_beacon,809
ieee80211_parse_beacon,817
xueyunfei998 commented 2 years ago

hi @KonssnoK Please continue to test with lib Please use one esp32s3 b

oard to connect the hot spot test, not two.

esp32s3.zip

xueyunfei998 commented 2 years ago

hi @KonssnoK You can use this example to test it, and let the board of esp32s3 connect to the router, instead of using the example of mesh.

examples/wifi/getting_started/station

KonssnoK commented 2 years ago

@xueyunfei998

please note: the issue goes away when you reset the device receiving the beacon, not the AP.


recv beacon
eb->data_len is 289
sta input dst is ffffffffffff
rst is 7cdfa1e29ed5
ieee80211_parse_beacon,585
ieee80211_parse_beacon,657
ieee80211_parse_beacon,661
ieee80211_parse_beacon,814
ieee80211_parse_beacon,822

recv beacon
eb->data_len is 181
sta input dst is ffffffffffff
rst is 6e50118838e4
ieee80211_parse_beacon,839
E (2308619) wifi:AP has neither DSSS parameter nor HT Information, drop it

recv beacon
eb->data_len is 279
sta input dst is ffffffffffff
rst is eacbbc919ebc
ieee80211_parse_beacon,585
ieee80211_parse_beacon,657
ieee80211_parse_beacon,661
ieee80211_parse_beacon,814
ieee80211_parse_beacon,822
recv beacon
eb->data_len is 238
sta input dst is ffffffffffff
rst is decbbc919ebc
ieee80211_parse_beacon,585
ieee80211_parse_beacon,657
ieee80211_parse_beacon,661
ieee80211_parse_beacon,814
ieee80211_parse_beacon,822
KonssnoK commented 2 years ago

another note: for now replicated only on internal_ip_network (attached log). simple wifi station example still running 03_7440.zip

xueyunfei998 commented 2 years ago

hi @KonssnoK Can you find out which router's mac address is 6e:50:11:88:38:e4?

KonssnoK commented 2 years ago

More logs with also consecutive beacons

04_7440.zip

apparently there is no router with such mac

KonssnoK commented 2 years ago

also no other device running the code is finding this beacon from this mac address...

KonssnoK commented 2 years ago

ok, i was able to trigger the same log on one of the devices with the wifi_station example and yes it comes from the same MAC 6e50118838e4 (attaching log)

05_dev2.log

sta input dst is ffffffffffff
rst is d6927dc32 1e
ieee80211_parse_beacon,585
ieee80211_parse_beacon,657
ieee80211_parse_beacon,661
ieee80211_parse_beacon,814
ieee80211_parse_beacon,822
recv beacon
eb->data_len is 91
sta input dst is ffffffffffff
rst is 6e50118838e4
ieee80211_parse_beacon,839
E (34857) wifi:AP has neither DSSS parameter nor HT Information, drop it
recv beacon
eb->data_len is 257
sta input dst is ffffffffffff
rst is e0cbbc919ebc
ieee80211_parse_beacon,585
ieee80211_parse_beacon,657
ieee80211_parse_beacon,661
ieee80211_parse_beacon,814
ieee80211_parse_beacon,822
recv beacon
eb->data_len is 323
sta input dst is ffffffffffff
rst is e6cbbc919ebc
ieee80211_parse_beacon,585

The strange thing is that i have

xueyunfei998 commented 2 years ago

@KonssnoK Do you still have this problem when using this wifi_station example to successfully connect to the router?

KonssnoK commented 2 years ago

@xueyunfei998 yes, you can see in the attached log from a wifi_station example running 05_dev2.zip

but i have another device with the same firmware right next to it, and it didn't have any occurrence.

Instead, the example with mesh_ip_internal has thousands of occurrences. 05_7440.zip

xueyunfei998 commented 2 years ago

@KonssnoK esp32s3.zip

Please continue to test with this lib,

This lib adds the channel where beacon is located.

Your software can't catch the address 6e:50:11:88:38:e4 because this beacon doesn't have an ssid, so your software won't show it.

Now I need your help. After using this lib to reproduce, the channel of this abnormal beacon will be displayed. After knowing the channel, use wireshark to grab the packet in its channel and catch this abnormal beacon.

xueyunfei998 commented 2 years ago

@xueyunfei998 yes, you can see in the attached log from a wifi_station example running 05_dev2.zip

but i have another device with the same firmware right next to it, and it didn't have any occurrence.

Instead, the example with mesh_ip_internal has thousands of occurrences. 05_7440.zip

in the attached log from a wifi_station example running

This log shows that the router was not successfully connected.

If the router is successfully connected, there will be such a log display. I (1029) wifi: AP's beacon interval = 102400 us, DTIM period = 3 I (2089) esp_netif_handlers: sta ip: 192.168.77.89, mask: 255.255.255.0, gw: 192.168.77.1 I (2089) wifi station: got ip:192.168.77.89 I (2089) wifi station: connected to ap SSID:myssid password:mypassword‘’

You can configure ssid and passwd in menuconfig.

KonssnoK commented 2 years ago

yeah they are configured, i guess the amount of logging is actually killing the performances... the device cannot authenticate because the task can't probably run

KonssnoK commented 2 years ago
recv beacon
eb->data_len is 206
rst is 165ec160a057
rx channel is 6
ieee80211_parse_beacon,586
ieee80211_parse_beacon,658
ieee80211_parse_beacon,662
ieee80211_parse_beacon,815
ieee80211_parse_beacon,823
recv beacon
eb->data_len is 181
rst is 7e14749cbd11
rx channel is 6
ieee80211_parse_beacon,840
E (10537) wifi:AP has neither DSSS parameter nor HT Information, drop it
recv beacon
eb->data_len is 240
rst is bca511ad86a0
rx channel is 6
ieee80211_parse_beacon,586
ieee80211_parse_beacon,658
ieee80211_parse_beacon,662
ieee80211_parse_beacon,815
ieee80211_parse_beacon,823
xueyunfei998 commented 2 years ago

@KonssnoK You can grab packets on channel 6 and provide the corresponding log.

KonssnoK commented 2 years ago

@xueyunfei998 yeah i'm trying to find a way to get a linux wireshark laptop :D Meanwhile, please notice that the mac address has changed since Friday, which is suspicious..

KonssnoK commented 2 years ago

@xueyunfei998 wireshark is running since a while now, no packet from 7e14749cbd11 was ever seen. i'm waiting to see DSSS again in the devices running station FW (currently i see it on another device), then i'll update the wireshark logging.

KonssnoK commented 2 years ago

Found one device giving the error from another non existing MAC address

recv beacon
eb->data_len is 298
rst is d240ef6f60d1
rx channel is 6
ieee80211_parse_beacon,586
ieee80211_parse_beacon,658
ieee80211_parse_beacon,662
ieee80211_parse_beacon,815
ieee80211_parse_beacon,823
recv beacon
eb->data_len is 91
rst is 4ef 47f04c86
rx channel is 6
ieee80211_parse_beacon,840
E (662744) wifi:AP has neither DSSS parameter nor HT Information, drop it
recv beacon
eb->data_len is 298
rst is d240ef6f60d1
rx channel is 6
ieee80211_parse_beacon,586
ieee80211_parse_beacon,658
ieee80211_parse_beacon,662
ieee80211_parse_beacon,815
ieee80211_parse_beacon,823

out of 120k packets there is never such mac address, the esp32s3 (only one out of 3) captured 748 instanced instead.

KonssnoK commented 2 years ago

logs.pcapng.gz

@xueyunfei998 here the pcap logs the mac is always the same in the station FW (as the message above)

xueyunfei998 commented 2 years ago

@KonssnoK Upload the log corresponding to this network capture packet.