linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Reiner Herrmann <r_herrma@informatik.uni-kl.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Zhu Yi <yi.zhu@intel.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"kernelnewbies@nl.linux.org" <kernelnewbies@nl.linux.org>,
	"m_wilhel@informatik.uni-kl.de" <m_wilhel@informatik.uni-kl.de>
Subject: Re: Sending netlink messages in mac80211 tx handler
Date: Thu, 11 Jun 2009 12:55:17 +0200	[thread overview]
Message-ID: <4A30E295.6050505@informatik.uni-kl.de> (raw)
In-Reply-To: <1244716215.4706.11.camel@johannes.local>

Johannes Berg wrote:
> On Thu, 2009-06-11 at 00:49 +0200, Reiner Herrmann wrote:
> 
>>>>         nla_put_u32(skb, NL80211_ATTR_DISCOSEC_HELO, 42);
>>>>         genlmsg_end(skb, hdr);
>>>>         genlmsg_unicast(skb, get_daemon_pid());
> 
>> Thank you for your hint! I searched for hours and couldn't
>> find the problem. It's working great now.
> 
> Can I ask what you're trying to achieve? Having local modifications in
> nl80211 is a very bad thing.
> 
> johannes

I want to talk to userspace to do some complex calculations. As this
concerns mac80211 I thought the best way to do that is via nl80211,
whose task it is to provide easy communication between mac80211 and
userspace (like with hostapd and iw).


  Reiner

      reply	other threads:[~2009-06-11 11:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 23:02 Sending netlink messages in mac80211 tx handler Reiner Herrmann
2009-06-10  1:13 ` Zhu Yi
2009-06-10 22:49   ` Reiner Herrmann
2009-06-11 10:30     ` Johannes Berg
2009-06-11 10:55       ` Reiner Herrmann [this message]

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=4A30E295.6050505@informatik.uni-kl.de \
    --to=r_herrma@informatik.uni-kl.de \
    --cc=johannes@sipsolutions.net \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=m_wilhel@informatik.uni-kl.de \
    --cc=yi.zhu@intel.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).