Date: Tue, 7 Jun 2005 14:07:20 -0500 From: Sam Pierson <samuel.pierson@gmail.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Use if_ath.c for on the fly transmission power change? Message-ID: <d9204e4c0506071207e129313@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I was curious if there was a way to use the if_ath.c file in order to chang=
e
transmission power on the fly in the middle of a program. This is in if_a=
th:
ath_hal_setuptxdesc(ah, ds
, pktlen /* packet length */
, hdrlen /* header length */
, atype /* Atheros packet type */
, 0x60 /* txpower XXX */
, txrate, 1+10 /* series 0 rate/tries */
, iswep ? sc->sc_ic.ic_wep_txkey : HAL_TXKEYIX_INVALID
, antenna /* antenna mode */
, flags /* flags */
, ctsrate /* rts/cts rate */
, ctsduration /* rts/cts duration */
);
So I would assume there is a way to do it, although I seem stuck. Do I hav=
e
to construct each packet by hand (is this even feasible)? I saw back in=20
September that Sam Leffler said "per-packet TPC is not working right now",=
=20
so I assume that it may have been worked on or at least checked out since=
=20
then.
Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9204e4c0506071207e129313>
