linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: Bruno Randolf <br1@einfach.org>,
	johannes@sipsolutions.net, linville@tuxdriver.com,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH v5] cfg80211: Add nl80211 antenna configuration
Date: Mon, 02 Aug 2010 11:17:23 +0200	[thread overview]
Message-ID: <4C568D23.2000203@openwrt.org> (raw)
In-Reply-To: <AANLkTi=Qm53CgFNNgtF4iBvh3jbfYzd8XPH4y9ysUaoV@mail.gmail.com>

On 2010-08-02 11:10 AM, Luis R. Rodriguez wrote:
> On Mon, Aug 2, 2010 at 1:59 AM, Felix Fietkau <nbd@openwrt.org> wrote:
>> On 2010-08-02 7:37 AM, Luis R. Rodriguez wrote:
>>> I'm not, the point I was trying to make is that solving this for
>>> legacy and that for 802.11n this needs more thought and work.
>> I need this for 802.11n as well, and I believe the API is good enough
>> for that.
> 
> Sure.
> 
>>>> as long as the API is flexible
>>>> enough i think it can be added later as 802.11n devices are going to accept
>>>> antenna configuration.
>>>
>>> If you want really flexible stuff without addressing serious
>>> considerations before introducing a new kernel API then use debugfs.
>> I'd like to see this in nl80211. Is there any specific concern left that
>> I haven't addressed already? If so, please point me at it...
> 
> The code that deals with not accepting changes unless we're not
> associated, and that also caches the old real hw config vs the
> modified one.
This is not really an API issue, this is more of an implementation
aspect. I think it's up to the driver to reject changes that it cannot
handle at the moment.
For legacy, changing settings is fine in any state (even with assoc).
For 802.11n, changes that affect the chainmask should be rejected while
the interface is up. That way we don't run into weird cached config vs
hw config issues, and also keep a sane state for the HT capabilities.

- Felix

  reply	other threads:[~2010-08-02  9:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29  3:58 [PATCH v5] cfg80211: Add nl80211 antenna configuration Bruno Randolf
2010-07-29  6:12 ` Luis R. Rodriguez
2010-07-29  7:48   ` Johannes Berg
2010-07-29  9:12   ` Bruno Randolf
2010-07-29 15:04     ` Luis R. Rodriguez
2010-08-02  4:13       ` Bruno Randolf
2010-08-02  5:37         ` Luis R. Rodriguez
2010-08-02  8:59           ` Felix Fietkau
2010-08-02  9:10             ` Luis R. Rodriguez
2010-08-02  9:17               ` Felix Fietkau [this message]
2010-08-02  9:23                 ` Luis R. Rodriguez
2010-08-02  9:32                   ` Felix Fietkau
2010-08-02  9:52                     ` Luis R. Rodriguez
2010-08-02 10:10                       ` Felix Fietkau
2010-08-02 10:18                         ` Luis R. Rodriguez
2010-08-02 10:47                           ` Felix Fietkau
2010-08-02 10:51                             ` Luis R. Rodriguez
2010-08-02 11:18                               ` Felix Fietkau
2010-08-02 17:45                                 ` Luis R. Rodriguez
2010-08-02 11:01                             ` Johannes Berg
2010-08-02 11:19                               ` Felix Fietkau

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=4C568D23.2000203@openwrt.org \
    --to=nbd@openwrt.org \
    --cc=br1@einfach.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mcgrof@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).