Lines Matching refs:handler
272 std::function<void(unique_ptr<const NL80211Packet>)> handler) { in RegisterHandlerAndSendMessage() argument
280 message_handlers_[packet.GetMessageSequence()] = handler; in RegisterHandlerAndSendMessage()
570 const auto handler = on_station_event_handler_.find(if_index); in BroadcastHandler() local
571 if (handler != on_station_event_handler_.end()) { in BroadcastHandler()
578 handler->second(NEW_STATION, mac_address); in BroadcastHandler()
580 handler->second(DEL_STATION, mac_address); in BroadcastHandler()
625 for (const auto& handler : on_reg_domain_changed_handler_) { in OnRegChangeEvent() local
626 handler.second(handler.first, country_code); in OnRegChangeEvent()
637 const auto handler = on_mlme_event_handler_.find(if_index); in OnMlmeEvent() local
638 if (handler == on_mlme_event_handler_.end()) { in OnMlmeEvent()
647 handler->second->OnConnect(std::move(event)); in OnMlmeEvent()
654 handler->second->OnAssociate(std::move(event)); in OnMlmeEvent()
661 handler->second->OnRoam(std::move(event)); in OnMlmeEvent()
668 handler->second->OnDisconnect(std::move(event)); in OnMlmeEvent()
675 handler->second->OnDisassociate(std::move(event)); in OnMlmeEvent()
689 const auto handler = on_sched_scan_result_ready_handler_.find(if_index); in OnSchedScanResultsReady() local
690 if (handler == on_sched_scan_result_ready_handler_.end()) { in OnSchedScanResultsReady()
696 handler->second(if_index, packet->GetCommand() == NL80211_CMD_SCHED_SCAN_STOPPED); in OnSchedScanResultsReady()
710 const auto handler = on_scan_result_ready_handler_.find(if_index); in OnScanResultsReady() local
711 if (handler == on_scan_result_ready_handler_.end()) { in OnScanResultsReady()
740 handler->second(if_index, aborted, ssids, freqs); in OnScanResultsReady()
763 const auto handler = on_channel_switch_event_handler_.find(if_index); in OnChannelSwitchEvent() local
764 if (handler != on_channel_switch_event_handler_.end()) { in OnChannelSwitchEvent()
765 handler->second(frequency, getBandwidthType(bandwidth)); in OnChannelSwitchEvent()
788 const auto handler = on_frame_tx_status_event_handler_.find(if_index); in OnFrameTxStatusEvent() local
789 if (handler != on_frame_tx_status_event_handler_.end()) { in OnFrameTxStatusEvent()
790 handler->second(cookie, was_acked); in OnFrameTxStatusEvent()
796 OnStationEventHandler handler) { in SubscribeStationEvent() argument
797 on_station_event_handler_[interface_index] = handler; in SubscribeStationEvent()
806 OnChannelSwitchEventHandler handler) { in SubscribeChannelSwitchEvent() argument
807 on_channel_switch_event_handler_[interface_index] = handler; in SubscribeChannelSwitchEvent()
817 OnRegDomainChangedHandler handler) { in SubscribeRegDomainChange() argument
818 on_reg_domain_changed_handler_[wiphy_index] = handler; in SubscribeRegDomainChange()
827 OnScanResultsReadyHandler handler) { in SubscribeScanResultNotification() argument
828 on_scan_result_ready_handler_[interface_index] = handler; in SubscribeScanResultNotification()
837 MlmeEventHandler* handler) { in SubscribeMlmeEvent() argument
838 on_mlme_event_handler_[interface_index] = handler; in SubscribeMlmeEvent()
847 OnSchedScanResultsReadyHandler handler) { in SubscribeSchedScanResultNotification() argument
848 on_sched_scan_result_ready_handler_[interface_index] = handler; in SubscribeSchedScanResultNotification()
857 uint32_t interface_index, OnFrameTxStatusEventHandler handler) { in SubscribeFrameTxStatusEvent() argument
858 on_frame_tx_status_event_handler_[interface_index] = handler; in SubscribeFrameTxStatusEvent()