TX Power restriction

Your allowed to tranmit no more than 14dBm through the minimum practical antenna, a dipole or 1/4wave vertical with radial, which is 2dBi.

So if you fit a 5dBi antenna you need to reduce transmit power by 3dBm.

If you have known cable and connector losses you can increase transmitted power to compensate.