Hi all,
I try to set up a wireless connection on my Mini2440 with kernel 3.4 and
OSELAS BSP. As USB sticks i have TP-Link WN721N and WN821N.
I activated the Atheros ath9 driver and build in the kernel the firmware
blobs htc_9271.fw and htc_7010.fw preventing them from being build (got no
source for the firmware). I also activated LED features and so on for this
and also many other wireless drivers.
When i plug in the stick i got this response:
usb 1-1.3: new full-speed USB device number 4 using s3c2410-ohci
usb 1-1.3: not running at top speed; connect to a high speed hub
usb 1-1.3: New USB device found, idVendor=0cf3, idProduct=9271
usb 1-1.3: New USB device strings: Mfr=16, Product=32, SerialNumber=48
usb 1-1.3: Product: USB2.0 WLAN
usb 1-1.3: Manufacturer: ATHEROS
usb 1-1.3: SerialNumber: 12345
usb 1-1.3: ath9k_htc: Firmware htc_9271.fw requested
usb 1-1.3: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
ath9k_htc 1-1.3:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1.3:1.0: ath9k_htc: FW Version: 1.3
ieee80211 phy3: Atheros AR9271 Rev:1
Looks good to me so far.
wpa_supplicant.conf:
network={
ssid="caro"
key_mgmt=NONE
wep_key0=510C78B...and so on ;-)
wep_tx_keyidx=0
priority=5
}
When i try the command:
wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant.conf
i get the answer:
rfkill: Cannot open RFKILL control device
ADDRCONF(NETDEV_UP): wlan0: link is not ready
When entering the following:
ifconfig wlan0 192.168.0.50 up
wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant.conf
only:
rfkill: Cannot open RFKILL control device
I tried to enable RFKILL in the kernel (/proc/config.gz says it is not
enabled), but could not find an option or flag for it in the kernel menu.
When i manually enable it in the kernels .config (CONFIG_RFKILL=y) it would
be overwritten during compiling.
So what i do wrong and how can i solve this?
The firmware blobs are from
http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git.
Are they byte code or native code for the sticks controller. I wonder not
to find any source code for it.
I read a lot in the web but can't find how to enable rfkill or solve my
problem in another way.
Thanks in advance,
Titus
Pengutronix BSP Mini2440 and wpa_supplicant
Run the "ptxdist kernelconfig" and enter the '/' char, then enter RFKILL and the kernel dialogue will show you where RFKILL is located. Seems it is some GPIO or switch which can enable/disable the receiver/transmitter.
Hi Juergen, thank you! Yes, it is a GPIO. It is located under Networking support - RF switch subsystem support - GPIO RFKILL Additionally i have to enable Broadcom BF43xx Support, i don't know why, but have read that in internet. And also i don't know understand why the stick acts under wlan2 where wlan0 and wlan1 has no devices, but it works now for TP-Link WN721N and WN821N ;-) Good night, Titus

