On Tue, 2014-11-18 at 04:53 +0000, Paul wrote:
> Hello,
> 
> I'm trying to write an linux process that will receive Probe Request 
> messages from nl80211 using NL80211_CMD_REGISTER_FRAME.   This process 
> will run at the same time hostapd is doing its job.  Is it possible for 
> multiple linux processes to receive the same set of Probe Request messages 
> this way?   I'm getting an error code -149 after issuing my 
> NL80211_CMD_REGISTER_FRAME command. The command is exactly the same 
> command that hostapd is issuing.  It looks like -149 implies EALREADY, 
> which leads me to believe that only one process can register for these 
> frames?  Any suggestions or examples of successfully using 
> NL80211_CMD_REGISTER_FRAME in a separate user space program?

This is (intentionally) not possible since only one of them should be
responding.

Depending on your use cases, you could open an additional monitor
interface and look at all the frames there, or hook out of hostapd for
example.

Of course you can always hack out the check and change the delivery code
to deliver to multiple userspace processes, but I don't think that's
really a good change for upstream.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to