Lines Matching full:hostapd
86 wireless device. We also assume hostapd 0.7.x and iw are present
97 HOSTAPD_CONF_FILE_PATTERN = '/tmp/hostapd-test-%s.conf'
98 HOSTAPD_LOG_FILE_PATTERN = '/tmp/hostapd-test-%s.log'
99 HOSTAPD_STDERR_LOG_FILE_PATTERN = '/tmp/hostapd-stderr-test-%s.log'
100 HOSTAPD_CONTROL_INTERFACE_PATTERN = '/tmp/hostapd-test-%s.ctrl'
170 '/usr/sbin/hostapd', host=self.host)
187 # hostapd configuration persists throughout the test, subsequent
203 # Kill hostapd and dhcp server if already running.
204 self._kill_process_instance('hostapd', timeout_seconds=30)
222 # dnsmasq and hostapd cause interesting events to go to system logs.
247 """Start a hostapd instance described by conf.
266 logging.debug('hostapd parameters: %r', hostapd_conf_dict)
268 # Generate hostapd.conf.
273 # Run hostapd.
274 logging.info('Starting hostapd on %s(%s) channel=%s...',
292 logging.info('Waiting for hostapd to startup.')
307 raise error.TestFail('hostapd failed to initialize AP '
314 raise error.TestFail('hostapd process terminated.')
318 raise error.TestFail('Timed out while waiting for hostapd '
366 """Kills a hostapd instance.
389 logging.error('Did not collect hostapd log file because '
395 raise error.TestError('Timed out killing hostapd.')
420 """Build up a hostapd configuration file and start hostapd.
520 @param ap_num: int hostapd instance number.
683 """Get the name of the interface associated with a hostapd instance.
685 @param ap_num: int hostapd instance number.
727 """Get name of phy for hostapd instance.
729 @param ap_num int index of hostapd instance.
730 @return string phy name of phy corresponding to hostapd's
748 instances of hostapd.
772 # hostapd uses to send beacon and DEAUTH packets.
795 """Bring down the hostapd interface.
805 """Verify that the PMKSA auth was cached on a hostapd instance.
823 raise error.TestFail('No instance of hostapd specified with '
866 """Injects a management frame into an active hostapd session.
870 @param instance int indicating which hostapd instance to inject into.
943 """Detects whether hostapd has logged a deauthentication from
947 @param instance int indicating which hostapd instance to query.
959 """Detects whether hostapd has logged an action frame from
963 @param instance int indicating which hostapd instance to query.
987 @param instance int indicating which hostapd instance to connect to.
991 raise error.TestFail('Hostapd is not configured.')