Bug 5112 - iwconfig doesn't work
Summary: iwconfig doesn't work
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 1.5.2
Hardware: Other x86
: Medium major
Target Milestone: 1.5 M5
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-04 08:57 UTC by Yunguo
Modified: 2013-09-18 15:25 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yunguo 2013-09-04 08:57:11 UTC
root@genericx86:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr A0:88:B4:70:91:20  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
root@genericx86:~# iwconfig wlan0 essid tenda
Cannot read /proc/net/wireless
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Invalid argument.
root@genericx86:~# 
root@genericx86:~# 
root@genericx86:~# 
root@genericx86:~# iwconfig wlan0 
wlan0     no wireless extensions.
root@genericx86:~# dmesg |grep iwl
iwlwifi 0000:01:00.0: irq 46 for MSI/MSI-X
iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE disabled
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_P2P enabled
iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0
iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
root@genericx86:~# iwlist wlan0 scan
wlan0     Interface doesn't support scanning.


6205 wifi card is tested with LAVA CANYON target, but I believe it could be reproduced with other boards. This card is detected successfully by iwlwifi driver, but iwconfig doesn't work.
Comment 1 Yunguo 2013-09-04 09:00:48 UTC
Maybe CONFIG_WIRELESS_EXT should be enabled, but I don't have enough time to try that.

Yunguo
Comment 2 Darren Hart 2013-09-06 22:40:59 UTC
Patch sent to linux-yocto (needs validation)
Comment 3 Darren Hart 2013-09-18 15:25:58 UTC
Should be fixed in

5fca4d2 linux-yocto/3.10: genericx86 meta data factoring

Please verify