The run(4) driver on a fully updated FreeBSD 11.1-RELEASE does not support modifying the txpower level using ifconfig(8) for the Ralink RT5370 USB wireless adapter (Device ID 148f:5370). E.g.: # ifconfig wlan0 txpower 1 ifconfig: SIOCS80211: Operation not supported Txpower can be changed on the exact same computer & usb adapter hardware running Debian Linux 8 Jessie with its "iwconfig txpower" command.
Issue is still occurring on a fresh install of FreeBSD 11.2-BETA1.
Issue is still occurring on a fresh install of FreeBSD 11.2-BETA2, 11.3-BETA3 and 12.0-CURRENT (20180521).
Hi, The RUN driver is located here: /usr/src/sys/dev/usb/wlan/if_run.c Can you make a patch? Is this feature implemented for other systems Linux/*BSD ?? --HPS
(In reply to Hans Petter Selasky from comment #3) Hi Hans, I would write a patch if I knew how to, but unfortunately I don't. I'm not a programmer, simply an advanced user. Txpower can be changed on the exact same computer & usb-wifi adapter hardware running Debian Linux 8 Jessie with its "iwconfig txpower" command. It is using the rt2800usb driver on Debian: https://github.com/torvalds/linux/blob/master/drivers/net/wireless/ralink/rt2x00/rt2800usb.c
No change with FreeBSD-12.0-CURRENT-amd64-20180618-r335317
There is no code to do this in this driver as far as I can tell. Someone would have to write it. :-(
Should the "Component" field be set to "wireless" & the Assignee to "freebsd-wireless mailing list"?