Setting HT capabilities in net80211
Alexander Egorenkov
egorenar at googlemail.com
Tue Mar 23 13:23:54 UTC 2010
We also need to set/update/delete these capabilities for nodes, e.g. after a
beacon or
a (re)association frame is received from a node. I mean the field ni_flags
in struct ieee80211_node. And ifconfig support would be nice to have in
order to be able to enable/disable these features dynamically.
On Tue, Mar 23, 2010 at 1:03 PM, Rui Paulo <rpaulo at freebsd.org> wrote:
>
> On 13 Mar 2010, at 16:17, Alexander Egorenkov wrote:
>
> > I have finally patched net80211 on my system and added HT extended
> capabilities support.
> >
> > Here are the patches.
> >
> > I added a new variable to ieee80211com struct.
> > It seems that only the lowest 16 bit of ic_htcaps are used, an
> alternative to a new variable would be to use the highest 16 bit of
> ic_htcaps.
> >
> > Here is a code snippet from my driver which sets ic_htextcaps:
> >
> > ic->ic_htextcaps = IEEE80211_HTCAP_MCSFBACK_UNSOL |
> > IEEE80211_HTCAP_HTC |
> > IEEE80211_HTCAP_RDR;
> >
> > I also captured an association process with 802.11n AP and it seems the
> capabilities were set right.
>
> Thanks, I've committed this.
>
> --
> Rui Paulo
>
>
More information about the freebsd-net
mailing list