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
def run_iwscan(self): logger.debug('Scanning...') res = scan(self._interface_name) logger.debug('scan result: %s', res) return res