# ECSA - Extended Channel Switch Announcement is not working

**URL:** <https://community.morsemicro.com/t/ecsa-extended-channel-switch-announcement-is-not-working/217>\
**Category:** Linux\
**Created:** [December 25, 2024, 8:30am UTC](https://community.morsemicro.com/t/ecsa-extended-channel-switch-announcement-is-not-working/217 "2024-12-25T08:30:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ajudge](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@ajudge](https://community.morsemicro.com/u/ajudge)\
**Post date:** [January 2, 2025, 5:47am UTC](https://community.morsemicro.com/t/ecsa-extended-channel-switch-announcement-is-not-working/217/2 "2025-01-02T05:47:52Z")

</div>

Hi @tirth21

The `ecsa_info` command is only used to communicate the ECSA parameters from hostapd to our driver. hostapd is responsible for triggering the beacon.

As such, you will want to use `hostapd_cli_s1g` on an AP configured device to trigger an ECSA.

```sh
hostapd_cli_s1g chan_switch <cs_count> <freq> [prim_bandwidth=] [sec_channel_offset=] [center_freq1=] [center_freq2=] [bandwidth=]

```

For example, if I have an AP configured on AU channel 44 (freq: 924 MHz, bw: 8 MHz), I can trigger a switch to channel 42 (freq: 923 MHz, bw: 2 MHz) by running the following command

```sh
root@ekh03-68a441:~# morsectrl -i wlan0 channel
Full Channel Information
        Operating Frequency: 924000 kHz
        Operating BW: 8 MHz
        Primary BW: 2 MHz
        Primary Channel Index: 3

root@ekh03-68a441:~# hostapd_cli_s1g chan_switch 10 922500 prim_bandwidth=1 sec_channel_offset=1 center_freq1=923000 bandwidth=2
Selected interface 'wlan0'
OK

root@ekh03-68a441:~# morsectrl -i wlan0 channel
Full Channel Information
        Operating Frequency: 923000 kHz
        Operating BW: 2 MHz
        Primary BW: 1 MHz
        Primary Channel Index: 0

```

Note that we don’t currently support switching to the same 1 MHz primary channel.

For mesh devices, you would need to use `wpa_cli_s1g`. However, the ECSA functionality for mesh devices is still under development. We’re planning to look at implementing it soon.

---

_[View the full topic](https://community.morsemicro.com/t/ecsa-extended-channel-switch-announcement-is-not-working/217)._
