=?gb2312?q?=BB=D8=B8=B4=A3=BA=20Re:=20=E5=9B=9E=E5=A4=8D=EF=BC=3FRe:=20Ca?= =?gb2312?q?n=20hostap&madwifi=20support=20several=20bcast=20keys=20of=20o?= =?gb2312?q?ne=20AP=3F?=

=?gb2312?q?=CD=F5=ABh?= wangyue0921 at yahoo.com.cn
Wed Oct 8 07:21:05 EDT 2008


I download wireless-testing git and found it looks
like linux kernel 2.6.27-rc8, or it is "kernel + 
mac80211 stack + kinds of wireless nic driver"?? 

I'm newer of it, and try to make menuconfig of it.
But there are so many errors like:
: command not
foundWPA_ath5k/wireless-testing/scripts/gcc-x86_64-has-stack-protector.sh:
line 2:
/home/wangyue/VLAN_WPA_ath5k/wireless-testing/scripts/gcc-x86_64-has-stack-protector.sh:
line 7: syntax error: unexpected end of file

Maybe the way I use it was not right.
Is there any docs on how to use it?
If it is a linux kernel, why make menuconfig was not
be
used?

Thanks in advance.


--- Jouni Malinen <j at w1.fi>写道:

> On Sat, Sep 27, 2008 at 10:46:00AM +0800, 王h wrote:
> 
> > 1. I find that is 802.11i, it is said that:
> > 
> > The GTK shall be derived from the GMK by
> > GTK ← PRF-X(GMK, “Group key expansion” || AA ||
> > GNonce)
> 
> > AA is the AP's bssid, and if there is only ONE
> bssid
> > or ONE VAP, how can I generate two different GTKs?
> 
> By using different GMK and/or GNonce value.
> 
> > I read the hostap's source and find that it will
> create
> > different GMK by "hostapd_get_rand". Is it because
> the
> > function be called at different time to generate 
> > different GMK, and then to generate different GTK?
> 
> hostapd has separate data entries for each group key
> and as such, GMK
> can be different for GTK derivation.
> 
> > According to Jouni's letter, if wlan is deployed
> with
> > ath9k + mac80211-based drivers + hostap + some
> kernel
> > patch, the function above will be realized??
> 
> It may. I haven't tested this with ath9k and the
> current mac80211, but
> the original IEEE 802.11 code that used as basis for
> mac80211 did indeed
> support this.
> 
> > If it does, where to obtain the ath9k's
> mac80211-based
> > drivers?
> 
> It's included in the current Linux kernel tree;
> wireless-testing git
> tree could be the best starting point since it has
> the latest available
> code and AP mode is likely to require quite recent
> changes.
> 
> > What is the "a minimal patch to enable AP mode in
> the
> > kernel code" and where to obtain it? 
> 
> http://w1.fi/wireless-testing/enable-ap-mode.patch
> 
> -- 
> Jouni Malinen                                       
>     PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



      ___________________________________________________________ 
 雅虎邮箱,您的终生邮箱! 
http://cn.mail.yahoo.com/


More information about the HostAP mailing list