# BW16 How to wifi ap at 5ghz frequency?

**URL:** <https://forum.amebaiot.com/t/bw16-how-to-wifi-ap-at-5ghz-frequency/1378>\
**Category:** WiFi\
**Tags:** rtl872xd, evb-bw16\
**Created:** [July 31, 2022, 1:36am UTC](https://forum.amebaiot.com/t/bw16-how-to-wifi-ap-at-5ghz-frequency/1378 "2022-07-31T01:36:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![REZIER](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/rezier/32/1089_2.png) [@REZIER](https://forum.amebaiot.com/u/REZIER)\
**Post date:** [July 31, 2022, 1:36am UTC](https://forum.amebaiot.com/t/bw16-how-to-wifi-ap-at-5ghz-frequency/1378/1 "2022-07-31T01:36:04Z")

</div>

i try to change channel of ap mode over 13 channels in serial monitor rtl says it failed : ioctl[RTKIOCSIWFREQ]

i want to know can i use 5ghz frequency at ap mode

---

<div class="post-metadata">

**Author:** ![wyy](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wyy](https://forum.amebaiot.com/u/wyy)\
**Post date:** [August 1, 2022, 7:05am UTC](https://forum.amebaiot.com/t/bw16-how-to-wifi-ap-at-5ghz-frequency/1378/2 "2022-08-01T07:05:36Z")

</div>

Hi @REZIER

can you provide information on how you are testing this, and what channel are you trying to use?

---

<div class="post-metadata">

**Author:** ![micetg](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@micetg](https://forum.amebaiot.com/u/micetg)\
**Post date:** [August 23, 2023, 4:24pm UTC](https://forum.amebaiot.com/t/bw16-how-to-wifi-ap-at-5ghz-frequency/1378/3 "2023-08-23T16:24:37Z")

</div>

Hello,

I have the same issue. The example I am using is from here. [WiFi – Set up WiFi AP Mode – Realtek IoT/Wi-Fi MCU Solutions](https://www.amebaiot.com/en/amebad-arduino-ap-mode/)  
How do I set the channel to get AP mode working at 5G?

Thanks,

---

<div class="post-metadata">

**Author:** ![dakamaster](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/dakamaster/32/1744_2.png) [@dakamaster](https://forum.amebaiot.com/u/dakamaster)\
**Post date:** [August 24, 2023, 3:40am UTC](https://forum.amebaiot.com/t/bw16-how-to-wifi-ap-at-5ghz-frequency/1378/4 "2023-08-24T03:40:21Z")

</div>

Hi @micetg ,  
Please configure Wi-Fi channel to 36 in example [WiFi – Set up WiFi AP Mode – Realtek IoT/Wi-Fi MCU Solutions](https://www.amebaiot.com/en/amebad-arduino-ap-mode/) to establish AP at 5GHz.  
Thank you.

---

<div class="post-metadata">

**Author:** ![micetg](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@micetg](https://forum.amebaiot.com/u/micetg)\
**Post date:** [August 25, 2023, 8:20pm UTC](https://forum.amebaiot.com/t/bw16-how-to-wifi-ap-at-5ghz-frequency/1378/5 "2023-08-25T20:20:28Z")

</div>

Thanks. It works.
