Search Linux Wireless

Re: Set channel (freq) and bandwidth (BW) using iw command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Okhwan;

Okhwan Lee <ohlee@...> writes:
> $ modprobe ath10k_pci
> $ iw wlan0 set channel 36 HT20
> command failed: Device or resource busy (-16)
> $ iw wlan0 set freq 5180 40 5190
> command failed: Device or resource busy (-16)
> $ iw wlan0 set freq 5180 80 5210
> command failed: Device or resource busy (-16)

I think that the first step to make this work is that
the interface has to be "up". Another think to consider is
which interface modes do allow manual channel setting.

This works for me:
ip link set wlan0 down
iw dev wlan0 set type monitor
ip link set wlan0 up
iw dev wlan0 set freq 5825

Best regards;
Rostislav


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux