Re: WPA and WPA2

2017-05-28 Thread Tobin C. Harding
On Thu, May 25, 2017 at 12:45:53PM -0500, Dan Williams wrote: > On Thu, 2017-05-25 at 08:40 +1000, Tobin C. Harding wrote: > > On Wed, May 24, 2017 at 08:06:40PM +0200, Johannes Berg wrote: > > > Just a small correction: > > > > > > On Wed, 2017-05-24 at 11:44 -0500, Dan Williams wrote: > > > >

Re: WPA and WPA2

2017-05-26 Thread Johannes Berg
On Thu, 2017-05-25 at 08:40 +1000, Tobin C. Harding wrote: > On Wed, May 24, 2017 at 08:06:40PM +0200, Johannes Berg wrote: > > Just a small correction: > > > > On Wed, 2017-05-24 at 11:44 -0500, Dan Williams wrote: > > > > > > For RSN, they are 1 = PMK, 2 = GMK, 3 = GMK2, 4 seems unused. > > >

Re: WPA and WPA2

2017-05-25 Thread Dan Williams
On Thu, 2017-05-25 at 08:40 +1000, Tobin C. Harding wrote: > On Wed, May 24, 2017 at 08:06:40PM +0200, Johannes Berg wrote: > > Just a small correction: > > > > On Wed, 2017-05-24 at 11:44 -0500, Dan Williams wrote: > > > > > > For RSN, they are 1 = PMK, 2 = GMK, 3 = GMK2, 4 seems unused. > > >

Re: WPA and WPA2

2017-05-24 Thread Tobin C. Harding
On Wed, May 24, 2017 at 11:44:00AM -0500, Dan Williams wrote: > On Wed, 2017-05-24 at 17:34 +1000, Tobin C. Harding wrote: > > On Wed, May 24, 2017 at 05:27:50PM +1000, Tobin C. Harding wrote: > > > Hi, > > > > > > I am attempting to rewrite the ks7010 WEXT driver > > > (drivers/staging/ks7010) >

Re: WPA and WPA2

2017-05-24 Thread Tobin C. Harding
On Wed, May 24, 2017 at 08:06:40PM +0200, Johannes Berg wrote: > Just a small correction: > > On Wed, 2017-05-24 at 11:44 -0500, Dan Williams wrote: > > > > For RSN, they are 1 = PMK, 2 = GMK, 3 = GMK2, 4 seems unused. > > PTK and GTK, and in theory you could have more than two GTKs but that's

Re: WPA and WPA2

2017-05-24 Thread Johannes Berg
Just a small correction: On Wed, 2017-05-24 at 11:44 -0500, Dan Williams wrote: > > For RSN, they are 1 = PMK, 2 = GMK, 3 = GMK2, 4 seems unused. PTK and GTK, and in theory you could have more than two GTKs but that's not usually done. > Because WEXT is pretty convoluted, I woudn't necessarily

Re: WPA and WPA2

2017-05-24 Thread Dan Williams
On Wed, 2017-05-24 at 17:34 +1000, Tobin C. Harding wrote: > On Wed, May 24, 2017 at 05:27:50PM +1000, Tobin C. Harding wrote: > > Hi, > > > > I am attempting to rewrite the ks7010 WEXT driver > > (drivers/staging/ks7010) > > to use the CFG80211 API. > > > > I am reading 802.11 Wireless Networks

Re: WPA and WPA2

2017-05-24 Thread Johannes Berg
On Wed, 2017-05-24 at 20:13 +1000, Tobin C. Harding wrote: > For this driver I think it matters. It is not a soft MAC driver, but > it is not a Full MAC either. The firmware was released in 2009, I > don't imagine it is getting any updates. The WEXT driver adds/checks > the TKIP Michael MIC in

Re: WPA and WPA2

2017-05-24 Thread Tobin C. Harding
On Wed, May 24, 2017 at 09:40:51AM +0200, Johannes Berg wrote: > On Wed, 2017-05-24 at 17:27 +1000, Tobin C. Harding wrote: > > > I am attempting to rewrite the ks7010 WEXT driver > > (drivers/staging/ks7010) to use the CFG80211 API. > > Heh, I wasn't even aware of this driver yet. Thanks for

Re: WPA and WPA2

2017-05-24 Thread Johannes Berg
On Wed, 2017-05-24 at 17:27 +1000, Tobin C. Harding wrote: > I am attempting to rewrite the ks7010 WEXT driver > (drivers/staging/ks7010) to use the CFG80211 API. Heh, I wasn't even aware of this driver yet. > As I understand, first there was WEP. Correct. > Next we got a marketing term WPA

Re: WPA and WPA2

2017-05-24 Thread Tobin C. Harding
On Wed, May 24, 2017 at 05:27:50PM +1000, Tobin C. Harding wrote: > Hi, > > I am attempting to rewrite the ks7010 WEXT driver (drivers/staging/ks7010) > to use the CFG80211 API. > > I am reading 802.11 Wireless Networks - Matthew S. Gast for reference. > > I have some confusion regarding