On Sat, Jan 03, 2015 at 11:16:01AM +0000, Stuart Henderson wrote:
> On 2015-01-03, Alan Corey <alan01...@gmail.com> wrote:
> > I'm trying to do some antenna work so I want a weak signal from the
> > other side of the basement.  So I try stuff like ifconfig athn0
> > txpower 1 and get "ifconfig: SIOCS80211TXPOWER: Invalid argument".
> > Any number I've tried gives the same thing.  If I leave out the number
> > it tells me I need one.  Worse, the same thing happens with athn, ath,
> > urtwn, in OpenBSD 5.6, 5.2, 5.0.
> 
> Grepping over /sys/dev source, it appears that the only OpenBSD driver
> implementing this ioctl is wi(4).

You're missing all the net80211 drivers that handle it in ieee80211_ioctl().

$ fgrep -r IEEE80211_C_TXPMGT * 
ic/pgt.c:       ic->ic_caps = IEEE80211_C_WEP | IEEE80211_C_PMGT | 
IEEE80211_C_TXPMGT |
ic/rt2560.c:        IEEE80211_C_TXPMGT |        /* tx power management */
ic/rt2661.c:        IEEE80211_C_TXPMGT |        /* tx power management */
pci/if_ipw.c:       IEEE80211_C_TXPMGT |        /* tx power management */
pci/if_iwi.c:       IEEE80211_C_TXPMGT |        /* tx power management */
usb/if_ral.c:       IEEE80211_C_TXPMGT |        /* tx power management */
usb/if_rum.c:       IEEE80211_C_TXPMGT |        /* tx power management */
usb/if_uath.c:      IEEE80211_C_TXPMGT |        /* tx power management */
usb/if_urtw.c:      IEEE80211_C_TXPMGT |        /* tx power management */
usb/if_zyd.c:       IEEE80211_C_TXPMGT |        /* tx power management */

Reply via email to