On 07/06/2017 12:38 AM, Emmanuel Grumbach wrote:
On Thu, Jul 6, 2017 at 5:51 AM, Larry Finger <[email protected]> wrote:

Someone using the rtlwifi code that is posted at GitHub wants to know the iw equivalent 
of "iwpriv wlan0 bandcfg" to limit the wireless interface to 802.11b, 802.11g, 
or 802.11n. I only use simple iw commands, and I could not answer the question.

This seems to be a private IOCTL and I can't find the code for that
handler in the kernel today. Even in wireless extensions..
I am not aware of something like this with iw today.

In iwlwifi we have module parameter for this since this should really
be used seldom.

I have some patches for wpa_supplicant and the wifi stack (and ath10k) that 
lets this work,
but it is fairly invasive, somewhat tricky to configure the supplicant properly,
and the kernel related patches were rejected some time back, so
it will only live in my trees for the foreseeable future.

If it is important to someone, they can find my kernels and hostapd and such 
here
and maybe google for past email from me about such things for hints:

https://github.com/greearb

Thanks,
Ben

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

Reply via email to