# Driver build fails on IEEE80211\_CHAN\_IGNORE

**URL:** <https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780>\
**Category:** Linux\
**Created:** [June 25, 2026, 8:53am UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780 "2026-06-25T08:53:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![arti.rajput](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@arti.rajput](https://community.morsemicro.com/u/arti.rajput)\
**Post date:** [June 25, 2026, 8:53am UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780/1 "2026-06-25T08:53:46Z")

</div>

Hi @ajudge ,  
I am building the latest morse\_driver and still getting the below error:

morse\_driver/dot11ah/s1g\_channels.c:724:70: error: ‘IEEE80211\_CHAN\_IGNORE’ undeclared (first use in this function); did you mean ‘IEEE80211\_CHAN\_NO\_HE’?  
724 | \_\_mors\_s1g\_map-\>s1g\_channels[ch].ch.flags |= IEEE80211\_CHAN\_IGNORE;  
| ^ ~~~~~~~~~~~~~~~~~~~~  
| IEEE80211\_CHAN\_NO\_HE

Can you please help me with this?

Thanks,

Arti

---

<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:** [June 26, 2026, 3:42am UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780/2 "2026-06-26T03:42:42Z")

</div>

Made this topic public on June 26, 2026, 3:42am UTC



---

<div class="post-metadata">

**Author:** ![BiaoWang](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BiaoWang](https://community.morsemicro.com/u/BiaoWang)\
**Post date:** [June 26, 2026, 6:32am UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780/3 "2026-06-26T06:32:15Z")

</div>

What’s the Linux kernel Version?

guess that you might need some patches.

```auto
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -106,6 +106,8 @@ struct wiphy;
  * on this channel.
  * @IEEE80211_CHAN_16MHZ: 16 MHz bandwidth is permitted
  * on this channel.
+ * @IEEE80211_CHAN_IGNORE: Mark this channel as disabled when
+ * communicating channel list via nl80211.
  *
  */
 enum ieee80211_channel_flags {
@@ -128,8 +130,11 @@ enum ieee80211_channel_flags {
        IEEE80211_CHAN_4MHZ = 1<<16,
        IEEE80211_CHAN_8MHZ = 1<<17,
        IEEE80211_CHAN_16MHZ = 1<<18,
+ IEEE80211_CHAN_IGNORE = 1<<19,
 };

+#define HAS_IEEE80211_CHAN_IGNORE
+
 #define IEEE80211_CHAN_NO_HT40 \
        (IEEE80211_CHAN_NO_HT40PLUS | IEEE80211_CHAN_NO_HT40MINUS)

diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 535e34a84d65..f2163d885d3b 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -997,6 +997,9 @@ static int nl80211_msg_put_channel(struct sk_buff *msg, struct wiphy *wiphy,
        if ((chan->flags & IEEE80211_CHAN_DISABLED) &&
            nla_put_flag(msg, NL80211_FREQUENCY_ATTR_DISABLED))
                goto nla_put_failure;
+ if ((chan->flags & IEEE80211_CHAN_IGNORE) &&
+ nla_put_flag(msg, NL80211_FREQUENCY_ATTR_DISABLED))
+ goto nla_put_failure;
        if (chan->flags & IEEE80211_CHAN_NO_IR) {
                if (nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_IR))
                        goto nla_put_failure;

```

---

<div class="post-metadata">

**Author:** ![arti.rajput](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@arti.rajput](https://community.morsemicro.com/u/arti.rajput)\
**Post date:** [June 26, 2026, 9:09am UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780/4 "2026-06-26T09:09:57Z")

</div>

Hi @BiaoWang ,  
I am using 6.6.36 kernel.

---

<div class="post-metadata">

**Author:** ![BiaoWang](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BiaoWang](https://community.morsemicro.com/u/BiaoWang)\
**Post date:** [June 26, 2026, 11:08am UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780/5 "2026-06-26T11:08:48Z")

</div>

We might need some kernel patches.

[6.6.x.zip](https://community.morsemicro.com/uploads/short-url/esthNKV7I8FyUmTmlwPoKPuiILy.zip) (17.9 KB)

---

<div class="post-metadata">

**Author:** ![james.haggerty](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@james.haggerty](https://community.morsemicro.com/u/james.haggerty)\
**Post date:** [July 1, 2026, 2:54am UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780/6 "2026-07-01T02:54:57Z")

</div>

Yes, you are missing the necessary patches.

An official source for these patches is:

> **[GitHub - MorseMicro/linux at mm/linux-6.6.31/1.17.x](https://github.com/MorseMicro/linux/tree/mm/linux-6.6.31/1.17.x)**
>
> mm/linux-6.6.31/1.17.x

See the last few commits; you should be able to apply them on your 6.6.36 kernel with minor/no alternation. If you’re not using git, you can use `git format-patch` to extract them. See:

> **[MM\_APPNOTE-24\_Linux\_Porting\_Guide.pdf](https://www.morsemicro.com/resources/appnotes/MM_APPNOTE-24_Linux_Porting_Guide.pdf)**

for details (section 3).

---

<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:** [August 27, 2026, 12:40pm UTC](https://community.morsemicro.com/t/driver-build-fails-on-ieee80211-chan-ignore/1780/7 "2026-08-27T12:40:32Z")

</div>

Split this topic on August 27, 2026, 12:40pm UTC

3 posts were split to a new topic: [Running multiple radios close together](https://community.morsemicro.com/t/running-multiple-radios-close-together/1969)
