* Problems with wl1271
@ 2012-02-29 20:53 Gary Thomas
2012-03-01 11:35 ` Gary Thomas
2012-03-01 12:13 ` Ohad Ben-Cohen
0 siblings, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2012-02-29 20:53 UTC (permalink / raw)
To: Linux Wireless; +Cc: Luciano Coelho
I'm trying to bring up a new hardware platform which includes
the TiWi-r02 (wl1271). Since the kernel for my target device
(AM3874) is stuck in the dark ages, Luciano suggested that I
try compat-wireless + iw. I've managed to build these now
(after encountering many problems that I'll help iron out later)
and now have the system ready to start using the device. Note:
I'm using compat-wireless-2012-02-28 and iw-3.2
The kernel modules load and initialize now, with these messages:
cfg80211: Updating information on frequency 5200 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5210 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5220 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5230 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5240 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Disabling freq 5260 MHz
cfg80211: Disabling freq 5280 MHz
cfg80211: Disabling freq 5300 MHz
cfg80211: Disabling freq 5320 MHz
cfg80211: Disabling freq 5500 MHz
cfg80211: Disabling freq 5520 MHz
cfg80211: Disabling freq 5540 MHz
cfg80211: Disabling freq 5560 MHz
cfg80211: Disabling freq 5580 MHz
cfg80211: Disabling freq 5600 MHz
cfg80211: Disabling freq 5620 MHz
cfg80211: Disabling freq 5640 MHz
cfg80211: Disabling freq 5660 MHz
cfg80211: Disabling freq 5680 MHz
cfg80211: Disabling freq 5700 MHz
cfg80211: Updating information on frequency 5745 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5765 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5785 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5805 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5825 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
wl12xx: loaded
When I try to bring up the device, I get this:
# ifconfig wlan0 hw ether 2a:00:24:01:02:03
# ifconfig wlan0 up
wl12xx: firmware booted (Rev 6.3.5.0.98)
ADDRCONF(NETDEV_UP): wlan0: link is not ready
If I try to scan for an access point, I get nothing:
# iw wlan0 scan
--- Nothing prints
#
I also see no additional messages in dmesg.
Further checking of the device:
# iw wlan0 list
Wiphy phy0
Band 1:
Capabilities: 0x130
HT20
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX STBC 1-stream
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-7
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
* 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
* 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Band 2:
Capabilities: 0x130
HT20
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX STBC 1-stream
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-7
Frequencies:
* 5035 MHz [7] (disabled)
* 5040 MHz [8] (disabled)
* 5045 MHz [9] (disabled)
* 5055 MHz [11] (disabled)
* 5060 MHz [12] (disabled)
* 5080 MHz [16] (disabled)
* 5170 MHz [34] (disabled)
* 5180 MHz [36] (20.0 dBm) (passive scanning, no IBSS)
* 5190 MHz [38] (20.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (20.0 dBm) (passive scanning, no IBSS)
* 5210 MHz [42] (20.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (20.0 dBm) (passive scanning, no IBSS)
* 5230 MHz [46] (20.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (20.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (disabled)
* 5280 MHz [56] (disabled)
* 5300 MHz [60] (disabled)
* 5320 MHz [64] (disabled)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5745 MHz [149] (20.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (20.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (20.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (20.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (20.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 1
max scan IEs length: 441 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* WPI-SMS4 (00-14-72:1)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* new_mpath
* set_mesh_params
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* action
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* Unknown command (75)
* Unknown command (84)
* Unknown command (87)
* Unknown command (85)
* testmode
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
Supported RX frame types:
* IBSS: 0x00d0
* managed: 0x0040 0x00d0
* AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
* AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
* mesh point: 0x00b0 0x00c0 0x00d0
* P2P-client: 0x0040 0x00d0
* P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
WoWLAN support:
* wake up on anything (device continues operating normally)
Device supports AP-side u-APSD.
I don't know enough about this device to understand why it's not working.
Perhaps the line
Available Antennas: TX 0 RX 0
is a clue?
Any ideas what's not working & how I need to do to move forward?
Thanks in advance for all the help
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with wl1271
2012-02-29 20:53 Problems with wl1271 Gary Thomas
@ 2012-03-01 11:35 ` Gary Thomas
2012-03-01 11:47 ` Luciano Coelho
2012-03-01 12:13 ` Ohad Ben-Cohen
1 sibling, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2012-03-01 11:35 UTC (permalink / raw)
To: Linux Wireless; +Cc: Luciano Coelho
On 2012-02-29 13:53, Gary Thomas wrote:
> I'm trying to bring up a new hardware platform which includes
> the TiWi-r02 (wl1271). Since the kernel for my target device
> (AM3874) is stuck in the dark ages, Luciano suggested that I
> try compat-wireless + iw. I've managed to build these now
> (after encountering many problems that I'll help iron out later)
> and now have the system ready to start using the device. Note:
> I'm using compat-wireless-2012-02-28 and iw-3.2
>
> The kernel modules load and initialize now, with these messages:
>
> cfg80211: Updating information on frequency 5200 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5210 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5220 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5230 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5240 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Disabling freq 5260 MHz
> cfg80211: Disabling freq 5280 MHz
> cfg80211: Disabling freq 5300 MHz
> cfg80211: Disabling freq 5320 MHz
> cfg80211: Disabling freq 5500 MHz
> cfg80211: Disabling freq 5520 MHz
> cfg80211: Disabling freq 5540 MHz
> cfg80211: Disabling freq 5560 MHz
> cfg80211: Disabling freq 5580 MHz
> cfg80211: Disabling freq 5600 MHz
> cfg80211: Disabling freq 5620 MHz
> cfg80211: Disabling freq 5640 MHz
> cfg80211: Disabling freq 5660 MHz
> cfg80211: Disabling freq 5680 MHz
> cfg80211: Disabling freq 5700 MHz
> cfg80211: Updating information on frequency 5745 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5765 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5785 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5805 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Updating information on frequency 5825 MHz for a 20 MHz width channel with regulatory rule:
> cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
>
> wl12xx: loaded
>
> When I try to bring up the device, I get this:
> # ifconfig wlan0 hw ether 2a:00:24:01:02:03
> # ifconfig wlan0 up
> wl12xx: firmware booted (Rev 6.3.5.0.98)
> ADDRCONF(NETDEV_UP): wlan0: link is not ready
>
> If I try to scan for an access point, I get nothing:
> # iw wlan0 scan
> --- Nothing prints
> #
> I also see no additional messages in dmesg.
>
> Further checking of the device:
> # iw wlan0 list
> Wiphy phy0
> Band 1:
> Capabilities: 0x130
> HT20
> Static SM Power Save
> RX Greenfield
> RX HT20 SGI
> RX STBC 1-stream
> Max AMSDU length: 3839 bytes
> No DSSS/CCK HT40
> Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
> Minimum RX AMPDU time spacing: 8 usec (0x06)
> HT TX/RX MCS rate indexes supported: 0-7
> Frequencies:
> * 2412 MHz [1] (20.0 dBm)
> * 2417 MHz [2] (20.0 dBm)
> * 2422 MHz [3] (20.0 dBm)
> * 2427 MHz [4] (20.0 dBm)
> * 2432 MHz [5] (20.0 dBm)
> * 2437 MHz [6] (20.0 dBm)
> * 2442 MHz [7] (20.0 dBm)
> * 2447 MHz [8] (20.0 dBm)
> * 2452 MHz [9] (20.0 dBm)
> * 2457 MHz [10] (20.0 dBm)
> * 2462 MHz [11] (20.0 dBm)
> * 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
> * 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
> * 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)
> Bitrates (non-HT):
> * 1.0 Mbps
> * 2.0 Mbps (short preamble supported)
> * 5.5 Mbps (short preamble supported)
> * 11.0 Mbps (short preamble supported)
> * 6.0 Mbps
> * 9.0 Mbps
> * 12.0 Mbps
> * 18.0 Mbps
> * 24.0 Mbps
> * 36.0 Mbps
> * 48.0 Mbps
> * 54.0 Mbps
> Band 2:
> Capabilities: 0x130
> HT20
> Static SM Power Save
> RX Greenfield
> RX HT20 SGI
> RX STBC 1-stream
> Max AMSDU length: 3839 bytes
> No DSSS/CCK HT40
> Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
> Minimum RX AMPDU time spacing: 8 usec (0x06)
> HT TX/RX MCS rate indexes supported: 0-7
> Frequencies:
> * 5035 MHz [7] (disabled)
> * 5040 MHz [8] (disabled)
> * 5045 MHz [9] (disabled)
> * 5055 MHz [11] (disabled)
> * 5060 MHz [12] (disabled)
> * 5080 MHz [16] (disabled)
> * 5170 MHz [34] (disabled)
> * 5180 MHz [36] (20.0 dBm) (passive scanning, no IBSS)
> * 5190 MHz [38] (20.0 dBm) (passive scanning, no IBSS)
> * 5200 MHz [40] (20.0 dBm) (passive scanning, no IBSS)
> * 5210 MHz [42] (20.0 dBm) (passive scanning, no IBSS)
> * 5220 MHz [44] (20.0 dBm) (passive scanning, no IBSS)
> * 5230 MHz [46] (20.0 dBm) (passive scanning, no IBSS)
> * 5240 MHz [48] (20.0 dBm) (passive scanning, no IBSS)
> * 5260 MHz [52] (disabled)
> * 5280 MHz [56] (disabled)
> * 5300 MHz [60] (disabled)
> * 5320 MHz [64] (disabled)
> * 5500 MHz [100] (disabled)
> * 5520 MHz [104] (disabled)
> * 5540 MHz [108] (disabled)
> * 5560 MHz [112] (disabled)
> * 5580 MHz [116] (disabled)
> * 5600 MHz [120] (disabled)
> * 5620 MHz [124] (disabled)
> * 5640 MHz [128] (disabled)
> * 5660 MHz [132] (disabled)
> * 5680 MHz [136] (disabled)
> * 5700 MHz [140] (disabled)
> * 5745 MHz [149] (20.0 dBm) (passive scanning, no IBSS)
> * 5765 MHz [153] (20.0 dBm) (passive scanning, no IBSS)
> * 5785 MHz [157] (20.0 dBm) (passive scanning, no IBSS)
> * 5805 MHz [161] (20.0 dBm) (passive scanning, no IBSS)
> * 5825 MHz [165] (20.0 dBm) (passive scanning, no IBSS)
> Bitrates (non-HT):
> * 6.0 Mbps
> * 9.0 Mbps
> * 12.0 Mbps
> * 18.0 Mbps
> * 24.0 Mbps
> * 36.0 Mbps
> * 48.0 Mbps
> * 54.0 Mbps
> max # scan SSIDs: 1
> max scan IEs length: 441 bytes
> Coverage class: 0 (up to 0m)
> Supported Ciphers:
> * WEP40 (00-0f-ac:1)
> * WEP104 (00-0f-ac:5)
> * TKIP (00-0f-ac:2)
> * CCMP (00-0f-ac:4)
> * WPI-SMS4 (00-14-72:1)
> Available Antennas: TX 0 RX 0
> Supported interface modes:
> * IBSS
> * managed
> * AP
> * AP/VLAN
> * monitor
> * P2P-client
> * P2P-GO
> software interface modes (can always be added):
> * AP/VLAN
> * monitor
> interface combinations are not supported
> Supported commands:
> * new_interface
> * set_interface
> * new_key
> * new_beacon
> * new_station
> * new_mpath
> * set_mesh_params
> * set_bss
> * authenticate
> * associate
> * deauthenticate
> * disassociate
> * join_ibss
> * join_mesh
> * remain_on_channel
> * set_tx_bitrate_mask
> * action
> * frame_wait_cancel
> * set_wiphy_netns
> * set_channel
> * set_wds_peer
> * Unknown command (75)
> * Unknown command (84)
> * Unknown command (87)
> * Unknown command (85)
> * testmode
> * connect
> * disconnect
> Supported TX frame types:
> * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> Supported RX frame types:
> * IBSS: 0x00d0
> * managed: 0x0040 0x00d0
> * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
> * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
> * mesh point: 0x00b0 0x00c0 0x00d0
> * P2P-client: 0x0040 0x00d0
> * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
> WoWLAN support:
> * wake up on anything (device continues operating normally)
> Device supports AP-side u-APSD.
>
> I don't know enough about this device to understand why it's not working.
> Perhaps the line
> Available Antennas: TX 0 RX 0
> is a clue?
>
> Any ideas what's not working & how I need to do to move forward?
>
> Thanks in advance for all the help
>
Any ideas at all? Is there some debug info I can get to find
out what's going on?
Note: I compared the output of 'iw list' from my non-functional system
to that of a working one (OMAP4430 PandaBoard) and they are virtually
identical, even the line about the antenna...
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with wl1271
2012-03-01 11:35 ` Gary Thomas
@ 2012-03-01 11:47 ` Luciano Coelho
2012-03-01 12:10 ` Gary Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Luciano Coelho @ 2012-03-01 11:47 UTC (permalink / raw)
To: Gary Thomas; +Cc: Linux Wireless
On Thu, 2012-03-01 at 04:35 -0700, Gary Thomas wrote:
> On 2012-02-29 13:53, Gary Thomas wrote:
> > I'm trying to bring up a new hardware platform which includes
> > the TiWi-r02 (wl1271). Since the kernel for my target device
> > (AM3874) is stuck in the dark ages, Luciano suggested that I
> > try compat-wireless + iw. I've managed to build these now
> > (after encountering many problems that I'll help iron out later)
> > and now have the system ready to start using the device. Note:
> > I'm using compat-wireless-2012-02-28 and iw-3.2
> >
> > The kernel modules load and initialize now, with these messages:
[...]
> > wl12xx: loaded
> >
> > When I try to bring up the device, I get this:
> > # ifconfig wlan0 hw ether 2a:00:24:01:02:03
> > # ifconfig wlan0 up
> > wl12xx: firmware booted (Rev 6.3.5.0.98)
> > ADDRCONF(NETDEV_UP): wlan0: link is not ready
> >
> > If I try to scan for an access point, I get nothing:
> > # iw wlan0 scan
> > --- Nothing prints
> > #
> > I also see no additional messages in dmesg.
> >
> > Further checking of the device:
[...]
> > I don't know enough about this device to understand why it's not working.
> > Perhaps the line
> > Available Antennas: TX 0 RX 0
> > is a clue?
> >
> > Any ideas what's not working & how I need to do to move forward?
> >
> > Thanks in advance for all the help
> >
>
> Any ideas at all? Is there some debug info I can get to find
> out what's going on?
>
> Note: I compared the output of 'iw list' from my non-functional system
> to that of a working one (OMAP4430 PandaBoard) and they are virtually
> identical, even the line about the antenna...
Yes, all this looks normal. Try to enable some debugging in the driver.
You need to enable the dynamic debugging in your kernel config (if you
don't have it yet) and do something like this:
echo "module wl12xx +p" > /sys/kernel/debug/dynamic_debug/control
echo 0x101 > /sys/module/wlcore/parameters/debug_level
The 0x101 value enables IRQ and SCAN debug prints. You can see more
options in drivers/net/wireless/wl12xx/debug.h.
Please try to scan with this debugging level and send me what you get.
--
Cheers,
Luca.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with wl1271
2012-03-01 11:47 ` Luciano Coelho
@ 2012-03-01 12:10 ` Gary Thomas
0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2012-03-01 12:10 UTC (permalink / raw)
To: Luciano Coelho; +Cc: Linux Wireless
[-- Attachment #1: Type: text/plain, Size: 2605 bytes --]
On 2012-03-01 04:47, Luciano Coelho wrote:
> On Thu, 2012-03-01 at 04:35 -0700, Gary Thomas wrote:
>> On 2012-02-29 13:53, Gary Thomas wrote:
>>> I'm trying to bring up a new hardware platform which includes
>>> the TiWi-r02 (wl1271). Since the kernel for my target device
>>> (AM3874) is stuck in the dark ages, Luciano suggested that I
>>> try compat-wireless + iw. I've managed to build these now
>>> (after encountering many problems that I'll help iron out later)
>>> and now have the system ready to start using the device. Note:
>>> I'm using compat-wireless-2012-02-28 and iw-3.2
>>>
>>> The kernel modules load and initialize now, with these messages:
>
> [...]
>
>>> wl12xx: loaded
>>>
>>> When I try to bring up the device, I get this:
>>> # ifconfig wlan0 hw ether 2a:00:24:01:02:03
>>> # ifconfig wlan0 up
>>> wl12xx: firmware booted (Rev 6.3.5.0.98)
>>> ADDRCONF(NETDEV_UP): wlan0: link is not ready
>>>
>>> If I try to scan for an access point, I get nothing:
>>> # iw wlan0 scan
>>> --- Nothing prints
>>> #
>>> I also see no additional messages in dmesg.
>>>
>>> Further checking of the device:
>
> [...]
>
>>> I don't know enough about this device to understand why it's not working.
>>> Perhaps the line
>>> Available Antennas: TX 0 RX 0
>>> is a clue?
>>>
>>> Any ideas what's not working& how I need to do to move forward?
>>>
>>> Thanks in advance for all the help
>>>
>>
>> Any ideas at all? Is there some debug info I can get to find
>> out what's going on?
>>
>> Note: I compared the output of 'iw list' from my non-functional system
>> to that of a working one (OMAP4430 PandaBoard) and they are virtually
>> identical, even the line about the antenna...
>
> Yes, all this looks normal. Try to enable some debugging in the driver.
> You need to enable the dynamic debugging in your kernel config (if you
> don't have it yet) and do something like this:
>
> echo "module wl12xx +p"> /sys/kernel/debug/dynamic_debug/control
> echo 0x101> /sys/module/wlcore/parameters/debug_level
>
> The 0x101 value enables IRQ and SCAN debug prints. You can see more
> options in drivers/net/wireless/wl12xx/debug.h.
>
> Please try to scan with this debugging level and send me what you get.
>
Results attached. It looks like it does see something on channel 11 (2462MHz)
which is correct - I have a router sitting about 2m from the unit operating
on channel 11.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
[-- Attachment #2: iw.debug --]
[-- Type: text/plain, Size: 18585 bytes --]
PM: Adding info for platform:wl12xx
Compat-wireless backport release: compat-wireless-2012-02-28
Backport based on linux-next.git next-20120228
PM: Adding info for platform:regulatory.0
cfg80211: Calling CRDA to update world regulatory domain
PM: Adding info for No Bus:wl12xx
PM: Removing info for No Bus:wl12xx
PM: Adding info for No Bus:phy0
cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2484 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
cfg80211: Disabling freq 5035 MHz
cfg80211: Disabling freq 5040 MHz
cfg80211: Disabling freq 5045 MHz
cfg80211: Disabling freq 5055 MHz
cfg80211: Disabling freq 5060 MHz
cfg80211: Disabling freq 5080 MHz
cfg80211: Disabling freq 5170 MHz
cfg80211: Updating information on frequency 5180 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5190 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5200 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5210 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5220 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5230 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5240 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Disabling freq 5260 MHz
cfg80211: Disabling freq 5280 MHz
cfg80211: Disabling freq 5300 MHz
cfg80211: Disabling freq 5320 MHz
cfg80211: Disabling freq 5500 MHz
cfg80211: Disabling freq 5520 MHz
cfg80211: Disabling freq 5540 MHz
cfg80211: Disabling freq 5560 MHz
cfg80211: Disabling freq 5580 MHz
cfg80211: Disabling freq 5600 MHz
cfg80211: Disabling freq 5620 MHz
cfg80211: Disabling freq 5640 MHz
cfg80211: Disabling freq 5660 MHz
cfg80211: Disabling freq 5680 MHz
cfg80211: Disabling freq 5700 MHz
cfg80211: Updating information on frequency 5745 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5765 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5785 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5805 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 5825 MHz for a 20 MHz width channel with regulatory rule:
cfg80211: 5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
PM: Adding info for No Bus:wlan0
wl12xx: loaded
NET: Registered protocol family 10
CPSW phy found : id is : 0x1410e11
PHY 0:01 not found
ADDRCONF(NETDEV_UP): eth0: link is not ready
PHY: 0:00 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
PM: Adding info for No Bus:wl12xx
PM: Removing info for No Bus:wl12xx
wl12xx: IRQ
wl12xx: firmware booted (Rev 6.3.5.0.98)
ieee80211 phy0: device now idle
wl12xx: IRQ work
wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wl12xx: IRQ
wl12xx: band 0, center_freq 2412
wl12xx: hw_value 1, flags 20
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2417
wl12xx: hw_value 2, flags 20
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2422
wl12xx: hw_value 3, flags 20
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2427
wl12xx: hw_value 4, flags 20
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2432
wl12xx: hw_value 5, flags 0
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2437
wl12xx: hw_value 6, flags 0
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2442
wl12xx: hw_value 7, flags 0
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2447
wl12xx: hw_value 8, flags 10
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2452
wl12xx: hw_value 9, flags 10
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2457
wl12xx: hw_value 10, flags 10
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2462
wl12xx: hw_value 11, flags 10
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: PROBE REQ: 00000000: 40 00 00 00 ff ff ff ff ff ff 2a 00 24 01 02 03
wl12xx: PROBE REQ: 00000010: ff ff ff ff ff ff 00 00 00 00 01 08 02 04 0b 16
wl12xx: PROBE REQ: 00000020: 0c 12 18 24 32 04 30 48 60 6c 2d 1a 30 01 18 ff
wl12xx: PROBE REQ: 00000030: 00 00 00 00 00 00 00 00 00 48 00 01 00 00 00 00
wl12xx: PROBE REQ: 00000040: 00 00 00 00 00 00
wl12xx: SCAN: 00000000: 00 00 00 00 02 00 00 0b 02 1f 00 00 01 00 00 00
wl12xx: SCAN: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000030: 00 01 00 00 4c 1d 00 00 30 75 00 00 ff ff ff ff
wl12xx: SCAN: 00000040: ff ff 00 14 01 00 00 00 4c 1d 00 00 30 75 00 00
wl12xx: SCAN: 00000050: ff ff ff ff ff ff 00 14 02 00 00 00 4c 1d 00 00
wl12xx: SCAN: 00000060: 30 75 00 00 ff ff ff ff ff ff 00 14 03 00 00 00
wl12xx: SCAN: 00000070: 4c 1d 00 00 30 75 00 00 ff ff ff ff ff ff 00 14
wl12xx: SCAN: 00000080: 04 00 00 00 4c 1d 00 00 30 75 00 00 ff ff ff ff
wl12xx: SCAN: 00000090: ff ff 00 14 05 00 00 00 4c 1d 00 00 30 75 00 00
wl12xx: SCAN: 000000a0: ff ff ff ff ff ff 00 14 06 00 00 00 4c 1d 00 00
wl12xx: SCAN: 000000b0: 30 75 00 00 ff ff ff ff ff ff 00 14 07 00 00 00
wl12xx: SCAN: 000000c0: 4c 1d 00 00 30 75 00 00 ff ff ff ff ff ff 00 14
wl12xx: SCAN: 000000d0: 08 00 00 00 4c 1d 00 00 30 75 00 00 ff ff ff ff
wl12xx: SCAN: 000000e0: ff ff 00 14 09 00 00 00 4c 1d 00 00 30 75 00 00
wl12xx: SCAN: 000000f0: ff ff ff ff ff ff 00 14 0a 00 00 00 4c 1d 00 00
wl12xx: SCAN: 00000100: 30 75 00 00 ff ff ff ff ff ff 00 14 0b 00 00 00
wl12xx: SCAN: 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000210: 00 00 00 00 2a 00 24 01 02 03 00 00
wl12xx: IRQ work
wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
wl12xx: IRQ
wl12xx: IRQ work
wl12xx: intr: 0x24 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
wl12xx: WL1271_ACX_INTR_EVENT_A
wl12xx: band 0, center_freq 2467
wl12xx: hw_value 12, flags 36
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2472
wl12xx: hw_value 13, flags 36
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 0, center_freq 2484
wl12xx: hw_value 14, flags 36
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: PROBE REQ: 00000000: 40 00 00 00 ff ff ff ff ff ff 2a 00 24 01 02 03
wl12xx: PROBE REQ: 00000010: ff ff ff ff ff ff 00 00 00 00 01 08 02 04 0b 16
wl12xx: PROBE REQ: 00000020: 0c 12 18 24 32 04 30 48 60 6c 2d 1a 30 01 18 ff
wl12xx: PROBE REQ: 00000030: 00 00 00 00 00 00 00 00 00 48 00 01 00 00 00 00
wl12xx: PROBE REQ: 00000040: 00 00 00 00 00 00
wl12xx: SCAN: 00000000: 00 00 00 00 03 00 00 03 02 1f 00 00 01 00 00 00
wl12xx: SCAN: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000030: 00 01 00 00 a0 86 01 00 a0 86 01 00 ff ff ff ff
wl12xx: SCAN: 00000040: ff ff 00 14 0c 00 00 00 a0 86 01 00 a0 86 01 00
wl12xx: SCAN: 00000050: ff ff ff ff ff ff 00 14 0d 00 00 00 a0 86 01 00
wl12xx: SCAN: 00000060: a0 86 01 00 ff ff ff ff ff ff 00 14 0e 00 00 00
wl12xx: SCAN: 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000210: 00 00 00 00 2a 00 24 01 02 03 00 00
wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
wl12xx: IRQ
wl12xx: IRQ work
wl12xx: intr: 0x28 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
wl12xx: WL1271_ACX_INTR_EVENT_B
wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
wl12xx: Scanning complete
wl12xx: band 1, center_freq 5180
wl12xx: hw_value 36, flags 26
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5190
wl12xx: hw_value 38, flags 26
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5200
wl12xx: hw_value 40, flags 6
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5210
wl12xx: hw_value 42, flags 6
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5220
wl12xx: hw_value 44, flags 6
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5230
wl12xx: hw_value 46, flags 16
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5240
wl12xx: hw_value 48, flags 16
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5745
wl12xx: hw_value 149, flags 26
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5765
wl12xx: hw_value 153, flags 6
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5785
wl12xx: hw_value 157, flags 6
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5805
wl12xx: hw_value 161, flags 6
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: band 1, center_freq 5825
wl12xx: hw_value 165, flags 16
wl12xx: max_antenna_gain 0, max_power 20
wl12xx: beacon_found 0
wl12xx: PROBE REQ: 00000000: 40 00 00 00 ff ff ff ff ff ff 2a 00 24 01 02 03
wl12xx: PROBE REQ: 00000010: ff ff ff ff ff ff 00 00 00 00 01 08 0c 12 18 24
wl12xx: PROBE REQ: 00000020: 30 48 60 6c 2d 1a 30 01 18 ff 00 00 00 00 00 00
wl12xx: PROBE REQ: 00000030: 00 00 00 48 00 01 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000000: 00 00 00 00 03 00 00 0c 02 1f 00 00 08 00 00 00
wl12xx: SCAN: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000030: 01 01 00 00 a0 86 01 00 a0 86 01 00 ff ff ff ff
wl12xx: SCAN: 00000040: ff ff 00 14 24 00 00 00 a0 86 01 00 a0 86 01 00
wl12xx: SCAN: 00000050: ff ff ff ff ff ff 00 14 26 00 00 00 a0 86 01 00
wl12xx: SCAN: 00000060: a0 86 01 00 ff ff ff ff ff ff 00 14 28 00 00 00
wl12xx: SCAN: 00000070: a0 86 01 00 a0 86 01 00 ff ff ff ff ff ff 00 14
wl12xx: SCAN: 00000080: 2a 00 00 00 a0 86 01 00 a0 86 01 00 ff ff ff ff
wl12xx: SCAN: 00000090: ff ff 00 14 2c 00 00 00 a0 86 01 00 a0 86 01 00
wl12xx: SCAN: 000000a0: ff ff ff ff ff ff 00 14 2e 00 00 00 a0 86 01 00
wl12xx: SCAN: 000000b0: a0 86 01 00 ff ff ff ff ff ff 00 14 30 00 00 00
wl12xx: SCAN: 000000c0: a0 86 01 00 a0 86 01 00 ff ff ff ff ff ff 00 14
wl12xx: SCAN: 000000d0: 95 00 00 00 a0 86 01 00 a0 86 01 00 ff ff ff ff
wl12xx: SCAN: 000000e0: ff ff 00 14 99 00 00 00 a0 86 01 00 a0 86 01 00
wl12xx: SCAN: 000000f0: ff ff ff ff ff ff 00 14 9d 00 00 00 a0 86 01 00
wl12xx: SCAN: 00000100: a0 86 01 00 ff ff ff ff ff ff 00 14 a1 00 00 00
wl12xx: SCAN: 00000110: a0 86 01 00 a0 86 01 00 ff ff ff ff ff ff 00 14
wl12xx: SCAN: 00000120: a5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wl12xx: SCAN: 00000210: 00 00 00 00 2a 00 24 01 02 03 00 00
wl12xx: IRQ
wl12xx: IRQ work
wl12xx: intr: 0x24 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
wl12xx: WL1271_ACX_INTR_EVENT_A
wl12xx: Scanning complete
wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with wl1271
2012-02-29 20:53 Problems with wl1271 Gary Thomas
2012-03-01 11:35 ` Gary Thomas
@ 2012-03-01 12:13 ` Ohad Ben-Cohen
2012-03-01 12:28 ` Gary Thomas
1 sibling, 1 reply; 6+ messages in thread
From: Ohad Ben-Cohen @ 2012-03-01 12:13 UTC (permalink / raw)
To: Gary Thomas; +Cc: Linux Wireless, Luciano Coelho
On Wed, Feb 29, 2012 at 10:53 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> If I try to scan for an access point, I get nothing:
> # iw wlan0 scan
> --- Nothing prints
You might be using a wrong reference clock value (see
include/linux/wl12xx.h for more info, look for 'clock').
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with wl1271
2012-03-01 12:13 ` Ohad Ben-Cohen
@ 2012-03-01 12:28 ` Gary Thomas
0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2012-03-01 12:28 UTC (permalink / raw)
To: Ohad Ben-Cohen; +Cc: Linux Wireless, Luciano Coelho
On 2012-03-01 05:13, Ohad Ben-Cohen wrote:
> On Wed, Feb 29, 2012 at 10:53 PM, Gary Thomas<gary@mlbassoc.com> wrote:
>> If I try to scan for an access point, I get nothing:
>> # iw wlan0 scan
>> --- Nothing prints
>
> You might be using a wrong reference clock value (see
> include/linux/wl12xx.h for more info, look for 'clock').
Yes, that was it :-) I added the "board_ref_clock" to my
platform parameters and now I'm getting something from the
scan.
Thanks for the help
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-01 12:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 20:53 Problems with wl1271 Gary Thomas
2012-03-01 11:35 ` Gary Thomas
2012-03-01 11:47 ` Luciano Coelho
2012-03-01 12:10 ` Gary Thomas
2012-03-01 12:13 ` Ohad Ben-Cohen
2012-03-01 12:28 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).