Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2010 14:23:47 +0100
From:      Alexander Egorenkov <egorenar@googlemail.com>
To:        Rui Paulo <rpaulo@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Setting HT capabilities in net80211
Message-ID:  <2d3b7e441003230623t2423bcw665ce6df554f63f9@mail.gmail.com>
In-Reply-To: <A8CAB524-BC71-4240-A61F-D0553936D667@freebsd.org>
References:  <2d3b7e441003042348h2150de3eub5a7af5248b5e947@mail.gmail.com> <4B92F057.9080508@errno.com> <2d3b7e441003070004r74646cdci268a5101056c50e2@mail.gmail.com> <FF382027-F72F-40BA-B14C-7F2F72DD684A@gmail.com> <2d3b7e441003102332l1cc9b9ddh1e62fce61129248@mail.gmail.com> <6A317237-60A2-440A-9DBC-511545C34B36@FreeBSD.org> <2d3b7e441003130817y1210508fycb3cb22a9a7198d1@mail.gmail.com> <A8CAB524-BC71-4240-A61F-D0553936D667@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2d3b7e441003230623t2423bcw665ce6df554f63f9>