Modify wps pbc timeout

Hello,

Is there anyway to modify the default 2 minutes timeout for wps_pbc in hostapd configuration? The hostapd_cli command only offers this option for wps pin method, but I was wondering if there is a way to set a custom timer for wps pbc method as well.

I am also interested if there is a way to configure hostapd to automatically turn off WPS discovery mode after a connection is established.

I am using openwrt 21.02 and hostapd_cli v2.10.

Thank you!