Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx> writes: > + /* currently no support for HE client where HT has 40 MHz but not HT */ > + if (iftd->he_cap.has_he && > + iftd->types_mask & (BIT(NL80211_IFTYPE_STATION) | > + BIT(NL80211_IFTYPE_P2P_CLIENT)) && > + sband->ht_cap.ht_supported && > + sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 && > + !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & he_40_mhz_cap)) > + return -EINVAL; Should there be a warning message so that this is noticed if it ever happens? I don't know. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches