コード例 #1
0
 def run(self):
     res = {'iperf': self._run_all_iperf()}
     logger.debug('Getting iwconfig...')
     res['config'] = get_iwconfig(self._interface_name)
     logger.debug('iwconfig result: %s', res['config'])
     logger.debug('Scanning...')
     res['scan'] = scan(self._interface_name)
     logger.debug('scan result: %s', res['scan'])
     return res
コード例 #2
0
 def run_iwscan(self):
     logger.debug('Scanning...')
     res = scan(self._interface_name)
     logger.debug('scan result: %s', res)
     return res