The BL5340PA must be used with the Laird Connectivity fork of the Nordic nRF Connect SDK (Zephyr) found at https://github.com/LairdCP/bl5340pa_manifest. The front-end module (FEM) driver limits the RF power output to be compliant with radio regulatory certifications achieved for the BL5340PA. The RF TX power tables are hardcoded in the driver.
Refer to section 6.2.4 BL5340PA Certified TX Power Per Regulatory Region and Hardware Variant for details.