Lines Matching refs:handler
265 std::function<void(unique_ptr<const NL80211Packet>)> handler) { in RegisterHandlerAndSendMessage() argument
273 message_handlers_[packet.GetMessageSequence()] = handler; in RegisterHandlerAndSendMessage()
536 const auto handler = on_station_event_handler_.find(if_index); in BroadcastHandler() local
537 if (handler != on_station_event_handler_.end()) { in BroadcastHandler()
544 handler->second(NEW_STATION, mac_address); in BroadcastHandler()
546 handler->second(DEL_STATION, mac_address); in BroadcastHandler()
591 for (const auto& handler : on_reg_domain_changed_handler_) { in OnRegChangeEvent() local
592 handler.second(country_code); in OnRegChangeEvent()
603 const auto handler = on_mlme_event_handler_.find(if_index); in OnMlmeEvent() local
604 if (handler == on_mlme_event_handler_.end()) { in OnMlmeEvent()
613 handler->second->OnConnect(std::move(event)); in OnMlmeEvent()
620 handler->second->OnAssociate(std::move(event)); in OnMlmeEvent()
627 handler->second->OnRoam(std::move(event)); in OnMlmeEvent()
634 handler->second->OnDisconnect(std::move(event)); in OnMlmeEvent()
641 handler->second->OnDisassociate(std::move(event)); in OnMlmeEvent()
655 const auto handler = on_sched_scan_result_ready_handler_.find(if_index); in OnSchedScanResultsReady() local
656 if (handler == on_sched_scan_result_ready_handler_.end()) { in OnSchedScanResultsReady()
662 handler->second(if_index, packet->GetCommand() == NL80211_CMD_SCHED_SCAN_STOPPED); in OnSchedScanResultsReady()
676 const auto handler = on_scan_result_ready_handler_.find(if_index); in OnScanResultsReady() local
677 if (handler == on_scan_result_ready_handler_.end()) { in OnScanResultsReady()
706 handler->second(if_index, aborted, ssids, freqs); in OnScanResultsReady()
729 const auto handler = on_channel_switch_event_handler_.find(if_index); in OnChannelSwitchEvent() local
730 if (handler != on_channel_switch_event_handler_.end()) { in OnChannelSwitchEvent()
731 handler->second(frequency, getBandwidthType(bandwidth)); in OnChannelSwitchEvent()
754 const auto handler = on_frame_tx_status_event_handler_.find(if_index); in OnFrameTxStatusEvent() local
755 if (handler != on_frame_tx_status_event_handler_.end()) { in OnFrameTxStatusEvent()
756 handler->second(cookie, was_acked); in OnFrameTxStatusEvent()
762 OnStationEventHandler handler) { in SubscribeStationEvent() argument
763 on_station_event_handler_[interface_index] = handler; in SubscribeStationEvent()
772 OnChannelSwitchEventHandler handler) { in SubscribeChannelSwitchEvent() argument
773 on_channel_switch_event_handler_[interface_index] = handler; in SubscribeChannelSwitchEvent()
783 OnRegDomainChangedHandler handler) { in SubscribeRegDomainChange() argument
784 on_reg_domain_changed_handler_[wiphy_index] = handler; in SubscribeRegDomainChange()
793 OnScanResultsReadyHandler handler) { in SubscribeScanResultNotification() argument
794 on_scan_result_ready_handler_[interface_index] = handler; in SubscribeScanResultNotification()
803 MlmeEventHandler* handler) { in SubscribeMlmeEvent() argument
804 on_mlme_event_handler_[interface_index] = handler; in SubscribeMlmeEvent()
813 OnSchedScanResultsReadyHandler handler) { in SubscribeSchedScanResultNotification() argument
814 on_sched_scan_result_ready_handler_[interface_index] = handler; in SubscribeSchedScanResultNotification()
823 uint32_t interface_index, OnFrameTxStatusEventHandler handler) { in SubscribeFrameTxStatusEvent() argument
824 on_frame_tx_status_event_handler_[interface_index] = handler; in SubscribeFrameTxStatusEvent()