[PATCH 1/2] hostap: set ht_capab from wiphy when in P2P GO mode

Johannes Berg johannes at sipsolutions.net
Mon Aug 8 16:14:34 EDT 2011


On Mon, 2011-08-08 at 22:20 +0300, Arik Nemtsov wrote:
> On Mon, Aug 8, 2011 at 10:15, Johannes Berg <johannes at sipsolutions.net> wrote:
> > On Sun, 2011-08-07 at 22:09 +0300, Arik Nemtsov wrote:
> >
> >> The features enabled are of course card/driver specific. I'm afraid
> >> there's no "catch-all" set I can think of.
> >>
> >> For instance, the features required for wl12xx cards are:
> >> HT_CAP_INFO_GREEN_FIELD, HT_CAP_INFO_SHORT_GI20MHZ, HT_CAP_INFO_RX_STBC_1
> >
> > Why no catch-all? I mean, it's pretty obvious which ones are symmetric
> > in this sense. We also have similar code in mac80211 when masking the
> > capabilities of the peer.
> >
> 
> I'm not sure I'm following. This patch is about the HT capabilities of
> the GO, not the ones of its peers.
> I assume you're referring to ieee80211_ht_cap_ie_to_sta_ht_cap(), but
> do we really want to do the same thing as GO? support only the subset
> of HT-capabilities supported by all connected peers?

Of course not, but it's similar in spirit, no?

johannes



More information about the HostAP mailing list