Re: Scan request looks ignored when wpa_state is in scanning state with dbus interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jouni,

My earlier logs were big in size. So not delivered. So I recaptured
and attaching only required logs.

AP-Problem.log

I switched off the router around the time
1456401394.205710: dbus: flush_object_timeout_handler: Timeout -
sending changed properties of object
/fi/w1/wpa_supplicant1/Interfaces/1

Around the time 1456401598.821077: wlan0: Setting scan request:
1.000000 sec I gave the scan command.

The dbus sequence I follow is,
AddNetwork
SelectNetwork
Then I wait for "completed" signal from dbus
udhcpc -iwlan0 to get IP once connected.

When there is problem connecting ie at the time of reconnect,
SelectNetwork with the object obtained as part of AddNetwork
Then I wait for "completed" signal from dbus
udhcpc -iwlan0 if connected.

I could see from the log,
1456401549.760162: Fast associate: Old scan results
After this there is continous scan requests ignored.

How to handle this case?

Regards,
Johncy.

On 25 February 2016 at 14:42, Johncy Bennette <johncyrr@xxxxxxxxx> wrote:
> Hi Jouni,
>
> Attached the logs as zip files due to size limitation.
>
> DeviceConnectedToAp_APSwitchedOff_DeviceAttemptToReConnect.txt - The
> scenario is, I connected to access point "Controls". After a while
> switched off the AP. Then while reconnecting in process, sent a scan
> request.
>
> APSwitchedOff_DeviceAttemptToConnect.txt - The scenario is, I
> connected to access point "Controls". After a while switched off the
> AP. Restarted my process. While my process tries to reconnect to
> access point, sent a scan request.
>
> Regards,
> Johncy
>
> On 25 February 2016 at 13:10, Johncy Bennette <johncyrr@xxxxxxxxx> wrote:
>> Hi Jouni,
>>
>> Attached the logs.
>>
>> DeviceConnectedToAp_APSwitchedOff_DeviceAttemptToReConnect.txt - The
>> scenario is, I connected to access point "Controls". After a while
>> switched off the AP. Then while reconnecting in process, sent a scan
>> request.
>>
>> APSwitchedOff_DeviceAttemptToConnect.txt - The scenario is, I
>> connected to access point "Controls". After a while switched off the
>> AP. Restarted my process. While my process tries to reconnect to
>> access point, sent a scan request.
>>
>> Regards,
>> Johncy
>>
>> On 24 February 2016 at 18:36, Jouni Malinen <j@xxxxx> wrote:
>>> On Wed, Feb 24, 2016 at 05:27:09PM +0530, Johncy Bennette wrote:
>>>> I am using wpa_supplicant + dbus to connect my device to Access point,
>>>> scan access points, disconnect from access points. If I send a scan
>>>> command, when there is a problem connecting to the access points, My
>>>> scan list is empty.
>>>>
>>>> The sequence is as below,
>>>>
>>>> My device connected to a access point successfully.
>>>> After a while, switched off the access point, and my software tries to
>>>> reconnect when there is a disconnect signal at 30 seconds interval
>>>> (unless user has disabled wifi). At this period if I try to scan the
>>>> wifi networks my scan list is empty.
>>>> When i send wpa_cli -iwlan0 status it shows the wpa_state as SCANNING.
>>>> I could see there is no scan_done signal received from dbus with dbus-monitor
>>>
>>> Could you please share a wpa_supplicant debug log with -dt on command
>>> line showing this?
>>>
>>> --
>>> Jouni Malinen                                            PGP id EFC895FA

Attachment: AP-Problem.zip
Description: Zip archive

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux