<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.6082" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>Hello Hong.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>I installed wpa_supplicant and tried to associate to the AP
(now with rt2800pci) , but</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>1. the available rt2x00 driver did not support WPA
(probably option not enabled during build)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>2. the wext driver could be used, but did not give
improvement (so also did not associate)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2> (phy0 -> rt2800_wait_Wpdma_ready:
Error - WPDMA TX/RX busy)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>I suspect my problem still is somewhere in the SoftMAC
(mac_80211).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>Q1: which and how to set additional compiler flag for
debugging mac80211 ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>Q2: which signals are relevant or can be monitored
?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2> (e.g. lspci
</FONT> <FONT face=Arial color=#0000ff size=2>-vv )</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>Q3: how about the DMA sequence / interface
?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>Best regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=735245913-04052011><FONT face=Arial
color=#0000ff size=2>Chen</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> hong zhang [mailto:henryzhang62@yahoo.com]
<BR><B>Sent:</B> Wednesday, May 04, 2011 3:30 AM<BR><B>To:</B> Tchang Chen
(ST-CO/ENG1.3)<BR><B>Cc:</B> libnl@lists.infradead.org<BR><B>Subject:</B> RE:
mac80211 questions<BR></FONT><BR></DIV>
<DIV></DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>If you want to associate to AP. You better use
wpa_supplicant (wireless API).<BR><BR>--- On <B>Thu, 4/28/11, Tchang Chen
(ST-CO/ENG1.3) <I><Chen.Tchang@nl.bosch.com></I></B> wrote:<BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From:
Tchang Chen (ST-CO/ENG1.3) <Chen.Tchang@nl.bosch.com><BR>Subject:
RE: mac80211 questions<BR>To: "hong zhang"
<henryzhang62@yahoo.com><BR>Cc: "libnl@lists.infradead.org"
<libnl@lists.infradead.org><BR>Date: Thursday, April 28, 2011,
9:29 AM<BR><BR>
<DIV id=yiv1734722961>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2>Hello Hong,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2>Here is the whole action sequence (I added some extra print
statements for debugging purposes).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2><STRONG><FONT color=#800080>lspci<BR></FONT></STRONG>00:00.0 Host
bridge: Xilinx Corporation: Unknown device 0300 (rev 1a)<BR>00:01.0
Multimedia audio controller: ALi Corporation M5451 PCI AC-Link
Controller Audio Device (rev 02)<BR>00:02.0 ISA bridge: ALi Corporation
M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+]<BR>00:03.0 Modem:
ALi Corporation M5457 AC'97 Modem Controller<BR>00:09.0 PCI bridge:
Texas Instruments PCI2250 PCI-to-PCI Bridge (rev 02)<BR>00:0c.0 Non-VGA
unclassified device: ALi Corporation M7101 Power Management Controller
[PMU]<BR>00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev
03)<BR>01:03.0 Network controller: Ralink corp. RT2561/RT61 rev B
802.11g<BR><FONT color=#800080><STRONG>~ # modprobe rt2x00lib<BR>~ #
modprobe rt2x00pci<BR>~ # modprobe rt61pci<BR></STRONG></FONT>rt61pci
0000:01:03.0: enabling device (0000 -> 0002)<BR>rt61pci 0000:01:03.0:
enabling bus mastering<BR>rt61pci 0000:01:03.0: enabling
Mem-Wr-Inval<BR>phy0 -> rt61pci_validate_eeprom: EEPROM recovery -
NIC: 0xff80<BR>phy0 -> rt2x00_set_chip: Info - Chipset detected - rt:
2561, rf: 0003, rev: 000c.<BR>ieee80211 phy0: Selected rate control
algorithm 'minstrel_ht'<BR>Registered led device:
rt61pci-phy0::radio<BR>Registered led device:
rt61pci-phy0::assoc<BR><FONT color=#800080><STRONG>~ #
lsmod<BR></STRONG></FONT>rt61pci 26972 0 - Live 0xe00b7000<BR>rt2x00pci
3706 1 rt61pci, Live 0xe00a5000<BR>rt2x00lib 32489 2 rt61pci,rt2x00pci,
Live 0xe0076000<BR><FONT color=#800080><STRONG>~ # iwconfig wlan0 essid
CTC<BR>~ # iwconfig wlan0 channel 6<BR>~ # iwconfig wlan0 enc off rate
12Mb/s<BR>~ # iwconfig wlan0 ap 00:13:F7:44:21:74<BR>~ #
iwconfig<BR></STRONG></FONT>lo
no wireless extensions.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2>eth0 no wireless
extensions.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2>wlan0 IEEE 802.11bg
ESSID:"CTC"
<BR>
Mode:Managed Frequency:2.437 GHz Access Point:
Not-Associated
<BR> Tx-Power=0
dBm
<BR> Retry
long limit:7 RTS thr:off Fragment
thr:off<BR>
Encryption
key:off<BR> Power
Management:off<BR>
<BR><FONT color=#800080><STRONG>~ # ifconfig wlan0 192.168.2.11
up<BR></STRONG></FONT>phy0 -> rt2x00lib_start: Info - Entering
rt2x00lib_start ....<BR>phy0 -> rt2x00lib_request_firmware: Info -
Loading firmware file 'rt2561.bin'.<BR>phy0 ->
rt2x00lib_request_firmware: Info - Firmware detected - version:
0.8.<BR>phy0 -> rt2x00lib_request_firmware: Info - Firmware checked -
FW_OK<BR>phy0 -> rt2x00lib_load_firmware: Info - Firmware loaded,
retval = 0.<BR>phy0 -> rt2x00lib_start: Info - Firmware has been
loaded '0'.<BR>phy0 -> rt2x00lib_start: Info - Device has been
initialized '0'.<BR>phy0 -> rt2x00lib_enable_radio: Info -
Initializing all data queues ...<BR>phy0 -> rt2x00queue_init_queues:
Info - Resetting queue ....<BR>phy0 -> rt2x00queue_init_queues: Info
- queue->limit = 24<BR>phy0 -> rt2x00queue_init_queues: Info -
Resetting queue ....<BR>phy0 -> rt2x00queue_init_queues: Info -
queue->limit = 24<BR>phy0 -> rt2x00queue_init_queues: Info -
Resetting queue ....<BR>phy0 -> rt2x00queue_init_queues: Info -
queue->limit = 24<BR>phy0 -> rt2x00queue_init_queues: Info -
Resetting queue ....<BR>phy0 -> rt2x00queue_init_queues: Info -
queue->limit = 24<BR>phy0 -> rt2x00queue_init_queues: Info -
Resetting queue ....<BR>phy0 -> rt2x00queue_init_queues: Info -
queue->limit = 24<BR>phy0 -> rt2x00queue_init_queues: Info -
Resetting queue ....<BR>phy0 -> rt2x00queue_init_queues: Info -
queue->limit = 4<BR>phy0 -> rt2x00lib_enable_radio: Info - All
data queues have been initialized ...<BR>phy0 ->
rt2x00lib_enable_radio: Info - Set device state to RADIO on, status =
0.<BR>phy0 -> rt2x00lib_enable_radio: Info - Setting state, led_radio
and led_activity.<BR>phy0 -> rt2x00lib_enable_radio: Info - Enabling
RX ....<BR>phy0 -> rt2x00lib_enable_radio: Info - Starting watchdog
monitoring...<BR>phy0 -> rt2x00lib_enable_radio: Info - Waking the
queues ....<BR>phy0 -> rt2x00lib_start: Info - Radio has been enabled
'0'.<BR>ieee80211 phy0: Idle on, Count= 0<BR>ieee80211 phy0: device now
idle<BR>phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 -
CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.<BR>phy0 -> rt2x00mac_conf_tx:
Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop:
188.<BR>phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 -
CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.<BR>phy0 -> rt2x00mac_conf_tx:
Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop:
0.<BR>ieee80211 phy0: device no longer idle - scanning<BR>~ # ieee80211
phy0: Idle on, Count= 0<BR>ieee80211 phy0: device now idle<BR>ieee80211
phy0: Idle on, Count= 0<BR>ieee80211 phy0: Idle on, Count= 0<BR><FONT
color=#800080><STRONG>iwconfig<BR></STRONG></FONT>lo
no wireless extensions.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2>eth0 no wireless
extensions.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2>wlan0 IEEE 802.11bg
ESSID:"CTC"
<BR>
Mode:Managed Frequency:2.437 GHz Access Point:
Not-Associated
<BR> Tx-Power=20
dBm
<BR> Retry
long limit:7 RTS thr:off Fragment
thr:off<BR>
Encryption
key:off<BR> Power
Management:off<BR>
<BR><FONT color=#800080><STRONG>~ # ifconfig wlan0 192.168.2.11
down<BR></STRONG></FONT>ieee80211 phy0: Idle on, Count= 0<BR><FONT
color=#800080><STRONG>~ # <BR>~ # ifconfig wlan0 192.168.2.11
up<BR></STRONG></FONT>phy0 -> rt2x00lib_start: Info - Entering
rt2x00lib_start ....<BR>phy0 -> rt2x00lib_load_firmware: Info -
Firmware loaded, retval = 0.<BR>phy0 -> rt2x00lib_start: Info -
Firmware has been loaded '0'.<BR>phy0 -> rt2x00lib_start: Info -
Device has been initialized '0'.<BR>phy0 -> rt2x00lib_enable_radio:
Info - Initializing all data queues ...<BR>phy0 ->
rt2x00queue_init_queues: Info - Resetting queue ....<BR>phy0 ->
rt2x00queue_init_queues: Info - queue->limit = 24<BR>phy0 ->
rt2x00queue_init_queues: Info - Resetting queue ....<BR>phy0 ->
rt2x00queue_init_queues: Info - queue->limit = 24<BR>phy0 ->
rt2x00queue_init_queues: Info - Resetting queue ....<BR>phy0 ->
rt2x00queue_init_queues: Info - queue->limit = 24<BR>phy0 ->
rt2x00queue_init_queues: Info - Resetting queue ....<BR>phy0 ->
rt2x00queue_init_queues: Info - queue->limit = 24<BR>phy0 ->
rt2x00queue_init_queues: Info - Resetting queue ....<BR>phy0 ->
rt2x00queue_init_queues: Info - queue->limit = 24<BR>phy0 ->
rt2x00queue_init_queues: Info - Resetting queue ....<BR>phy0 ->
rt2x00queue_init_queues: Info - queue->limit = 4<BR>phy0 ->
rt2x00lib_enable_radio: Info - All data queues have been initialized
...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#800080
size=2><STRONG><Here the program stalls in module rt2x00dev.c,
function rx2x00lib_enable_radio</STRONG></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#800080
size=2><STRONG> at the point that the state is being set to
STATE_RADIO_ON, see below ...></STRONG></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial color=#800080
size=2><STRONG> </STRONG></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial color=#800080
size=2><STRONG>/*<BR> * Initialize all data queues.<BR>
*/<BR> /* Added by C. Tchang
*/ <BR> INFO(rt2x00dev, "Initializing all data queues
...\n");<BR> /* End added */
<BR> <BR> rt2x00queue_init_queues
(rt2x00dev);<BR> <BR> /* Added by C. Tchang
*/ <BR> INFO(rt2x00dev, "All data queues have been
initialized ...\n");<BR> /* End added */ </STRONG></FONT></DIV>
<DIV><FONT color=#800080><STRONG></STRONG></FONT> </DIV>
<DIV><FONT color=#800080><STRONG><FONT face=Arial size=2><FONT
color=#ff0000> /*<BR> * Enable radio.<BR>
*/<BR> status =<BR>
rt2x00dev->ops->lib->set_device_state(rt2x00dev,
STATE_RADIO_ON);<BR></FONT> <BR> /* Added by C. Tchang
*/ <BR> INFO(rt2x00dev, "Set device state to RADIO on,
status = %d.\n", status);<BR> /* End added */
<BR> <BR> if (status)<BR> return
status;</FONT></STRONG></FONT></DIV>
<DIV><FONT color=#800080><STRONG><FONT face=Arial
size=2></FONT></STRONG></FONT> </DIV>
<DIV><STRONG><SPAN class=yiv1734722961766380614-28042011><FONT
face=Arial
size=2>---------------------------------------------------</FONT></SPAN></STRONG></DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2>Q1: What could be the reason for this behavior
?</FONT></SPAN></DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2>I suppose there should be some acknowledge (or time-out) of the
state transition.</FONT></SPAN></DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2>Q2: How can I locate the respons of the Wireless card
? </FONT></SPAN></DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2>Q3: How can this be resolved ?</FONT></SPAN></DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2>Thx (again) for your support,</FONT></SPAN></DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011><FONT face=Arial
size=2>Chen</FONT></SPAN></DIV>
<DIV><SPAN class=yiv1734722961766380614-28042011></SPAN><SPAN
class=yiv1734722961766380614-28042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT color=#800080><BR></FONT>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> hong zhang
[mailto:henryzhang62@yahoo.com] <BR><B>Sent:</B> Thursday, April 28,
2011 4:05 AM<BR><B>To:</B> Tchang Chen (ST-CO/ENG1.3)<BR><B>Cc:</B>
libnl@lists.infradead.org<BR><B>Subject:</B> RE: mac80211
questions<BR></FONT><BR></DIV>
<DIV></DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>Which command does association?<BR>I do not see any
commands of both wireless extension and iw for scan,
associate.<BR><BR>--- On <B>Wed, 4/27/11, Tchang Chen
(ST-CO/ENG1.3) <I><Chen.Tchang@nl.bosch.com></I></B>
wrote:<BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From:
Tchang Chen (ST-CO/ENG1.3)
<Chen.Tchang@nl.bosch.com><BR>Subject: RE: mac80211
questions<BR>To: "hong zhang"
<henryzhang62@yahoo.com><BR>Cc:
"libnl@lists.infradead.org"
<libnl@lists.infradead.org><BR>Date: Wednesday, April 27,
2011, 5:23 AM<BR><BR>
<DIV id=yiv1734722961>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Hello Hong,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Thanks for your reply to my
libnl questions.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>I currently use the old Wireless
Extensions to configure my link.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>I don't think using Wireless
Extensions (in stead of iw) is the problem, but more the
mac80211</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>or even the link to the hardware
signals.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>After loading the modules
(mac80211, rt2x00lib, rt2x00pci and rt61pci) for a
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Ralink RT2561 mini-PCI wireless
card, I tried to setup a wireless link</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>(essid, channel, rate, end key
off, ap have been correctly set).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>I get the following
feedback:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>~ # ifconfig wlan0 192.168.2.2
up<BR>phy0 -> rt2x00lib_request_firmware: Info - Loading
firmware file 'rt2561.bin'.<BR>phy0 ->
rt2x00lib_request_firmware: Info - Firmware detected - version:
0.8.<BR>phy0 -> rt2x00lib_request_firmware: Info - Firmware
checked - FW_OK<BR>phy0 -> rt2x00lib_load_firmware: Info -
Firmware loaded, retval = 0.<BR>phy0 -> rt2x00lib_start: Info
- Device has been initialized '0'.<BR>phy0 ->
rt2x00lib_start: Info - Radio has been enabled '0'.<BR>ieee80211
phy0: device now idle<BR>phy0 -> rt2x00mac_conf_tx: Info -
Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop:
102.<BR>phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue
1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.<BR>phy0 ->
rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5,
CWmax: 10, Aifs: 3, TXop: 0.<BR>phy0 -> rt2x00mac_conf_tx:
Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7,
TXop: 0.<BR><STRONG><FONT color=#ff0000>ieee80211 phy0: device
no longer idle - scanning<BR>ieee80211 phy0: device now
idle</FONT></STRONG></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#800080
size=2><STRONG></STRONG></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff
size=2>iwconfig<BR>lo
no wireless extensions.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff
size=2>eth0 no wireless
extensions.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>wlan0
IEEE 802.11bg
ESSID:"CTC"<BR>
Mode:Managed Frequency:2.437 GHz <FONT
color=#ff0000>Access Point:
Not-Associated<BR></FONT>
Tx-Power=20
dBm<BR>
Retry long limit:7 RTS thr:off
Fragment
thr:off<BR>
Encryption
key:off<BR>
Power Management:off</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>The system did not manage to
associate with the AP.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Q1: What can be the reason(s)
for not obtaining an association with the AP
?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Q2: </FONT> <FONT
face=Arial color=#0000ff size=2>Where can I find more detailed
information about the corresponding action sequences
?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Q3: Which source files in
mac80211 are involved ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff
size=2> I could not locate
net/mac80211/ieee80211_sta.c in 2.6.37-4.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Q4: Do you perhaps have any
further suggestions how to debug this issue
?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Hope you can help me
again,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Best
regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2>Chen</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1734722961-27042011><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><FONT
face=Arial color=#0000ff size=2></FONT><FONT face=Arial
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff
size=2></FONT><BR>
<DIV class=yiv1734722961OutlookMessageHeader lang=en-us dir=ltr
align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> hong zhang
[mailto:henryzhang62@yahoo.com] <BR><B>Sent:</B> Wednesday,
April 27, 2011 3:10 AM<BR><B>To:</B> libnl@lists.infradead.org;
Tchang Chen (ST-CO/ENG1.3)<BR><B>Subject:</B> Re: Libnl
questions<BR></FONT><BR></DIV>
<DIV></DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top><FONT face=Arial color=#0000ff
size=2></FONT><BR><BR>--- On <B>Tue, 4/26/11, Tchang Chen
(ST-CO/ENG1.3) <I><Chen.Tchang@nl.bosch.com></I></B>
wrote:<BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><FONT
face=Arial color=#0000ff size=2></FONT><BR>From: Tchang
Chen (ST-CO/ENG1.3)
<Chen.Tchang@nl.bosch.com><BR>Subject: Libnl
questions<BR>To: "libnl@lists.infradead.org"
<libnl@lists.infradead.org><BR>Date: Tuesday,
April 26, 2011, 4:16 AM<BR><BR>
<DIV id=yiv1734722961>
<STYLE>#yiv1734722961 .yiv1734722961EmailQuote {
        PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt; BORDER-LEFT: #800000 2px solid
}
</STYLE>
<FONT face="Arial, sans-serif" size=2>
<DIV>Hi,</DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>I would like to use iw-0.9.22 in combination with
cfg80211, libnl and Linux kernel 2.6.37-4.</DIV>
<DIV>I noticed that cfg80211 is part of the Linux kernel
distribution 2.6.37-4.</DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>Q1: Can I use the latest libnl-3.0 in
combination with the software mentioned above ?</DIV>
<DIV> Or do I have to
apply an earlier version ? If so, which version will fit
best ?<BR><BR>ANS: Yes, you should be able to do
it.<BR></DIV>
<DIV> </DIV>
<DIV>Q2: I understand that nl80211 and cfg80211 are
intended to replace Wireless-Extensions.</DIV>
<DIV> Do is the additional
value of nl80211 ? Will cfg80211 be sufficient for setup
and configuration ?</DIV>
<DIV><BR>ANS: Yes, iw is degined to communicate with
wireless driver using nl80211/cfg80211 and wireless
stack. <BR><BR></DIV>
<DIV>Q3: I suspect that libnl should be implemented as
user kernel module in kernel space.</DIV>
<DIV> Is this assumption
correct ?</DIV>
<DIV><BR> ANS: Actually, libnl is used for user
space and kernel space.<BR><BR></DIV>
<DIV>Q4: Are there any other issues, which should be
taken in mind for achieving a succesful
implementation ?</DIV>
<DIV><BR>ANS: You use it and tell us what you find
out.<BR> <BR></DIV>
<DIV>My hardware platform: </DIV>
<DIV>PetaLinux v2.1 (embedded Linux 2.6.37-4 for a
MicroBlaze softcore processor on a FPGA)</DIV>
<DIV><BR></DIV>
<DIV>Hope you can help me with these questions,</DIV>
<DIV> </DIV>
<DIV>Thx and best regards,</DIV>
<DIV> </DIV>
<DIV>Chen</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Chen C. Tchang</DIV>
<DIV>BOSCH Security systems B.V.</DIV>
<DIV>ST-CO/ENG1.3 Development</DIV>
<DIV>Kapittelweg 10,</DIV>
<DIV>4827 HG Breda</DIV>
<DIV>The Netherlands</DIV>
<DIV> </DIV>
<DIV> </DIV></FONT></DIV><BR>-----Inline Attachment
Follows-----<BR><BR>
<DIV
class=yiv1734722961plainMail>_______________________________________________<BR>libnl
mailing list<BR><A
rel=nofollow>libnl@lists.infradead.org</A><BR><A
href="http://lists.infradead.org/mailman/listinfo/libnl"
target=_blank
rel=nofollow>http://lists.infradead.org/mailman/listinfo/libnl</A><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></BODY></HTML>