How to change the P-max from 23 to 26 to use pwr class 2

Hi All,
I have to change the P-max from 23 to 26 to use pwr class 2, any idea how to do that?
What do I need to change?

NSA or SA case are you looking?

SA.
My device is HPUE capable.
Right now P-max value is 23.

For SA configuration, in FrequencyInfoUL one IE is there P-max, there you can configure.

I am not sure in SiB1 we can configure, but in rrc connection reconfiguration msg while configuring srb2 and drb that time you can configure.