Page 1 of 1

WiFi n: force HT20

Posted: Wed Apr 21, 2021 4:40 pm
by dbuijsma
We have a very low-bandwidth requirement for an IoT device and would like to know if it's possible to force the device to always negotiate at HT20 when in 'n' mode, by using the esp_wifi_set_bandwidth() API. While this works in a quick test, and the device does indeed negotiate at 20MHz, I am not familiar with the WiFi specification regarding bandwidth negotiation and I want to ensure it's guaranteed that the device will never end up using HT40 after I use this API.

Thanks!