Linux wireless drivers development
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: hostapd: passing sta info struct to drivers?
Date: Thu, 27 Sep 2007 18:16:30 -0700	[thread overview]
Message-ID: <20070928011630.GI27241@jm.kir.nu> (raw)
In-Reply-To: <1190911599.5021.4.camel@johannes.berg>

On Thu, Sep 27, 2007 at 06:46:39PM +0200, Johannes Berg wrote:

> During porting the STA management to nl80211 it turned out that it would
> be much nicer in the kernel if we would always set all the flags on a
> STA that the kernel needs to get from hostapd.

That I might be able to support at least partially by merging together
some operations, but still, I would expect there to be valid scenarios
where it would be useful to be able to just toggle a single flag.

> To implement that, it would be good to simply pass the sta_info
> structure, e.g. we currently have this code:

This is not going to happen. struct sta_info (the one in hostapd) is
internal for the core implementation and the driver wrappers should
never touch it directly, i.e., pointer to this is not passed on purpose.
If changes to the operation between the driver wrapper and kernel is
desired, it will need to be done in a different way.

-- 
Jouni Malinen                                            PGP id EFC895FA

  parent reply	other threads:[~2007-09-28  1:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 16:46 hostapd: passing sta info struct to drivers? Johannes Berg
2007-09-27 17:56 ` Johannes Berg
2007-09-28  1:16 ` Jouni Malinen [this message]
2007-09-28 10:59   ` Johannes Berg
2007-09-28 16:06     ` 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=20070928011630.GI27241@jm.kir.nu \
    --to=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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