[PATCHv3 1/6] wps: add new WPS API