[Trac #527] libertas wireless long delays on iwconfig

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 1 20:17:50 EST 2006


#527: libertas wireless long delays on iwconfig
----------------------+-----------------------------------------------------
 Reporter:  marcelo   |       Owner:  marcelo
     Type:  defect    |      Status:  new    
 Priority:  normal    |   Milestone:  BTest-2
Component:  wireless  |    Keywords:         
----------------------+-----------------------------------------------------
 Using the new firmware (md5sum = 5bf30a7c2e7094ebb8cbb81eac6b7aea) on an
 A-test board I've experienced a pretty strange problem, never seen before.

 The "iwconfig" commands hangs for a period of time (which can be minutes
 sometimes), while the driver is resending the same command to the
 firmware.

 {{{
  Re-sending same command as it timeout...!
  Enter: libertas_queue_cmd, drivers/net/wireless/libertas/wlan_cmd.c:1146
  QUEUE_CMD: Inserted node=0xc4387e78, cmd=0xb in CmdPendingQ
  Leave: libertas_queue_cmd, drivers/net/wireless/libertas/wlan_cmd.c:1183
  Leave: command_timer_fn, drivers/net/wireless/libertas/wlan_fw.c:405
  main-thread 222 (waking up): IntCounter=0 CurrentTxSkb=00000000
 dnld_sent=0
  main-thread 333: IntCounter=0 CurrentTxSkb=00000000 dnld_sent=0
  main-thread 444: IntCounter=0 CurrentTxSkb=00000000 dnld_sent=0
  Enter: libertas_execute_next_command,
 drivers/net/wireless/libertas/wlan_cmd.c:1934
  EXEC_NEXT_CMD: Got next command from CmdPendingQ
  EXEC_NEXT_CMD: Sending 0x000B Command
  Enter: DownloadCommandToStation,
 drivers/net/wireless/libertas/wlan_cmd.c:1212
  DNLD_CMD:: Before download, Size of Cmd = 60
  Enter: libertas_sbi_host_to_card,
 drivers/net/wireless/libertas/if_usb.c:679
  *** type = 1
  Size after = 60
  DNLD_CMD: Sent command 0xb @ 70333
  DNLD_CMD: Command: 0b 00 3c 00 6e 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  Leave: DownloadCommandToStation,
 drivers/net/wireless/libertas/wlan_cmd.c:1278
  Leave: libertas_execute_next_command,
 drivers/net/wireless/libertas/wlan_cmd.c:2075
  main-thread 111: IntCounter=0 CurrentTxSkb=00000000 dnld_sent=2
  main-thread sleeping... Conn=0 IntC=0 PS_Mode=0 PS_State=0
  Re-sending same command as it timeout...!
  Enter: libertas_queue_cmd, drivers/net/wireless/libertas/wlan_cmd.c:1146
  QUEUE_CMD: Inserted node=0xc4387e78, cmd=0xb in CmdPendingQ
  Leave: libertas_queue_cmd, drivers/net/wireless/libertas/wlan_cmd.c:1183
  Leave: command_timer_fn, drivers/net/wireless/libertas/wlan_fw.c:405
  main-thread 222 (waking up): IntCounter=0 CurrentTxSkb=00000000
 dnld_sent=0
  main-thread 333: IntCounter=0 CurrentTxSkb=00000000 dnld_sent=0
  main-thread 444: IntCounter=0 CurrentTxSkb=00000000 dnld_sent=0
  Enter: libertas_execute_next_command,
 drivers/net/wireless/libertas/wlan_cmd.c:1934
  EXEC_NEXT_CMD: Got next command from CmdPendingQ
  EXEC_NEXT_CMD: Sending 0x000B Command
  Enter: DownloadCommandToStation,
 drivers/net/wireless/libertas/wlan_cmd.c:1212
  DNLD_CMD:: Before download, Size of Cmd = 60
  Enter: libertas_sbi_host_to_card,
 drivers/net/wireless/libertas/if_usb.c:679
  *** type = 1
  Size after = 60
  DNLD_CMD: Sent command 0xb @ 70333
  DNLD_CMD: Command: 0b 00 3c 00 6e 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  Leave: DownloadCommandToStation,
 drivers/net/wireless/libertas/wlan_cmd.c:1278
  Leave: libertas_execute_next_command,
 drivers/net/wireless/libertas/wlan_cmd.c:2075
  main-thread 111: IntCounter=0 CurrentTxSkb=00000000 dnld_sent=2
  main-thread sleeping... Conn=0 IntC=0 PS_Mode=0 PS_State=0
 }}}

 Eventually it succeeds, but such behavior is not acceptible. Needs further
 investigation.

 Command in question is:

 HostCmd_CMD_802_11_GET_LOG            0x000b

 Additional info is that this driver has the libertas-fwt code:

 version: COMM-USB8388-318.p4
 firmware-version: 5.220.9

 But I doubt thats the reason for it.

-- 
Ticket URL: <http://dev.laptop.org/ticket/527>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list