<!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=007040010-27042011><FONT face=Arial
color=#0000ff size=2>Hello Hong,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-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=007040010-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=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-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=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2>I get the following feedback:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-27042011><FONT face=Arial
color=#800080 size=2><STRONG></STRONG></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-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=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2>Hope you can help me again,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2>Best regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=007040010-27042011><FONT face=Arial
color=#0000ff size=2>Chen</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=007040010-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=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, 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=yiv2073094841>
<STYLE>#yiv2073094841 .yiv2073094841EmailQuote {
        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=plainMail>_______________________________________________<BR>libnl
mailing list<BR><A href="/mc/compose?to=libnl@lists.infradead.org"
ymailto="mailto:libnl@lists.infradead.org">libnl@lists.infradead.org</A><BR><A
href="http://lists.infradead.org/mailman/listinfo/libnl"
target=_blank>http://lists.infradead.org/mailman/listinfo/libnl</A><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></BODY></HTML>