rtl_power: window functions