How to get 28dBm on the module Heltec ESP32 V4

How to get 28dBm on the module Heltec ESP32 V4

Hello,
I use modules
heltec HTIT_WB32LAF 28db
with library examples LoRaSender and LoRa Receiver
The programs work correctly and I get reception up to about 1.5km
I can’t find the driver or command that allows for an output power of 28dBm
In the driver, the power seems to be limited to 20dBm

Arduino/libraties/Heltec_ESP32_Dev-Boards/src/driver/sx126x

#if defined(WIFI_LORA_32_V4)||defined(WIRELESS_TRACKER_V2)
//y = 0.0004x^3 - 0.011x^2 + 1.0866x - 11.365
int8_t pa_power = power;
power = floor(0.0004pow(pa_power, 3) - 0.011pow(pa_power, 2) + 1.0866pa_power - 11.365);
if( power > 20 )
{
power = 20;
}
else if( power < -9 )
{
power = -9;
}
my program/
Heltec Automation send communication test example
*

//modifié avec la gestion de l’afficheur le 15/01/2025
//je ne sais pas où il va trouver les bonnes broches de cette version?

#include “LoRaWan_APP.h”
#include “Arduino.h”
//info afficheur
#include <Wire.h>
#include “HT_SSD1306Wire.h”
#include “images.h” //pour dessiner le logo

static SSD1306Wire display(0x3c, 500000, SDA_OLED, SCL_OLED, GEOMETRY_128_64, RST_OLED); // addr , freq , i2c group , resolution , rst

#define RF_FREQUENCY 866000000 // Hz , fréquence en Europe

#define TX_OUTPUT_POWER 28 // dBm entre quoi et quoi? max=?

#define LORA_BANDWIDTH 0 // [0: 125 kHz,
// 1: 250 kHz,
// 2: 500 kHz,
// 3: Reserved]
#define LORA_SPREADING_FACTOR 7 // [SF7…SF12]
#define LORA_CODINGRATE 1 // [1: 4/5,
// 2: 4/6,
// 3: 4/7,
// 4: 4/8]
#define LORA_PREAMBLE_LENGTH 8 // Same for Tx and Rx
#define LORA_SYMBOL_TIMEOUT 0 // Symbols
#define LORA_FIX_LENGTH_PAYLOAD_ON false
#define LORA_IQ_INVERSION_ON false
etc…
my question :

What needs to be done to achieve a power level of 28dBm and control the output circuit with DIO2 (PA_CTX)?
Thanks

Thinking about it, I believe the power module is automatically activated on the V4.
If that were not the case, the transmitter would not work.

With the declaration
#define TX_OUTPUT_POWER 20 // dBm +8
I think we get 28dBm
see
src/driver/board-config
Thanks