To change the transmit power, you just have to modify the initialization setting.
you should not change the PHY source code or attempt to write directly to the radio.
The file Nv_data.c contains the PA setting. change the 0xBC in line 0xFF for maximum power.
Note that transmitting with too high power might make your product not pass FCC or ETSI qualification.
BR,
Mads