All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Jouni Malinen <j@w1.fi>
Cc: linux-wireless@vger.kernel.org, Luis Carlos Cobo <luisca@cozybit.com>
Subject: Re: [RFC] mac80211/cfg80211: Add BSS configuration options for AP mode
Date: Thu, 07 Aug 2008 16:18:52 +0200	[thread overview]
Message-ID: <1218118732.23048.183.camel@johannes.berg> (raw)
In-Reply-To: <20080807141508.GB5138@jm.kir.nu>

[-- Attachment #1: Type: text/plain, Size: 2251 bytes --]

On Thu, 2008-08-07 at 17:15 +0300, Jouni Malinen wrote:
> On Thu, Aug 07, 2008 at 03:48:26PM +0200, Johannes Berg wrote:
> 
> > I used to have a patch to move the short-slot stuff in mac80211 to the
> > BSS info struct so that drivers that support different slot timing for
> > each frame can use it for different virtual BSSes. It no longer applies
> > though:
> > 
> > http://johannes.sipsolutions.net/patches/kernel/all/2008-08-04-12%3a26/013-BROKEN-mac80211-bss-slot-time.patch
> 
> I'll take a look at this. I hoped I would not need to go through all
> drivers to update the API ;-), but let's see.

Yeah, that was a sticky point... But if you want per-BSS information you
really have to because right now it's per-hw.

> > I think you may need to handle the case where dev is a VLAN? Or do we
> > want to have these settings per VLAN too? And should we reject them for
> > other modes than AP where the AP controls the settings?
> 
> I was thinking about this a bit, but since ieee80211_sub_if_data had
> them shared for all types on interfaces and there might be some testing
> uses for these even outside AP mode, I did not bother adding extra
> validation here. At least the three parameters added here won't be
> per-VLAN since they are advertised in Beacon frames. Though, maybe the
> easiest option would be to limit this for IEEE80211_IF_TYPE_AP for now..

Ok, they can't be per VLAN then, true, but then I think we should limit
it to _AP just so nobody tries setting them without effect on other
devices or overrides, for _STA, what the AP said. For mesh I don't know
(adding Luis) and for IBSS I'm not sure either. I suspect you could use
it for IBSS too?

> > > + * @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by
> > > + *	%NL80211_ATTR_IFINDEX.
> > 
> > Maybe we should have a way to retrieve the settings as well, and that
> > could even work in STA mode to see what the AP asked us to do.
> 
> I did not see any normal use case for this, i.e., this would be more
> like debug information. CTS protection is already exported via debugfs
> and the other parameters could fit in there better, too.

True, there's little value in this information for regular use.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2008-08-07 14:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 13:40 [RFC] mac80211/cfg80211: Add BSS configuration options for AP mode Jouni Malinen
2008-08-07 13:48 ` Johannes Berg
2008-08-07 14:15   ` Jouni Malinen
2008-08-07 14:18     ` Johannes Berg [this message]
2008-08-07 14:27       ` Jouni Malinen
2008-08-07 14:46         ` Johannes Berg
2008-08-07 16:32           ` Jouni Malinen
2008-08-07 14:25 ` Johannes Berg
2008-08-07 14:32   ` Jouni Malinen
2008-08-07 14:45     ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1218118732.23048.183.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=j@w1.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luisca@cozybit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.