2013-05-07 17:02:24

by Ben Greear

[permalink] [raw]
Subject: Cannot set frequency on phy device in 3.9.0+ ??

Seems like this used to work. NIC is ath9k_htc driver, configured with one
VAP and one station. Both are admin down, but still get EBUSY when trying
to set the frequency. Seems like this used to work (on ath9k driver, at least).

[[email protected] lanforge]# ifconfig wlan1
wlan1 Link encap:Ethernet HWaddr A0:F3:C1:24:61:2B
inet addr:11.97.2.5 Bcast:11.97.255.255 Mask:255.255.0.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:761 errors:0 dropped:0 overruns:0 frame:0
TX packets:402 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:129222 (126.1 KiB) TX bytes:74364 (72.6 KiB)

[[email protected] lanforge]# ifconfig vap1
vap1 Link encap:Ethernet HWaddr 00:A0:00:00:00:90
inet addr:10.99.1.1 Bcast:10.99.255.255 Mask:255.255.0.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:16435018 errors:0 dropped:0 overruns:0 frame:0
TX packets:9082445 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2204413501 (2.0 GiB) TX bytes:1451899217 (1.3 GiB)

[[email protected] lanforge]# ./local/sbin/iw phy wiphy1 set freq 2437
command failed: Device or resource busy (-16)

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com