In AP mode, If AP advertises HE capabilities, set to true
bss_conf::he_supported so that the Driver knows about it.
Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
 
        sdata->vif.bss_conf.beacon_int = params->beacon_interval;
 
+       if (params->he_cap)
+               sdata->vif.bss_conf.he_support = true;
+
        mutex_lock(&local->mtx);
        err = ieee80211_vif_use_channel(sdata, ¶ms->chandef,
                                        IEEE80211_CHANCTX_SHARED);