Encryption problems with nl80211

Krishna Chaitanya chaitanya.mgit at gmail.com
Wed Oct 28 12:03:06 PDT 2015


On Wed, Oct 28, 2015 at 11:27 PM, Dan Williams <dcbw at redhat.com> wrote:
> On Wed, 2015-10-28 at 18:21 +0100, simo wrote:
>> On Wed, 2015-10-28 at 12:03 -0500, Dan Williams wrote:
>> > Hmm, I'll bet your kernel has CFG80211_WEXT_EXPORT disabled...
>>
>> Yes, you're right. The kernel is configured from yocto and I did not
>> look for this option. I will enable it and I will recompile the kernel.
>>
>> I will update this thread with the results as soon as possible.
>>
>>
>> > so with that in mind, the best option is to just get cfg80211 fixed to allow WEP
>> > keys during create/join for IBSS.
>> I am sorry Dan, but I don't understand what you mean with "get cfg80211
>> fixed".
>
> The problem is that the kernel's cfg80211/nl80211 API (which libertas
> uses for WEXT API emulation) does not allow sending the WEP key during
> the IBSS join.  But Libertas requires that.  There's no particular
> reason cfg80211 should have this restriction.
Digging some old threads, found this.
http://www.spinics.net/lists/linux-wireless/msg35981.html

I think programming keys before connection required
extra handling with some drivers.

Anyways we can move the discussion to linux-wireless
as the issue is in the kernel domain.



-- 
Thanks,
Regards,
Chaitanya T K.



More information about the Hostap mailing list