From: Jouni Malinen <j@w1.fi>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Bob Copeland <me@bobcopeland.com>,
"Luis R. Rodriguez" <mcgrof@gmail.com>,
linux-wireless <linux-wireless@vger.kernel.org>,
linux-kernel@vger.kernel.org, Amod Bodas <Amod.Bodas@atheros.com>,
Senthilkumar Balasubramanian
<Senthilkumar.Balasubramanian@atheros.com>,
Sree Durbha <Sree.Durbha@atheros.com>,
Deepak Dhamdhere <Deepak.Dhamdhere@atheros.com>,
Xin Jin <Xin.Jin@atheros.com>
Subject: Re: Support for Android for mac80211 / cfg80211 802.11 drivers
Date: Wed, 2 Feb 2011 15:38:39 +0200 [thread overview]
Message-ID: <20110202133839.GA14904@jm.kir.nu> (raw)
In-Reply-To: <1296646434.5671.1.camel@jlt3.sipsolutions.net>
On Wed, Feb 02, 2011 at 12:33:54PM +0100, Johannes Berg wrote:
> What's the driver_cmd things they use? If we they add support for
> whatever it is to nl80211, why can those not be normal supplicant
> interfaces?
I have not reviewed what exactly gets used and how, so this is only
based on what the modification for wpa_supplicant are exposing.
There seems to be some kind of mechanism for stopping/starting/reloading
the driver which I do not fully understand. It includes some kind of
driver hang detection and maybe recovery from that etc..
Then there is a very generic mechanism of passing any command from user
space (i.e., command string to a SIOCSIWPRIV) and that goes
transparently through wpa_supplicant.. The response comes back as a
string. In other words, you could implement pretty much anything in a
driver specific way with that.. At least following commands are used or
have used with that: RSSI, LINKSPEED, MACADDR, GETPOWER, GETBAND.
Since it is difficult to tell just from wpa_supplicant changes what
exactly is done with these interfaces, the answer to the question of
why these could not be normal supplicant interfaces is not immediately
clear to me. I would assume that some of this functionality could
certainly be added once identified clearly what is needed. Some may
already be available (like MACADDR; assuming it is used to fetch local
MAC address).
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2011-02-02 13:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 23:29 Support for Android for mac80211 / cfg80211 802.11 drivers Luis R. Rodriguez
2011-02-02 0:45 ` Bob Copeland
2011-02-02 0:50 ` Luis R. Rodriguez
2011-02-02 2:41 ` Bob Copeland
2011-02-02 8:02 ` Johannes Berg
2011-02-02 11:30 ` Jouni Malinen
2011-02-02 11:33 ` Johannes Berg
2011-02-02 13:38 ` Jouni Malinen [this message]
2011-02-02 16:37 ` Luis R. Rodriguez
2011-06-10 19:28 ` hedwin
2011-06-10 19:37 ` Luis R. Rodriguez
2011-06-10 20:07 ` hedwin
2011-06-10 20:09 ` John W. Linville
2011-06-10 20:25 ` hedwin
2011-06-12 17:18 ` Jouni Malinen
2011-06-10 20:15 ` hedwin
2011-02-02 11:57 ` Bob Copeland
2011-02-02 12:03 ` 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=20110202133839.GA14904@jm.kir.nu \
--to=j@w1.fi \
--cc=Amod.Bodas@atheros.com \
--cc=Deepak.Dhamdhere@atheros.com \
--cc=Senthilkumar.Balasubramanian@atheros.com \
--cc=Sree.Durbha@atheros.com \
--cc=Xin.Jin@atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@gmail.com \
--cc=me@bobcopeland.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).