Bug 222681 - ifconfig txpower has no effect if set on a DOWN interface
Summary: ifconfig txpower has no effect if set on a DOWN interface
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-29 12:15 UTC by valentin.vergez@stormshield.eu
Modified: 2017-09-29 12:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description valentin.vergez@stormshield.eu 2017-09-29 12:15:38 UTC
Changing txpower on a wlan interface which is DOWN and then setting the interface UP has no effect on true output power.

ifconfig <interface> correctly displays the set txpower

It works perfectly if txpower is set when interface is UP.

Step to reproduce:
ifconfig wlan0 up
ifconfig wlan0 txpower 20
ifconfig wlan0 down
ifconfig wlan0 txpower 1
ifconfig wlan0 up
# Ifconfig now displays "txpower 1" but output power is still up to 20dBm