Page 1 of 1

Wifi Aware (NAN) Channel Support

Posted: Fri Sep 05, 2025 1:01 pm
by mlynn217
Hello,

I was looking for documentation on what channels Wifi Aware/NAN supported? When testing out channels I cannot use any 5GHz channels during initializing the esp_wifi_nan_start like the follwoing code/log examples. I am running on an ESP32-C61 dev kit.

Code: Select all

#define WIFI_NAN_CONFIG() { \
    .op_channel = 56, \
    .master_pref = 2, \
    .scan_time = 3, \
    .warm_up_sec = 5, \
};
...
    wifi_nan_config_t nan_cfg = WIFI_NAN_CONFIG();
    esp_netif_create_default_wifi_nan();
    esp_wifi_nan_start(&nan_cfg);
...
E (482) wifi:NAN Op Channel=56 is invalid
E (492) nan_app: esp_wifi_nan_start(765): Setting NAN config failed
E (492) nan_app: NAN not started!

Re: Wifi Aware (NAN) Channel Support

Posted: Sat Sep 06, 2025 5:58 pm
by ahsrabrifat
Use a 2.4 GHz channel for NAN operations. Channels like 1 to 11 or similar should work reliably.

Re: Wifi Aware (NAN) Channel Support

Posted: Mon Sep 08, 2025 1:50 pm
by mlynn217
Thanks for the suggestion, I am currently getting about ~2.8Mbps on Channel 6 but I want to get some increased throughput. Are there other channels that are supported outside the 2.4GHz band?