Search Linux Wireless

Re: [PATCH v5] cfg80211: Add nl80211 antenna configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu July 29 2010 15:12:29 you wrote:
> On Wed, Jul 28, 2010 at 8:58 PM, Bruno Randolf <br1@xxxxxxxxxxx> wrote:
> > diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
> > index 2c87016..8a88921 100644
> > --- a/include/linux/nl80211.h
> > +++ b/include/linux/nl80211.h
> > @@ -731,6 +731,28 @@ enum nl80211_commands {
> >  *      This is used in association with
> > @NL80211_ATTR_WIPHY_TX_POWER_SETTING *      for non-automatic settings.
> >  *
> > + * @NL80211_ATTR_WIPHY_ANTENNA_TX: Bitmap of allowed antennas for
> > transmitting. + *     This can be used to mask out antennas which are
> > not attached or should + *     not be used for transmitting. If an
> > antenna is not selected in this + *     bitmap the hardware is not
> > allowed to transmit on this antenna. + *
> > + *     Each bit represents one antenna, starting with antenna 1 at the
> > first + *     bit. Depending on which antennas are selected in the
> > bitmap, 802.11n + *     drivers can derive which chainmasks to use (if
> > all antennas belonging to + *     a particular chain are disabled this
> > chain should be disabled) and if + *     a chain has diversity antennas
> > wether diversity should be used or not. + *     HT capabilities (STBC,
> > TX Beamforming, Antenna selection) can be + *     derived from the
> > available chains after applying the antenna mask.
> 
> I don't want to do any work myself on drivers for this, can we have
> cfg80211/mac80211 do this for us?

is this not a separate issue from defining the API? you could have it do this 
for you even now, with or without the antenna API, no?

i think this should be dealt with seperately. for now let's just define an API 
for an antenna mask.

bruno
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux