Skip to content

Commit

Permalink
Merge pull request lwfinger#20 from yagoplx/patch-1
Browse files Browse the repository at this point in the history
Update the manual transmit power control text
  • Loading branch information
lwfinger committed Oct 24, 2020
2 parents 892188d + 08b2fc4 commit 1030c7f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hal/rtl8192e/rtl8192e_phycfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
Note that these options may override your country's regulations about transmit power.
Setting the device to work at higher transmit powers most of the time may cause premature
failure or damage by overheating. Make sure the device has enough airflow before you increase this.
It is currently unknown what these values translate to in dBm.
To get the equivalent in dBm, just divide the value by two, eg: 63 -> 31dBm
Very high values will introduce signal distortions from amplifier nonlinearity and may give diminishing returns.
OBSERVATION: While these values do change the device's transmit power, the driver can't report these numbers to userspace yet so you
will just see 12dBm in system tools like iwconfig. This value is never correct, so you will have to eyeball things.
*/

// Transmit Power Boost
Expand All @@ -32,6 +36,7 @@
// Can take a negative value as well to reduce power.
// Zero disables it. Default: 2, for a tiny boost.
int transmit_power_boost = 2;

// (ADVANCED) To know what transmit powers this device decides to use dynamically, see:
// https://github.com/lwfinger/rtl8192ee/blob/42ad92dcc71cb15a62f8c39e50debe3a28566b5f/hal/phydm/rtl8192e/halhwimg8192e_rf.c#L1310

Expand Down

0 comments on commit 1030c7f

Please sign in to comment.