#8667 NORM Not Tri: wpa_supplicant generates many redundant scan requests before associating

Zarro Boogs per Child bugtracker at laptop.org
Thu Sep 25 20:00:35 EDT 2008


#8667: wpa_supplicant generates many redundant scan requests before associating
-------------------------+--------------------------------------------------
   Reporter:  jcardona   |       Owner:  mbletsas     
       Type:  defect     |      Status:  new          
   Priority:  normal     |   Milestone:  Not Triaged  
  Component:  wireless   |     Version:  not specified
 Resolution:             |    Keywords:               
Next_action:  never set  |    Verified:  0            
  Blockedby:             |    Blocking:               
-------------------------+--------------------------------------------------

Comment(by jcardona):

 The attached patch has cut down the (worst case) number scans required to
 associate from 8 to 2.
 Test logs below.

 {{{
 ./7825.sh
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:1
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:1
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:1
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:2
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:1
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:2
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:1
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:2
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP0 (WPA2)...COMPLETED scans:0
 Setting debug level to 0x182
 Trying AP1 (WEP40)...COMPLETED scans:1
 PASS

 # cat /proc/kmsg | grep -e et_scan -e igno
 <7>[76121.840982] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76121.842305] libertas leave: lbs_set_scan():1405
 <7>[76124.382665] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76128.392754] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76132.889357] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76137.206734] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76152.453230] libertas leave: lbs_set_scan():1405
 <7>[76154.919081] libertas leave: lbs_get_scan():1480, ret -11
 <7>[76154.919081] libertas scan: scan in progress: ignore scan req
 <7>[76154.919081] libertas leave: lbs_set_scan():1405
 <7>[76185.372016] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76190.458637] libertas leave: lbs_set_scan():1405
 <7>[76192.969382] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76197.221853] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76201.548795] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76205.991586] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76210.335700] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76210.335700] libertas leave: lbs_set_scan():1405
 <7>[76212.839388] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76216.962027] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76221.291161] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76236.496878] libertas leave: lbs_set_scan():1405
 <7>[76238.957768] libertas leave: lbs_get_scan():1480, ret -11
 <7>[76238.957768] libertas scan: scan in progress: ignore scan req
 <7>[76238.957768] libertas leave: lbs_set_scan():1405
 <7>[76269.285934] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76274.354219] libertas leave: lbs_set_scan():1405
 <7>[76276.872398] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76281.093796] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76286.434995] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76301.643573] libertas leave: lbs_set_scan():1405
 <7>[76304.068899] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76308.684546] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76312.983518] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76328.227136] libertas leave: lbs_set_scan():1405
 <7>[76330.672265] libertas leave: lbs_get_scan():1480, ret -11
 <7>[76330.672265] libertas scan: scan in progress: ignore scan req
 <7>[76330.672265] libertas leave: lbs_set_scan():1405
 <7>[76361.076771] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76366.186987] libertas leave: lbs_set_scan():1405
 <7>[76368.686105] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76372.984438] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76377.294969] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76381.772545] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76386.071862] libertas leave: lbs_get_scan():1480, ret 0
 <7>[76386.072918] libertas leave: lbs_set_scan():1405
 <7>[76388.535205] libertas leave: lbs_get_scan():1480, ret 0
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/8667#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list