Found 2 other functions taking a
wps_config
argument:
wps_init - Initialize WPS Registration protocol data @cfg: WPS configuration Returns: Pointer to allocated data or %NULL on failure This function is used to initialize WPS data for a registration protocol instance (i.e., each run of registration protocol as a Registrar of Enrollee. The caller is responsible for freeing this data after the registration run has been completed by calling wps_deinit().