linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help tracing NL80211_CMD_AUTHENTICATE as event in IBSS mode
@ 2012-06-26  4:01 Will Hawkins
  2012-06-26  6:53 ` Johannes Berg
  0 siblings, 1 reply; 11+ messages in thread
From: Will Hawkins @ 2012-06-26  4:01 UTC (permalink / raw)
  To: linux-wireless

Hello everyone!

I've been banging my head against a particular problem for a few days without any success. I thought I'd turn to those much smarter for some help and hopefully a breakthrough.

The documentation for nl80211 says the following about the NL80211_CMD_AUTHENTICATE command:
"When used as an event, this reports reception of an Authentication frame in station and IBSS modes when the local MLME processed the frame, i.e., it was for the local STA and was received in correct state."

I very much want this to be true for IBSS modes. However, I cannot seem to trace through the source code to confirm that this actually happens. I can easily follow the code for the case when the interface is in station mode but lose the trail for IBSS. 

As far as I can tell, the only path to nl80211_send_rx_auth (the only place a NL80211_CMD_AUTHENTICATE command is sent to userspace) looks like this:
ieee80211_iface_work invokes ieee80211_sta_rx_queued_mgmt to handle queued management packets received on a station interface. ieee80211_sta_rx_queued_mgmt (eventually) invokes cfg80211_send_rx_auth, after the proper handling. Finally, cfg80211_send_rx_auth invokes nl80211_send_rx_auth.

If anyone can provide any help, I would sincerely appreciate it. I am not looking for hand-holding -- I know everyone is very busy doing their own work. But, I am at my wits' end here so I thought I'd ask for help!

Thanks everyone,
Will


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-06-26 19:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-26  4:01 Help tracing NL80211_CMD_AUTHENTICATE as event in IBSS mode Will Hawkins
2012-06-26  6:53 ` Johannes Berg
2012-06-26 16:23   ` Will Hawkins
2012-06-26 16:41     ` Johannes Berg
2012-06-26 16:44       ` Will Hawkins
2012-06-26 17:03         ` Johannes Berg
2012-06-26 18:55           ` Antonio Quartulli
2012-06-26 18:56             ` Johannes Berg
2012-06-26 19:35               ` Antonio Quartulli
2012-06-26 19:36                 ` Johannes Berg
2012-06-26 19:42               ` Nicolas Cavallari

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).