Lines Matching refs:ap_num
514 def change_server_address_index(self, ap_num=0, server_address_index=None): argument
524 interface = self.local_servers[ap_num]['interface'];
531 self.stop_local_server(self.local_servers[ap_num])
533 ap_num=ap_num,
539 ap_num=None, argument
576 if ap_num is None:
579 self.local_servers.insert(ap_num, params)
642 def get_wifi_channel(self, ap_num): argument
649 instance = self.hostapd_instances[ap_num]
653 def get_wifi_ip(self, ap_num): argument
665 return self.local_servers[ap_num]['netblock'].addr
668 def get_wifi_ip_subnet(self, ap_num): argument
679 return self.local_servers[ap_num]['netblock'].subnet
682 def get_hostapd_interface(self, ap_num): argument
689 if ap_num not in range(len(self.hostapd_instances)):
692 (ap_num, len(self.hostapd_instances)))
694 instance = self.hostapd_instances[ap_num]
714 def get_hostapd_mac(self, ap_num): argument
721 interface_name = self.get_hostapd_interface(ap_num)
726 def get_hostapd_phy(self, ap_num): argument
735 self.get_hostapd_interface(ap_num))