Checklist
How often does this bug occurs?
always
Expected behavior
Shouldn't use 5GHz band on ESP32-C6 since the chip/board does not support it.
Actual behavior (suspected bug)
If run with ESP32-C6, it will try to enable 5GHz wifi band on both receiver and sender.
Error logs or terminal output
Steps to reproduce the behavior
Try the steps in https://github.com/espressif/esp-csi/blob/master/examples/get-started/README.md when using ESP32-C6 as sender or receiver.
Project release version
fef1328
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Ubuntu 20.04
Shell
ZSH
Additional context
The fix is simple, just comment out or leave C6 from #ifdef where it sets 5 GHz Wifi band along with 2.4 GHz.
The documentation also wrongly mentions S6 instead of C6 btw.