# Wifi\_set\_channel fails on some 5Ghz channels

**URL:** <https://forum.amebaiot.com/t/wifi-set-channel-fails-on-some-5ghz-channels/3733>\
**Category:** WiFi\
**Tags:** rtl872xd\
**Created:** [January 18, 2025, 6:01am UTC](https://forum.amebaiot.com/t/wifi-set-channel-fails-on-some-5ghz-channels/3733 "2025-01-18T06:01:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ks75vl](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/ks75vl/32/2436_2.png) [@ks75vl](https://forum.amebaiot.com/u/ks75vl)\
**Post date:** [January 18, 2025, 6:01am UTC](https://forum.amebaiot.com/t/wifi-set-channel-fails-on-some-5ghz-channels/3733/1 "2025-01-18T06:01:19Z")

</div>

I’m experiencing an issue with the wifi\_set\_channel api. It fails on some channels (in my case it works successfully on channel 36 and fails on channel 104). The scan api work well and it can detect the APs on these channels. However ,when I attempt to switch to channel 104 using wifi\_set\_channel, the operation fails, I traced down to the sdk and where it fails is at iw\_ioctl function.

I will trace more deeper, which require decompile, reverse engineering and take time.

---

<div class="post-metadata">

**Author:** ![M-ichae-l](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/m-ichae-l/32/33_2.png) [@M-ichae-l](https://forum.amebaiot.com/u/M-ichae-l)\
**Post date:** [January 27, 2025, 2:35am UTC](https://forum.amebaiot.com/t/wifi-set-channel-fails-on-some-5ghz-channels/3733/2 "2025-01-27T02:35:38Z")

</div>

Hi, you may raise a request on this [github link](https://github.com/Ameba-AIoT/ameba-rtos-d/issues) for further support.
