lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTi=ekLFAon29qC6WU+oO-tNVi9NFHQ@mail.gmail.com>
Date:	Wed, 27 Apr 2011 23:45:52 +0800
From:	Jeff Chua <jeff.chua.linux@...il.com>
To:	Larry Finger <Larry.Finger@...inger.net>
Cc:	lkml <linux-kernel@...r.kernel.org>, wlanfae@...ltek.com
Subject: Re: r8712u cannot set essid

On Wed, Apr 27, 2011 at 4:12 AM, Larry Finger <Larry.Finger@...inger.net> wrote:
>> On Wed, Apr 27, 2011 at 12:24 AM, Jeff Chua<jeff.chua.linux@...il.com>
>>  wrote:
>>>
>>> I hacked it a bit more, and now, it's all working. I'll send you the
>>> patch shortly. Adhoc mode works now, and I've confirmed that my iPhone
>>> can connect to it, get an IP and surf the net! The device is so tiny
>>> and was contemplating on trying another brand.
>>
>> Larry,
>>
>> Here's the patch for adhoc mode. This should work. Just remember to
>> set wpa_supplicant's ap_scan to either 1 or 2 (faster association). 0
>> does not seem to work.
>
> Thanks. Is this in addition to my previous patch, or is this one enough by
> itself?

I just re-verify it, applying your patch alone does not solve the problem.

The issue is with adhoc mode and when it first starts, there is
 no SSID to associate with if the SSID is an unique one. The patch
basically bypass the "sitesurvey" as it could never find another site
with the wanted SSID, so that's why adhoc didn't work before. It
worked if the module has some associations before starting adhoc mode
because now it won't do another sitesurvey. ... this is how I
interpreted the logic. I've been testing it for the past few hours and
wpa2, adhoc all works well with the r7812u driver now.

Thanks for your help. Will you send this to patch to Linus?


Jeff

Download attachment "patch-adhoc" of type "application/octet-stream" (717 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ