Home | History | Annotate | Download | only in p2p

Lines Matching defs:wps_method

17 	print "  %s -i <interface_name> -m <wps_method> \ " \
63 global wps_method
79 pin,wps_method,go_intent):
83 self.wps_method = wps_method
152 self.p2p_connect_arguements = {'wps_method':self.wps_method,
156 if (self.wps_method == 'display'):
160 print "Error:\n Pin required for wps_method=display"
170 elif (self.wps_method == 'keypad'):
174 print "Error:\n Pin required for wps_method=keypad"
180 " 15 for wps_method=keypad"
186 # for ./wpa_cli, p2p_connect [mac] [pin#], wps_method=keypad
187 elif (self.wps_method == 'pin'):
192 elif (self.wps_method == 'pbc'):
197 print "Error:\n wps_method not supported or does not exist"
215 if (self.wps_method == 'pin' and \
224 wps_method = None
253 wps_method = value
270 if (interface_name == None or wps_method == None or addr == None):
289 addr,pin,wps_method,go_intent)