Lines Matching refs:ap_num
615 def change_server_address_index(self, ap_num=0, server_address_index=None): argument
625 interface = self.local_servers[ap_num]['interface'];
632 self.stop_local_server(self.local_servers[ap_num])
634 ap_num=ap_num,
640 ap_num=None, argument
680 if ap_num is None:
683 self.local_servers.insert(ap_num, params)
752 def get_wifi_channel(self, ap_num): argument
759 instance = self.hostapd_instances[ap_num]
763 def get_wifi_ip(self, ap_num): argument
775 return self.local_servers[ap_num]['netblock'].addr
778 def get_wifi_ip_subnet(self, ap_num): argument
789 return self.local_servers[ap_num]['netblock'].subnet
792 def get_hostapd_interface(self, ap_num): argument
799 if ap_num not in list(range(len(self.hostapd_instances))):
802 (ap_num, len(self.hostapd_instances)))
804 instance = self.hostapd_instances[ap_num]
824 def get_hostapd_mac(self, ap_num): argument
831 interface_name = self.get_hostapd_interface(ap_num)
836 def get_hostapd_phy(self, ap_num): argument
845 self.get_hostapd_interface(ap_num))