Lines Matching refs:ap_num
527 def change_server_address_index(self, ap_num=0, server_address_index=None): argument
537 interface = self.local_servers[ap_num]['interface'];
544 self.stop_local_server(self.local_servers[ap_num])
546 ap_num=ap_num,
552 ap_num=None, argument
589 if ap_num is None:
592 self.local_servers.insert(ap_num, params)
655 def get_wifi_channel(self, ap_num): argument
662 instance = self.hostapd_instances[ap_num]
666 def get_wifi_ip(self, ap_num): argument
678 return self.local_servers[ap_num]['netblock'].addr
681 def get_wifi_ip_subnet(self, ap_num): argument
692 return self.local_servers[ap_num]['netblock'].subnet
695 def get_hostapd_interface(self, ap_num): argument
702 if ap_num not in range(len(self.hostapd_instances)):
705 (ap_num, len(self.hostapd_instances)))
707 instance = self.hostapd_instances[ap_num]
727 def get_hostapd_mac(self, ap_num): argument
734 interface_name = self.get_hostapd_interface(ap_num)
739 def get_hostapd_phy(self, ap_num): argument
748 self.get_hostapd_interface(ap_num))