<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">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>&lt;Chen.Tchang@nl.bosch.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Tchang Chen (ST-CO/ENG1.3) &lt;Chen.Tchang@nl.bosch.com&gt;<br>Subject: RE: mac80211 questions<br>To: "hong zhang" &lt;henryzhang62@yahoo.com&gt;<br>Cc: "libnl@lists.infradead.org" &lt;libnl@lists.infradead.org&gt;<br>Date: Thursday, April 28, 2011, 9:29 AM<br><br><div id="yiv1734722961">

 
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" size="2">Hello Hong,</font></span></div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" 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 -&gt; 0002)<br>rt61pci 0000:01:03.0: enabling bus 
mastering<br>rt61pci 0000:01:03.0: enabling Mem-Wr-Inval<br>phy0 -&gt; 
rt61pci_validate_eeprom: EEPROM recovery - NIC: 0xff80<br>phy0 -&gt; 
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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no 
wireless extensions.</font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" size="2">eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no wireless 
extensions.</font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" size="2">wlan0&nbsp;&nbsp;&nbsp;&nbsp; IEEE 802.11bg&nbsp; 
ESSID:"CTC"&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Mode:Managed&nbsp; Frequency:2.437 GHz&nbsp; Access Point: 
Not-Associated&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tx-Power=0 
dBm&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Retry&nbsp; long limit:7&nbsp;&nbsp; RTS thr:off&nbsp;&nbsp; Fragment 
thr:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Encryption 
key:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Power 
Management:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br><font color="#800080"><strong>~ # ifconfig wlan0 192.168.2.11 
up<br></strong></font>phy0 -&gt; rt2x00lib_start: Info - Entering 
rt2x00lib_start ....<br>phy0 -&gt; rt2x00lib_request_firmware: Info - Loading 
firmware file 'rt2561.bin'.<br>phy0 -&gt; rt2x00lib_request_firmware: Info - 
Firmware detected - version: 0.8.<br>phy0 -&gt; rt2x00lib_request_firmware: Info 
- Firmware checked - FW_OK<br>phy0 -&gt; rt2x00lib_load_firmware: Info - 
Firmware loaded, retval = 0.<br>phy0 -&gt; rt2x00lib_start: Info - Firmware has 
been loaded '0'.<br>phy0 -&gt; rt2x00lib_start: Info - Device has been 
initialized '0'.<br>phy0 -&gt; rt2x00lib_enable_radio: Info - Initializing all 
data queues ...<br>phy0 -&gt; rt2x00queue_init_queues: Info - Resetting queue 
....<br>phy0 -&gt; rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 
-&gt; rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 4<br>phy0 -&gt; 
rt2x00lib_enable_radio: Info - All data queues have been initialized ...<br>phy0 
-&gt; rt2x00lib_enable_radio: Info - Set device state to RADIO on, status = 
0.<br>phy0 -&gt; rt2x00lib_enable_radio: Info - Setting state, led_radio and 
led_activity.<br>phy0 -&gt; rt2x00lib_enable_radio: Info - Enabling RX 
....<br>phy0 -&gt; rt2x00lib_enable_radio: Info - Starting watchdog 
monitoring...<br>phy0 -&gt; rt2x00lib_enable_radio: Info - Waking the queues 
....<br>phy0 -&gt; rt2x00lib_start: Info - Radio has been enabled 
'0'.<br>ieee80211 phy0: Idle on, Count= 0<br>ieee80211 phy0: device now 
idle<br>phy0 -&gt; rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, 
CWmax: 4, Aifs: 2, TXop: 102.<br>phy0 -&gt; rt2x00mac_conf_tx: Info - Configured 
TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.<br>phy0 -&gt; 
rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, 
TXop: 0.<br>phy0 -&gt; 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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
no wireless extensions.</font></span></div>
<div><font color="#0000ff" face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" size="2">eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no wireless 
extensions.</font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" size="2">wlan0&nbsp;&nbsp;&nbsp;&nbsp; IEEE 802.11bg&nbsp; 
ESSID:"CTC"&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Mode:Managed&nbsp; Frequency:2.437 GHz&nbsp; Access Point: 
Not-Associated&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tx-Power=20 
dBm&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Retry&nbsp; long limit:7&nbsp;&nbsp; RTS thr:off&nbsp;&nbsp; Fragment 
thr:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Encryption 
key:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Power 
Management:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<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 -&gt; rt2x00lib_start: Info - Entering 
rt2x00lib_start ....<br>phy0 -&gt; rt2x00lib_load_firmware: Info - Firmware 
loaded, retval = 0.<br>phy0 -&gt; rt2x00lib_start: Info - Firmware has been 
loaded '0'.<br>phy0 -&gt; rt2x00lib_start: Info - Device has been initialized 
'0'.<br>phy0 -&gt; rt2x00lib_enable_radio: Info - Initializing all data queues 
...<br>phy0 -&gt; rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 
-&gt; rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 24<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - Resetting queue ....<br>phy0 -&gt; 
rt2x00queue_init_queues: Info - queue-&gt;limit = 4<br>phy0 -&gt; 
rt2x00lib_enable_radio: Info - All data queues have been initialized 
...</font></span></div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#800080" face="Arial" size="2"><strong>&lt;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 color="#800080" face="Arial" size="2"><strong>&nbsp; at the point that the state is being set to 
STATE_RADIO_ON, see below ...&gt;</strong></font></span></div>
<div dir="ltr" align="left"><span class="yiv1734722961766380614-28042011"><font color="#800080" face="Arial" size="2"><strong>&nbsp; </strong></font></span></div>
<div><font face="Arial" size="2"></font><font color="#800080" face="Arial" size="2"><strong>/*<br>&nbsp; * Initialize all data queues.<br>&nbsp; 
*/<br>&nbsp;/* Added by C. Tchang */&nbsp;&nbsp;<br>&nbsp;INFO(rt2x00dev, 
"Initializing all data queues ...\n");<br>&nbsp;/* End added */ 
<br>&nbsp;<br>&nbsp;rt2x00queue_init_queues (rt2x00dev);<br>&nbsp;<br>&nbsp;/* 
Added by C. Tchang */&nbsp;&nbsp;<br>&nbsp;INFO(rt2x00dev, "All data queues have 
been initialized ...\n");<br>&nbsp;/* End added */ </strong></font></div>
<div><font color="#800080"><strong></strong></font>&nbsp;</div>
<div><font color="#800080"><strong><font face="Arial" size="2"><font color="#ff0000">&nbsp;/*<br>&nbsp; * Enable radio.<br>&nbsp; */<br>&nbsp;status 
=<br>&nbsp;&nbsp;&nbsp;&nbsp; 
rt2x00dev-&gt;ops-&gt;lib-&gt;set_device_state(rt2x00dev, 
STATE_RADIO_ON);<br></font>&nbsp;<br>&nbsp;/* Added by C. Tchang 
*/&nbsp;&nbsp;<br>&nbsp;INFO(rt2x00dev, "Set device state to RADIO on, status = 
%d.\n", status);<br>&nbsp;/* End added */&nbsp;&nbsp;&nbsp; 
<br>&nbsp;<br>&nbsp;if (status)<br>&nbsp;&nbsp;return 
status;</font></strong></font></div>
<div><font color="#800080"><strong><font face="Arial" size="2"></font></strong></font>&nbsp;</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>&nbsp;</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&nbsp;can I 
locate the respons of the&nbsp;Wireless card ?&nbsp;</font></span></div>
<div><span class="yiv1734722961766380614-28042011"><font face="Arial" size="2"></font></span>&nbsp;</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>&nbsp;</div>
<div><span class="yiv1734722961766380614-28042011"><font face="Arial" size="2"></font></span>&nbsp;</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>&nbsp;</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>&nbsp;</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 border="0" cellpadding="0" cellspacing="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>&lt;Chen.Tchang@nl.bosch.com&gt;</i></b> wrote:<br>
      <blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(16, 16, 255);"><br>From: 
        Tchang Chen (ST-CO/ENG1.3) &lt;Chen.Tchang@nl.bosch.com&gt;<br>Subject: 
        RE: mac80211 questions<br>To: "hong zhang" 
        &lt;henryzhang62@yahoo.com&gt;<br>Cc: "libnl@lists.infradead.org" 
        &lt;libnl@lists.infradead.org&gt;<br>Date: Wednesday, April 27, 2011, 
        5:23 AM<br><br>
        <div id="yiv1734722961">
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">Hello Hong,</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">Thanks for your reply to my libnl 
        questions.</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2">or even the link to the hardware 
        signals.</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2">(essid, channel, rate, end key 
        off,&nbsp;ap have been correctly set).</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">I get the following 
        feedback:</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">~ # ifconfig wlan0 192.168.2.2 
        up<br>phy0 -&gt; rt2x00lib_request_firmware: Info - Loading firmware 
        file 'rt2561.bin'.<br>phy0 -&gt; rt2x00lib_request_firmware: Info - 
        Firmware detected - version: 0.8.<br>phy0 -&gt; 
        rt2x00lib_request_firmware: Info - Firmware checked - FW_OK<br>phy0 
        -&gt; rt2x00lib_load_firmware: Info - Firmware loaded, retval = 
        0.<br>phy0 -&gt; rt2x00lib_start: Info - Device has been initialized 
        '0'.<br>phy0 -&gt; rt2x00lib_start: Info - Radio has been enabled 
        '0'.<br>ieee80211 phy0: device now idle<br>phy0 -&gt; rt2x00mac_conf_tx: 
        Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 
        102.<br>phy0 -&gt; rt2x00mac_conf_tx: Info - Configured TX queue 1 - 
        CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.<br>phy0 -&gt; rt2x00mac_conf_tx: 
        Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 
        0.<br>phy0 -&gt; 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 color="#800080" face="Arial" size="2"><strong></strong></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">iwconfig<br>lo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no 
        wireless extensions.</font></span></div>
        <div><font color="#0000ff" face="Arial" size="2"></font>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no 
        wireless extensions.</font></span></div>
        <div><font color="#0000ff" face="Arial" size="2"></font>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">wlan0&nbsp;&nbsp;&nbsp;&nbsp; IEEE 
        802.11bg&nbsp; 
        ESSID:"CTC"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        Mode:Managed&nbsp; Frequency:2.437 GHz&nbsp; <font color="#ff0000">Access 
        Point: 
        Not-Associated<br></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        Tx-Power=20 
        dBm<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        Retry&nbsp; long limit:7&nbsp;&nbsp; RTS thr:off&nbsp;&nbsp; Fragment 
        thr:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        Encryption 
        key:off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Power 
        Management:off</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">Q2: </font>&nbsp;<font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">Q3: Which source files in mac80211 are 
        involved ?</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">Hope you can help me 
        again,</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">Best regards,</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2">Chen</font></span></div>
        <div dir="ltr" align="left"><span class="yiv1734722961-27042011"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><br>
        <div class="yiv1734722961OutlookMessageHeader" dir="ltr" lang="en-us" 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 border="0" cellpadding="0" cellspacing="0">
          <tbody>
          <tr>
            <td valign="top"><font color="#0000ff" face="Arial" size="2"></font><br><br>--- On <b>Tue, 4/26/11, Tchang Chen 
              (ST-CO/ENG1.3) <i>&lt;Chen.Tchang@nl.bosch.com&gt;</i></b> 
              wrote:<br>
              <blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(16, 16, 255);"><font color="#0000ff" face="Arial" size="2"></font><br>From: Tchang Chen 
                (ST-CO/ENG1.3) &lt;Chen.Tchang@nl.bosch.com&gt;<br>Subject: 
                Libnl questions<br>To: "libnl@lists.infradead.org" 
                &lt;libnl@lists.infradead.org&gt;<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>&nbsp;</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>&nbsp;</div>
                <div>Q1: Can I use the latest libnl-3.0&nbsp; in combination 
                with the software mentioned above ?</div>
                <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</div>
                <div>Q2: I understand that nl80211 and cfg80211 are intended to 
                replace Wireless-Extensions.</div>
                <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is this assumption correct 
                ?</div>
                <div><br>&nbsp;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&nbsp; for achieving a succesful implementation ?</div>
                <div><br>ANS: You use it and tell us what you find 
                out.<br>&nbsp;<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>&nbsp;</div>
                <div>Thx and best regards,</div>
                <div>&nbsp;</div>
                <div>Chen</div>
                <div>&nbsp;</div>
                <div>&nbsp;</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>&nbsp;</div>
                <div>&nbsp;</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 rel="nofollow" target="_blank" href="http://lists.infradead.org/mailman/listinfo/libnl">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></table>