Lines Matching refs:handler
265 std::function<void(unique_ptr<const NL80211Packet>)> handler) { in RegisterHandlerAndSendMessage() argument
273 message_handlers_[packet.GetMessageSequence()] = handler; in RegisterHandlerAndSendMessage()
537 const auto handler = on_station_event_handler_.find(if_index); in BroadcastHandler() local
538 if (handler != on_station_event_handler_.end()) { in BroadcastHandler()
545 handler->second(NEW_STATION, mac_address); in BroadcastHandler()
547 handler->second(DEL_STATION, mac_address); in BroadcastHandler()
592 for (const auto& handler : on_reg_domain_changed_handler_) { in OnRegChangeEvent() local
593 handler.second(handler.first, country_code); in OnRegChangeEvent()
604 const auto handler = on_mlme_event_handler_.find(if_index); in OnMlmeEvent() local
605 if (handler == on_mlme_event_handler_.end()) { in OnMlmeEvent()
614 handler->second->OnConnect(std::move(event)); in OnMlmeEvent()
621 handler->second->OnAssociate(std::move(event)); in OnMlmeEvent()
628 handler->second->OnRoam(std::move(event)); in OnMlmeEvent()
635 handler->second->OnDisconnect(std::move(event)); in OnMlmeEvent()
642 handler->second->OnDisassociate(std::move(event)); in OnMlmeEvent()
656 const auto handler = on_sched_scan_result_ready_handler_.find(if_index); in OnSchedScanResultsReady() local
657 if (handler == on_sched_scan_result_ready_handler_.end()) { in OnSchedScanResultsReady()
663 handler->second(if_index, packet->GetCommand() == NL80211_CMD_SCHED_SCAN_STOPPED); in OnSchedScanResultsReady()
677 const auto handler = on_scan_result_ready_handler_.find(if_index); in OnScanResultsReady() local
678 if (handler == on_scan_result_ready_handler_.end()) { in OnScanResultsReady()
707 handler->second(if_index, aborted, ssids, freqs); in OnScanResultsReady()
730 const auto handler = on_channel_switch_event_handler_.find(if_index); in OnChannelSwitchEvent() local
731 if (handler != on_channel_switch_event_handler_.end()) { in OnChannelSwitchEvent()
732 handler->second(frequency, getBandwidthType(bandwidth)); in OnChannelSwitchEvent()
755 const auto handler = on_frame_tx_status_event_handler_.find(if_index); in OnFrameTxStatusEvent() local
756 if (handler != on_frame_tx_status_event_handler_.end()) { in OnFrameTxStatusEvent()
757 handler->second(cookie, was_acked); in OnFrameTxStatusEvent()
763 OnStationEventHandler handler) { in SubscribeStationEvent() argument
764 on_station_event_handler_[interface_index] = handler; in SubscribeStationEvent()
773 OnChannelSwitchEventHandler handler) { in SubscribeChannelSwitchEvent() argument
774 on_channel_switch_event_handler_[interface_index] = handler; in SubscribeChannelSwitchEvent()
784 OnRegDomainChangedHandler handler) { in SubscribeRegDomainChange() argument
785 on_reg_domain_changed_handler_[wiphy_index] = handler; in SubscribeRegDomainChange()
794 OnScanResultsReadyHandler handler) { in SubscribeScanResultNotification() argument
795 on_scan_result_ready_handler_[interface_index] = handler; in SubscribeScanResultNotification()
804 MlmeEventHandler* handler) { in SubscribeMlmeEvent() argument
805 on_mlme_event_handler_[interface_index] = handler; in SubscribeMlmeEvent()
814 OnSchedScanResultsReadyHandler handler) { in SubscribeSchedScanResultNotification() argument
815 on_sched_scan_result_ready_handler_[interface_index] = handler; in SubscribeSchedScanResultNotification()
824 uint32_t interface_index, OnFrameTxStatusEventHandler handler) { in SubscribeFrameTxStatusEvent() argument
825 on_frame_tx_status_event_handler_[interface_index] = handler; in SubscribeFrameTxStatusEvent()