Lines Matching refs:peer_mac_address
56 string TDLSManager::PerformOperation(const string& peer_mac_address, in PerformOperation() argument
62 << " for peer " << peer_mac_address; in PerformOperation()
66 success = DiscoverPeer(peer_mac_address); in PerformOperation()
68 success = SetupPeer(peer_mac_address); in PerformOperation()
70 string supplicant_status = PeerStatus(peer_mac_address); in PerformOperation()
79 if (CheckDiscoveryState(peer_mac_address) == in PerformOperation()
93 success = TearDownPeer(peer_mac_address); in PerformOperation()
107 void TDLSManager::OnDiscoverResponseReceived(const string& peer_mac_address) { in OnDiscoverResponseReceived() argument
108 if (CheckDiscoveryState(peer_mac_address) == in OnDiscoverResponseReceived()
110 peer_discovery_state_[peer_mac_address] = in OnDiscoverResponseReceived()
115 bool TDLSManager::DiscoverPeer(const string& peer_mac_address) { in DiscoverPeer() argument
116 if (!supplicant_interface_proxy_->TDLSDiscover(peer_mac_address)) { in DiscoverPeer()
120 peer_discovery_state_[peer_mac_address] = PeerDiscoveryState::kRequestSent; in DiscoverPeer()
125 bool TDLSManager::SetupPeer(const string& peer_mac_address) { in SetupPeer() argument
126 if (!supplicant_interface_proxy_->TDLSSetup(peer_mac_address)) { in SetupPeer()
133 bool TDLSManager::TearDownPeer(const string& peer_mac_address) { in TearDownPeer() argument
134 if (!supplicant_interface_proxy_->TDLSTeardown(peer_mac_address)) { in TearDownPeer()
141 string TDLSManager::PeerStatus(const string& peer_mac_address) { in PeerStatus() argument
143 if (!supplicant_interface_proxy_->TDLSStatus(peer_mac_address, &status)) { in PeerStatus()
168 const string& peer_mac_address) { in CheckDiscoveryState() argument
169 auto iter = peer_discovery_state_.find(peer_mac_address); in CheckDiscoveryState()