> -----Original Message-----
> From: Johannes Berg [mailto:[email protected]]
> Sent: Friday, February 13, 2015 11:37 PM
> To: Avinash Patil
> Cc: [email protected]; Amitkumar Karwar; Cathy Luo; Xinming Hu;
> Li Long
> Subject: Re: [PATCH 1/3] mwifiex: add cfg80211 set_default_mgmt_key handler
> 
> On Thu, 2015-02-12 at 23:45 +0530, Avinash Patil wrote:
> > From: Xinming Hu <[email protected]>
> >
> > It is observed that hostapd failed to setup with management frame
> > protection mode enabled when using mwifiex.
> >
> > This is because hostapd will try to install IGTK using
> > cfg80211 set_default_mgmt_key handler.
> >
> > we have already support IGTK install in set_key handler, so just work
> > around this issue by add an empty cfg80211_set_default_mgmt_key handler.
> 
> I believe that this is incorrect since the key should only be installed for TX
> after this handler, not in the set_key handler. This should make a difference
> in the case of rekeying? Perhaps hostapd doesn't actually program the key
> until rekeying with all stations finishes though.
 
I believe that set_defualt_mgmt_key and corresponding changes in hostapd & 
cfg80211 are designed with focus on mac80211.
Our design is a bit different in a way all PMF is handled in FW; also we don't 
support two pair of GTK/IGTKs.
We already have installed IGTK to FW in add_key handler.

> johannes

Reply via email to