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)
Sat, Apr 12, 7:30 PM
Unknown Object (File)
Sun, Apr 6, 4:17 AM
Unknown Object (File)
Thu, Mar 27, 7:00 PM
Unknown Object (File)
Sun, Mar 23, 4:53 AM
Unknown Object (File)
Sat, Mar 22, 7:19 AM
Unknown Object (File)
Fri, Mar 21, 10:24 AM
Unknown Object (File)
Mar 18 2025, 11:40 PM
Unknown Object (File)
Mar 14 2025, 3:43 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.