wps_registrar_button_pushed() function
wps_registrar_button_pushed - Notify Registrar that AP button was pushed @reg: Registrar data from wps_registrar_init() @p2p_dev_addr: Limit allowed PBC devices to the specified P2P device, %NULL indicates no such filtering Returns: 0 on success, -1 on failure, -2 on session overlap This function is called on an AP when a push button is pushed to activate PBC mode. The PBC mode will be stopped after walk time (2 minutes) timeout or when a PBC registration is completed. If more than one Enrollee in active PBC mode has been detected during the monitor time (previous 2 minutes), the PBC mode is not activated and -2 is returned to indicate session overlap. This is skipped if a specific Enrollee is selected.
wps_registrar_button_pushed() is called by 1 function and calls 7 functions:
![]()
wps_registrar_button_pushed()
wps_registrar_button_pushed() reads 4 variables and writes 3 variables:
![]()
wps_registrar_button_pushed()