Search Linux Wireless

Re: Hw Accel in Secured Mesh No Longer Work

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

 



On Wed, 2012-03-07 at 15:31 +0100, Johannes Berg wrote:
> Hi,
> 
> > > Huh? Well that's odd, maybe there's a race condition and you program the
> > > key before the peer was added to the device?
> > 
> > Not so sure. The adding of key is actually done by the meshd-nl80211
> > (authsae) daemon running in userspace.
> > 
> > https://github.com/cozybit/authsae/blob/master/linux/meshd-nl80211.c
> > 
> > /* key to encrypt/decrypt unicast data AND mgmt traffic to/from this peer */
> > install_key(&nlcfg, peer, CIPHER_CCMP, NL80211_KEYTYPE_PAIRWISE, 0, mtk);
> 
> Yeah but that always required a station ... now you have a station but
> it's not uploaded.
> 
> > > What device are you working with?
> > I am using atheros 11n chipset (ath9k).
> 
> Ok.
> 
> I think you're probably trying to set a key before the station is set to
> associated?

Does meshd-nl80211 set the station flag NL80211_STA_FLAG_AUTHENTICATED
before the key?

I suppose both should work -- to make HW key working when the station is
not uploaded yet the key has to be uploaded after the station is
uploaded ... that'd need to have some hooks in the code.

johannes

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux