Example error (there's a few)
morse_driver/mac.c:3373:55: error: ‘IEEE80211_CHAN_IGNORE’ undeclared (first use in this function); did you mean ‘IEEE80211_CHAN_NO_HE’? 3373 | ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0)); | ^~~~~~~~~~~~~~~~~~~~~
removing the ifdef around the declaration which limits this declaration to X86_64 in mac.h fixes the issue