Mt76: script usage?

Recently in openWRT 22.03.2 it is using the 5.12 wireless drivers. The mt76 has a script called that helps generate device tree entries for power limits, does anyone know how to use this script and what file and parameters are passed to the script? An example would be great, thanks.