mac80211 questions
hong zhang
henryzhang62 at yahoo.com
Wed Apr 27 22:05:01 EDT 2011
Which command does association?
I do not see any commands of both wireless extension and iw for scan, associate.
--- On Wed, 4/27/11, Tchang Chen (ST-CO/ENG1.3) <Chen.Tchang at nl.bosch.com> wrote:
From: Tchang Chen (ST-CO/ENG1.3) <Chen.Tchang at nl.bosch.com>
Subject: RE: mac80211 questions
To: "hong zhang" <henryzhang62 at yahoo.com>
Cc: "libnl at lists.infradead.org" <libnl at lists.infradead.org>
Date: Wednesday, April 27, 2011, 5:23 AM
Hello Hong,
Thanks for your reply to my libnl
questions.
I currently use the old Wireless Extensions to configure my
link.
I don't think using Wireless Extensions (in stead of iw) is
the problem, but more the mac80211
or even the link to the hardware
signals.
After loading the modules (mac80211, rt2x00lib, rt2x00pci
and rt61pci) for a
Ralink RT2561 mini-PCI wireless card, I tried to setup a
wireless link
(essid, channel, rate, end key off, ap have been
correctly set).
I get the following feedback:
~ # ifconfig wlan0 192.168.2.2 up
phy0 ->
rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561.bin'.
phy0
-> rt2x00lib_request_firmware: Info - Firmware detected - version:
0.8.
phy0 -> rt2x00lib_request_firmware: Info - Firmware checked -
FW_OK
phy0 -> rt2x00lib_load_firmware: Info - Firmware loaded, retval =
0.
phy0 -> rt2x00lib_start: Info - Device has been initialized
'0'.
phy0 -> rt2x00lib_start: Info - Radio has been enabled
'0'.
ieee80211 phy0: device now idle
phy0 -> rt2x00mac_conf_tx: Info -
Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
phy0 ->
rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2,
TXop: 188.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 -
CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info -
Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
ieee80211 phy0: device no longer idle - scanning
ieee80211
phy0: device now idle
iwconfig
lo no
wireless extensions.
eth0 no wireless
extensions.
wlan0 IEEE 802.11bg
ESSID:"CTC"
Mode:Managed Frequency:2.437 GHz Access Point:
Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment
thr:off
Encryption
key:off
Power
Management:off
The system did not manage to associate with the
AP.
Q1: What can be the reason(s) for not obtaining an
association with the AP ?
Q2: Where can I find more detailed information about the corresponding action
sequences ?
Q3: Which source files in mac80211 are involved
?
I could not locate
net/mac80211/ieee80211_sta.c in 2.6.37-4.
Q4: Do you perhaps have any further suggestions how to
debug this issue ?
Hope you can help me again,
Best regards,
Chen
From: hong zhang [mailto:henryzhang62 at yahoo.com]
Sent: Wednesday, April 27, 2011 3:10 AM
To:
libnl at lists.infradead.org; Tchang Chen (ST-CO/ENG1.3)
Subject: Re:
Libnl questions
--- On
Tue, 4/26/11, Tchang Chen (ST-CO/ENG1.3)
<Chen.Tchang at nl.bosch.com> wrote:
From: Tchang Chen
(ST-CO/ENG1.3) <Chen.Tchang at nl.bosch.com>
Subject: Libnl
questions
To: "libnl at lists.infradead.org"
<libnl at lists.infradead.org>
Date: Tuesday, April 26, 2011, 4:16
AM
#yiv62061886 .yiv62061886EmailQuote {
PADDING-LEFT:4pt;MARGIN-LEFT:1pt;BORDER-LEFT:#800000 2px solid;}
Hi,
I would like to use iw-0.9.22 in combination with cfg80211, libnl
and Linux kernel 2.6.37-4.
I noticed that cfg80211 is part of the Linux kernel distribution
2.6.37-4.
Q1: Can I use the latest libnl-3.0 in combination with the
software mentioned above ?
Or do I have to apply an earlier
version ? If so, which version will fit best ?
ANS: Yes, you
should be able to do it.
Q2: I understand that nl80211 and cfg80211 are intended to replace
Wireless-Extensions.
Do is the additional value of
nl80211 ? Will cfg80211 be sufficient for setup and configuration
?
ANS: Yes, iw is degined to communicate with wireless driver
using nl80211/cfg80211 and wireless stack.
Q3: I suspect that libnl should be implemented as user kernel
module in kernel space.
Is this assumption correct ?
ANS: Actually, libnl is used for user space and kernel
space.
Q4: Are there any other issues, which should be taken in mind
for achieving a succesful implementation ?
ANS: You use it and tell us what you find
out.
My hardware platform:
PetaLinux v2.1 (embedded Linux 2.6.37-4 for a MicroBlaze softcore
processor on a FPGA)
Hope you can help me with these questions,
Thx and best regards,
Chen
Chen C. Tchang
BOSCH Security systems B.V.
ST-CO/ENG1.3 Development
Kapittelweg 10,
4827 HG Breda
The Netherlands
-----Inline Attachment
Follows-----
_______________________________________________
libnl
mailing list
libnl at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/libnl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20110427/9e1567b6/attachment.html>
More information about the libnl
mailing list