Skip to contentSkip to conversation

Cannot set frequency on phy device in 3.9.0+ ??

DISCUSSION Ben Greear 1 participant 1 message May 7, 2013

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

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).

[root@lec2010-ath9k-1 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)

[root@lec2010-ath9k-1 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)

[root@lec2010-ath9k-1 lanforge]# ./local/sbin/iw phy wiphy1 set freq 2437 command failed: Device or resource busy (-16)

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com