[PATCH] hostapd: Don't force HT Mixed Mode for non-GF STAs

Johannes Berg johannes
Wed Mar 2 01:24:08 PST 2011


On Wed, 2011-03-02 at 10:20 +0100, Helmut Schaa wrote:

> > static bool rs_use_green(struct ieee80211_sta *sta)
> > {
> >         struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;   
> >         struct iwl_rxon_context *ctx = sta_priv->common.ctx;
> >   
> >         return (sta->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) &&
> >                 !(ctx->ht.non_gf_sta_present);
> > } 
> 
> Hmm, that looks a bit fishy as well. iwlagn should be allowed to use GF
> in that case, it just needs to protect it.

Right. That looks like it'd be a bit more tricky, and I don't think I
care right now.

johannes




More information about the Hostap mailing list