Page MenuHomeFreeBSD

Fix tx power (diff) calculation for rtl8812au/rtl8821au
ClosedPublic

Authored by kevlo on Nov 18 2016, 9:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 3:45 PM
Unknown Object (File)
Tue, Dec 3, 7:33 PM
Unknown Object (File)
Nov 24 2024, 4:07 AM
Unknown Object (File)
Nov 23 2024, 11:08 PM
Unknown Object (File)
Nov 23 2024, 1:54 AM
Unknown Object (File)
Nov 21 2024, 4:31 PM
Unknown Object (File)
Nov 12 2024, 9:24 PM
Unknown Object (File)
Nov 12 2024, 8:53 PM
Subscribers
None

Details

Summary

The diff fixes two bugs for RTL8812AU/RTL8821AU

  1. the Tx power (diff) values should be signed
  2. fix diff calculation; For example, the values of pwr_diff_2g->diff123[0].ofdm_cck and pwr_diff_2g->diff123[0].ht40_ht20 were not calculated

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kevlo retitled this revision from to Fix tx power (diff) calculation for rtl8812au/rtl8821au.
kevlo updated this object.
kevlo edited the test plan for this revision. (Show Details)
kevlo added reviewers: avos, adrian.
adrian edited edge metadata.
This revision is now accepted and ready to land.Nov 18 2016, 6:07 PM

(but definitely get avos@ input before comimtting!)

avos edited edge metadata.

Yes, this is off-by-one bug. Thanks!

RTL8821AU

It does not use these fields (1T1R); that's why it went unnoticed.

This revision was automatically updated to reflect the committed changes.