Search Linux Wireless

Re: [RFC] nl80211: Authentication and association events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 26, 2009 at 08:48:46AM -0800, Johannes Berg wrote:
> On Thu, 2009-02-26 at 16:37 +0200, Jouni Malinen wrote:
> > On Mon, Feb 23, 2009 at 05:55:27PM -0800, Johannes Berg wrote:
> > > Should we have some more code in cfg80211 to keep track of the BSSes
> > > we're authenticated/the one we're associated to, and have some commands
> > > to query those from userspace?
> > 
> > It would probably be useful to add this eventually. Whatever is
> > requesting the association has most of the information, but it would be
> > could to allow other applications have access to it and also remove the
> > need to store that in the control application.
> 
> I guess we'll kinda need that to have iwconfig print out something useful.

Actually, iwconfig works fine in my current version since it just uses
the information from same functions that were used in
net/mac80211/mlme.c. In other words, when I complete association with an
external SME (wpa_supplicant), iwconfig can still show the BSSID etc.
info.

I'm now able to complete authentication and association in two steps and
use only nl80211 for it (i.e., no WEXT code needed in driver_nl80211.c
for auth/assoc/deauth/disassoc processing). The mlme.c changes are not
the cleanest possible and there are still couple of places where mlme.c
shows its SME nature by deciding to automatically do something, but
other than that, this seems to be functional.

-- 
Jouni Malinen                                            PGP id EFC895FA
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux