Page MenuHomeFreeBSD

rtwn: add APIs for setting transmit power
ClosedPublic

Authored by adrian on Dec 7 2024, 4:34 PM.
Referenced Files
Unknown Object (File)
Thu, Dec 26, 4:26 AM
Unknown Object (File)
Wed, Dec 25, 9:19 PM
Unknown Object (File)
Wed, Dec 25, 11:08 AM
Unknown Object (File)
Wed, Dec 25, 10:31 AM
Unknown Object (File)
Wed, Dec 25, 9:31 AM
Unknown Object (File)
Wed, Dec 25, 4:34 AM
Unknown Object (File)
Wed, Dec 25, 3:16 AM
Unknown Object (File)
Thu, Dec 19, 2:57 PM
Subscribers

Details

Summary

The RTL8188/RTL8192/RTL8821/RTL8812 NICs all seem happy to have
their transmit power changed at runtime - and it does seem to do
what's expected - the transmit power level does change.

So, add the API call here, even though it's all currently no-ops.
A follow-up commit will land changes for the chipsets to both
limit transmit power to the configured / regulatory limit AND
allow reconfiguration at runtime.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

adrian requested review of this revision.Dec 7 2024, 4:34 PM
This revision is now accepted and ready to land.Thu, Dec 12, 6:17 PM
bz requested changes to this revision.Wed, Dec 18, 10:29 AM
bz added a subscriber: bz.

I think at least r92eu_attach is lacking the default initialization?

This revision now requires changes to proceed.Wed, Dec 18, 10:29 AM

from bz - add missing init

In D47979#1097408, @bz wrote:

I think at least r92eu_attach is lacking the default initialization?

fixed, good catch!

(I added the initialiser in a later commit in the stack, which is why I didn't catch it here..)

update from another rebase attempt

This revision is now accepted and ready to land.Wed, Dec 18, 9:58 PM
This revision was automatically updated to reflect the committed changes.