Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:36354 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755251Ab2CGOb2 (ORCPT ); Wed, 7 Mar 2012 09:31:28 -0500 Subject: Re: Hw Accel in Secured Mesh No Longer Work From: Johannes Berg To: Yeoh Chun-Yeow Cc: linux-wireless@vger.kernel.org, Javier Cardona In-Reply-To: (sfid-20120307_152224_978018_6FCBF45E) References: <1331105902.3519.2.camel@jlt3.sipsolutions.net> (sfid-20120307_152224_978018_6FCBF45E) Content-Type: text/plain; charset="UTF-8" Date: Wed, 07 Mar 2012 15:31:26 +0100 Message-ID: <1331130686.3519.14.camel@jlt3.sipsolutions.net> (sfid-20120307_153134_073534_E08EB414) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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? johannes