All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: rfkill API
Date: Tue, 01 Feb 2011 20:35:13 -0800	[thread overview]
Message-ID: <4D48DF01.1010401@candelatech.com> (raw)

Hello!

I was looking at using one rfkill socket in wpa_supplicant, instead
of one per vif.

Current wpa_supplicant code seems to treat the API as if there is only
as single rfkill object for the entire kernel.  I would assume that
instead different NICs could have different rfkill status.

Is there any way to coorelate a netdevice (or devices)
to the rfkill->idx in the

struct rfkill_event {
	u32 idx;
	u8 type;
	u8 op;
	u8 soft;
	u8 hard;
} STRUCT_PACKED;


?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

             reply	other threads:[~2011-02-02  4:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  4:35 Ben Greear [this message]
2011-02-02  4:51 ` rfkill API Ben Greear
2011-02-03 18:42   ` Dan Williams
2011-02-03 18:58     ` Ben Greear
2011-02-10 18:21       ` Dan Williams

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=4D48DF01.1010401@candelatech.com \
    --to=greearb@candelatech.com \
    --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 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.