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)
Wed, Nov 12, 4:24 AM
Unknown Object (File)
Sat, Nov 8, 7:26 PM
Unknown Object (File)
Thu, Nov 6, 8:56 AM
Unknown Object (File)
Wed, Nov 5, 12:24 AM
Unknown Object (File)
Tue, Nov 4, 2:22 AM
Unknown Object (File)
Sun, Nov 2, 2:17 AM
Unknown Object (File)
Thu, Oct 30, 3:15 PM
Unknown Object (File)
Thu, Oct 30, 2:52 AM
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.Dec 12 2024, 6:17 PM
bz requested changes to this revision.Dec 18 2024, 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.Dec 18 2024, 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.Dec 18 2024, 9:58 PM
This revision was automatically updated to reflect the committed changes.