On Thu, Jul 6, 2017 at 5:51 AM, Larry Finger <Larry.Finger@xxxxxxxxxxxx> 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.