Re: Failed to scan network with 2200BG

"Liu, Hong" <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <10EA09EFD8728347A513008B6B0DA77A71C530@pdsmsx411.ccr.corp.intel.com>
Not sure why you are not receiving beacons?

You can try to "echo 0x4 > /proc/net/ieee80211/debug_level" and
to see if there are debug messages in your dmesg buffer?

Basically, when we perform a scan, the card will pass the
received beacons/probe response to the driver.
And driver will pass it to the ieee80211 subsystem by ieee80211_rx_mgt,
IEEE80211 will init the priv->ieee->network_list if the packet is a
beacon or probe response.

If you have another laptop with ipw2200, you can set it to monitor mode
and try to capture the packets to see if your ipw2200 is sending probe
requests and receiving probe response correctly.

Thanks,
Hong

-----Original Message-----
From: Pascal Fifre [mailto:[email protected]] 
Sent: Friday, November 10, 2006 6:32 AM
To: Liu, Hong
Cc: [email protected]
Subject: RE: [Ipw2100-devel] Failed to scan network with 2200BG

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0kdmr
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ieee80211: U alloc_ieee80211 Initializing...
ipw2200: U ipw_pci_probe pci_resource_len = 0x00001000
ipw2200: U ipw_pci_probe pci_resource_base = c5050000
ipw2200: U ipw_sw_reset Hardware crypto [off]
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: U ipw_get_fw Read firmware 'ipw2200-bss.fw' image v3.0 (191126
bytes)
ipw2200: U ipw_load initial device response after 10ms
ipw2200: U ipw_stop_master stop master 0ms
ipw2200: U ipw_load_ucode Microcode OK, rev. 23249 (0x5ad1) dev. 3 (0x3) of
11/2
2/04 20:27
ipw2200: U ipw_load device response after 50ms
ipw2200: U ipw_eeprom_init_sram Writing EEPROM data into SRAM
ipw2200: U __ipw_send_cmd TX_POWER command (#35) 76 bytes: 0x00000003
00000000 0E 02 01 14 02 14 03 14  04 14 05 14 06 14 07 14   ........
........
00000010 08 14 09 14 0A 14 0B 14  0C 14 0D 14 0E 14 00 00   ........
........
00000020 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000030 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000040 00 00 00 00 00 00 00 00  00 00 00 00               ........ ....
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U __ipw_send_cmd TX_POWER command (#35) 76 bytes: 0x00000003
00000000 0E 01 01 14 02 14 03 14  04 14 05 14 06 14 07 14   ........
........
00000010 08 14 09 14 0A 14 0B 14  0C 14 0D 14 0E 14 00 00   ........
........
00000020 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000030 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000040 00 00 00 00 00 00 00 00  00 00 00 00               ........ ....
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U ipw_send_adapter_address eth1: Setting MAC to 00:16:6f:93:c1:9b
ipw2200: U __ipw_send_cmd ADAPTER_ADDRESS command (#11) 6 bytes: 0x00000003
00000000 00 16 6F 93 C1 9B                                  ..o...
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U __ipw_send_cmd SYSTEM_CONFIG command (#6) 20 bytes: 0x00000003
00000000 00 00 00 00 01 00 01 00  01 00 00 00 00 00 00 1E   ........
........
00000010 00 00 01 00                                        ....
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U __ipw_send_cmd SUPPORTED_RATES command (#22) 16 bytes: 0x00000003
00000000 02 0C 01 00 82 84 0B 16  0C 12 18 24 30 48 60 6C   ........
...$0H`l
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U __ipw_send_cmd RTS_THRESHOLD command (#15) 4 bytes: 0x00000003
00000000 00 09 00 00                                        ....
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U __ipw_send_cmd SEED_NUMBER command (#34) 4 bytes: 0x00000003
00000000 E7 BA 0D 88                                        ....
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U __ipw_send_cmd HOST_COMPLETE command (#2) 0 bytes: 0x00000003
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: U ipw_up Configured device on count 0
ipw2200: U __ipw_send_cmd SCAN_REQUEST_EXT command (#26) 96 bytes:
0x00000023
00000000 00 00 00 00 4E 01 02 03  04 05 06 07 08 09 0A 0B   ....N...
........
00000010 0C 0D 0E 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000020 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000030 00 00 00 00 00 00 00 00  00 00 03 33 33 33 33 33   ........
...33333
00000040 33 10 00 00 00 00 00 00  00 00 00 00 00 00 00 00   3.......
........
00000050 00 00 00 00 00 00 00 00  78 00 00 00 14 00 14 00   ........
x.......
ipw2200: I ipw_irq_tasklet Command completed.
ipw2200: I ipw_rx_notification type = 20 (104 bytes)
ipw2200: I ipw_rx_notification TODO: Calibration
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 1
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 2
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 3
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 4
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 5
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 6
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 7
ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 8
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 9
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 10
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 11
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 12
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 13
ipw2200: U ipw_net_open dev->open
ieee80211_xmit
ipw2200: I ipw_net_hard_start_xmit Tx attempt while not associated.
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 14
ipw2200: I ipw_rx_notification type = 13 (4 bytes)
ipw2200: I ipw_rx_notification Scan completed: type 14, 14 channels, 1
status
ipw2200: U ipw_debug_config Scan completed, no valid APs matched [CFG
0x00000340
]
ipw2200: U ipw_debug_config Channel unlocked.
ipw2200: U ipw_debug_config ESSID unlocked.
ipw2200: U ipw_debug_config BSSID unlocked.
ipw2200: U ipw_debug_config PRIVACY off
ipw2200: U ipw_debug_config RATE MASK: 0x00000FFF
ipw2200: U __ipw_send_cmd SCAN_REQUEST_EXT command (#26) 96 bytes:
0x00000023
00000000 01 00 00 00 4E 01 02 03  04 05 06 07 08 09 0A 0B   ....N...
........
00000010 0C 0D 0E 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000020 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ........
........
00000030 00 00 00 00 00 00 00 00  00 00 03 33 33 33 33 33   ........
...33333
00000040 33 10 00 00 00 00 00 00  00 00 00 00 00 00 00 00   3.......
........
00000050 00 00 00 00 00 00 00 00  78 00 00 00 14 00 14 00   ........
x.......
ipw2200: Failed to send SCAN_REQUEST_EXT: Command timed out.
ipw2200: U ipw_request_scan_helper Sending scan command failed: FFFFFFFB
ieee80211_xmit
ipw2200: I ipw_net_hard_start_xmit Tx attempt while not associated.

Pascal FIFRE
Responsable Systèmes Embarqués
CLEODE
5, rue de Broglie
22300 LANNION
Tel : 02 96 48 68 18
http://www.cleode.com
________________________________________
De : Liu, Hong [mailto:[email protected]] 
Envoyé : jeudi 9 novembre 2006 10:06
À : Pascal Fifre
Cc : [email protected]
Objet : RE: [Ipw2100-devel] Failed to scan network with 2200BG

Would you please load the driver with debug=0x43fff and
provide the debug log?

Thanks,
Hong

________________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Pascal
Fifre
Sent: Thursday, November 09, 2006 5:01 PM
To: [email protected]
Subject: [Ipw2100-devel] Failed to scan network with 2200BG

Hi,

I try to use the IPW2200 on a powerpc platform.
Software & firmware versions :
1) v1.2.0 of ipw2200 
2) v1.2.15 of iee80211 stack
3) Linux 2.6.16.11
4) v3.0 firmware of 2200BG

I make insmod ipw2200.ko to start the driver.

Its seems to work at the beginning but when the board scan the network
nothing 
happen...

I dumped the channel_results struct on the Scan result notification and the 
field accumulated_rssi of ipw_cmd_stats indicates there is some network.

But when the driver called ipw_associate function, there is nothing in the
priv-
>ieee->network_list ???

How does the driver or else add network in this network_list ?

At the end, the board seems to be shutdown because the driver failed to send

anay command => Failed to send SCAN_ABORT.

I have a strange trace means that the system try to transmit a frame with no

association : ipw_net_hard_start_xmit Tx attempt while not associated.

I put the trace of the driver :

ieee80211: Copyright (C) 2004-2005 Intel Corporation
<[email protected]>
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0kd
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ieee80211: U alloc_ieee80211 Initializing...
ipw2200: U ipw_pci_probe pci_resource_len = 0x00001000
ipw2200: U ipw_pci_probe pci_resource_base = c5052000
ipw2200: U ipw_sw_reset Hardware crypto [off]
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: U ipw_get_fw Read firmware 'ipw2200-bss.fw' image v3.0 (191126
bytes)
ipw2200: U ipw_load initial device response after 10ms
ipw2200: U ipw_stop_master stop master 0ms
ipw2200: U ipw_load_ucode Microcode OK, rev. 23249 (0x5ad1) dev. 3 (0x3) of
11/2
2/04 20:27
ipw2200: U ipw_load device response after 50ms
ipw2200: U ipw_eeprom_init_sram Writing EEPROM data into SRAM
ipw2200: U ipw_send_adapter_address eth1: Setting MAC to 00:16:6f:93:c1:9b
ipw2200: U ipw_up Configured device on count 0
ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)
ipw2200: I ipw_rx_notification type = 20 (104 bytes)
ipw2200: I ipw_rx_notification TODO: Calibration
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 1
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 2
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 3
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 4
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 5
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 6
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 7
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 8
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 9
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 10
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 11
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 12
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 13
ipw2200: I ipw_rx_notification type = 12 (46 bytes)
ipw2200: I ipw_rx_notification Scan result for channel 14
ipw2200: I ipw_rx_notification type = 13 (4 bytes)
ipw2200: I ipw_rx_notification Scan completed: type 14, 14 channels, 1
status
ipw2200: U ipw_debug_config Scan completed, no valid APs matched [CFG
0x00000340
]
ipw2200: U ipw_debug_config Channel unlocked.
ipw2200: U ipw_debug_config ESSID unlocked.
ipw2200: U ipw_debug_config BSSID unlocked.
ipw2200: U ipw_debug_config PRIVACY off
ipw2200: U ipw_debug_config RATE MASK: 0x00000FFF


Can anybody help me ?

Thanks a lot.


Pascal FIFRE
Responsable Systèmes Embarqués
CLEODE
5, rue de Broglie
22300 LANNION
Tel : 02 96 48 68 18
http://www.cleode.com


----------------------------------------------------------------------------
-----------
Orange vous informe que cet e-mail a été contrôlé par l'anti-virus mail.
Aucun virus connu à ce jour par nos services n'a été détecté.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.