[PATCH] IBSS: don't enable HT when WEP configuration

Janusz Dziedzic janusz.dziedzic
Sat Feb 7 08:37:26 PST 2015


On 7 February 2015 at 16:15, Jouni Malinen <j at w1.fi> wrote:
> On Fri, Feb 06, 2015 at 01:11:24PM +0100, Janusz Dziedzic wrote:
>> We should not enable HT while WEP configured.
>>
>> Without the patch and WEP configure we will get message:
>> Association request to the driver failed
>
> Thanks, applied. I added TKIP to this list since it has the same
> constraint for HT even though the IBSS join command itself does not fail
> for it.
>

Thanks.

I have a question about valid encryption for IBSS, this is what I tested:

1) rsn
network={
     ssid="ibss-rsn"
     mode=1
     frequency=2462
     proto=RSN
     key_mgmt=WPA-PSK
     psk= "somepsk"
     pairwise=CCMP
     group=CCMP
}

2) wep

network={
    ssid="ibss-wep"
    mode=1
    frequency=5180
    key_mgmt=NONE
    wep_key0="lalal"
}

3) wep/tkip - mainly adopted from wpa_supplicant.conf description

network={
    ssid="ibss-tkip"
    mode=1
    frequency=5180
    proto=WPA
    key_mgmt=WPA-NONE
    pairwise=NONE
    group=TKIP
    psk="somepsk"
}

Seems 1 and 2 works fine with ath9k cards. But third don't :)
I am adding that configurations to my test scripts.
Is there any other option should I add for IBSS?
Is 3rd correct?

BR
Janusz


> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the Hostap mailing list