ESP32c6 returning WiFi primary channel for all packets as 0 in promiscuous mode (IDFGH-11022) #12205
Closed
3 tasks done
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.2-dev-2317-g3247253671
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32c6 official
Power Supply used.
USB
What is the expected behavior?
In promiscuous mode, the field
channel
inrx_ctrl
inwifi_promiscuous_pkt_t
, should indicate the correct WiFi channel in which packet is received.This should work regardless of whether
HE_SUPPORT
is on or off.This should work for all ESP SoCs.
What is the actual behavior?
In promiscuous mode, the field
channel
inrx_ctrl
inwifi_promiscuous_pkt_t
, is set as 0 for all packets received.This bug is occurring if
HE_SUPPORT
is on or off.However, this only occurs on esp32c6. The same code when flashed on esp32c3 and esp32 shows the correct recipient channel.
Steps to reproduce.
Register a callback which prints the value of channel field of
rx_ctrl
after parsing the buffer aswifi_promiscuous_pkt_t
.Debug Logs.
No response
More Information.
This bug is occurring if
HE_SUPPORT
is on or off. This only occurs on esp32c6. The same code when flashed on esp32c3 and esp32 shows the correct recipient channel.The text was updated successfully, but these errors were encountered: