Home
last modified time | relevance | path

Searched refs:Nl80211Message (Results 1 – 25 of 32) sorted by relevance

12

/system/connectivity/shill/net/
Dnl80211_message.h36 class SHILL_EXPORT Nl80211Message : public GenericNetlinkMessage {
40 Nl80211Message(uint8_t command, const char* command_string) in Nl80211Message() function
42 ~Nl80211Message() override {} in ~Nl80211Message()
72 DISALLOW_COPY_AND_ASSIGN(Nl80211Message);
113 class SHILL_EXPORT AssociateMessage : public Nl80211Message {
118 AssociateMessage() : Nl80211Message(kCommand, kCommandString) {} in AssociateMessage()
125 class SHILL_EXPORT AuthenticateMessage : public Nl80211Message {
130 AuthenticateMessage() : Nl80211Message(kCommand, kCommandString) {} in AuthenticateMessage()
137 class SHILL_EXPORT CancelRemainOnChannelMessage : public Nl80211Message {
143 : Nl80211Message(kCommand, kCommandString) {} in CancelRemainOnChannelMessage()
[all …]
Dnetlink_message_matchers.h39 const Nl80211Message* msg = static_cast<const Nl80211Message*>(arg);
55 const Nl80211Message* msg = static_cast<const Nl80211Message*>(arg);
86 const Nl80211Message* msg = reinterpret_cast<const Nl80211Message*>(arg);
134 const Nl80211Message* msg = reinterpret_cast<const Nl80211Message*>(arg);
Dnetlink_message_unittest.cc384 kNl80211FamilyId, Bind(&Nl80211Message::CreateMessage)); in NetlinkMessageTest()
385 Nl80211Message::SetMessageType(kNl80211FamilyId); in NetlinkMessageTest()
391 static bool GetScanFrequenciesFromMessage(const Nl80211Message& message, in GetScanFrequenciesFromMessage()
418 static bool GetScanSsidsFromMessage(const Nl80211Message& message, in GetScanSsidsFromMessage()
456 unique_ptr<Nl80211Message> message(static_cast<Nl80211Message*>( in TEST_F()
509 unique_ptr<Nl80211Message> message(static_cast<Nl80211Message*>( in TEST_F()
562 unique_ptr<Nl80211Message> message(static_cast<Nl80211Message*>( in TEST_F()
603 unique_ptr<Nl80211Message> message(static_cast<Nl80211Message*>( in TEST_F()
643 unique_ptr<Nl80211Message> message(static_cast<Nl80211Message*>( in TEST_F()
683 unique_ptr<Nl80211Message> message(static_cast<Nl80211Message*>( in TEST_F()
[all …]
Dnl80211_message.cc74 const char Nl80211Message::kMessageTypeString[] = "nl80211";
75 map<uint16_t, string>* Nl80211Message::reason_code_string_ = nullptr;
76 map<uint16_t, string>* Nl80211Message::status_code_string_ = nullptr;
77 uint16_t Nl80211Message::nl80211_message_type_ = kIllegalMessageType;
80 uint16_t Nl80211Message::GetMessageType() { in GetMessageType()
85 void Nl80211Message::SetMessageType(uint16_t message_type) { in SetMessageType()
92 bool Nl80211Message::InitFromPacket(NetlinkPacket* packet, in InitFromPacket()
305 string Nl80211Message::StringFromReason(uint16_t status) { in StringFromReason()
321 string Nl80211Message::StringFromStatus(uint16_t status) { in StringFromStatus()
395 Nl80211Message::StringFromStatus(status_).c_str()); in ToString()
[all …]
Dnetlink_manager.h95 class Nl80211Message; variable
119 typedef base::Callback<void(const Nl80211Message&)> Nl80211MessageHandler;
245 Nl80211Message* message,
Dnetlink_manager.cc150 if (netlink_message.message_type() != Nl80211Message::GetMessageType()) { in HandleMessage()
152 << ", not " << Nl80211Message::GetMessageType() in HandleMessage()
157 const Nl80211Message* message = in HandleMessage()
158 static_cast<const Nl80211Message*>(&netlink_message); in HandleMessage()
472 Nl80211Message* message, in SendNl80211Message()
587 if (packet.GetMessageType() == Nl80211Message::GetMessageType() && in InferMessageContext()
Dmock_netlink_manager.h52 bool(Nl80211Message* message,
Dnetlink_manager_unittest.cc123 netlink_manager_->message_types_[Nl80211Message::kMessageTypeString]. in NetlinkManagerTest()
134 kNl80211FamilyId, Bind(&Nl80211Message::CreateMessage)); in NetlinkManagerTest()
135 Nl80211Message::SetMessageType(kNl80211FamilyId); in NetlinkManagerTest()
238 MOCK_METHOD1(OnNetlinkMessage, void(const Nl80211Message& msg));
485 Nl80211Message sent_message_1(CTRL_CMD_GETFAMILY, kGetFamilyCommandString); in TEST_F()
488 Nl80211Message sent_message_2(CTRL_CMD_GETFAMILY, kGetFamilyCommandString); in TEST_F()
550 Nl80211Message sent_message(CTRL_CMD_GETFAMILY, kGetFamilyCommandString); in TEST_F()
610 Nl80211Message sent_message(CTRL_CMD_GETFAMILY, kGetFamilyCommandString); in TEST_F()
/system/connectivity/apmanager/
Ddevice_info.h34 class Nl80211Message; variable
67 void OnWiFiPhyInfoReceived(const shill::Nl80211Message& msg);
88 void OnWiFiInterfaceInfoReceived(const shill::Nl80211Message& msg);
93 uint32_t iface_index, const shill::Nl80211Message& msg);
Ddevice_info.cc41 using shill::Nl80211Message;
69 Nl80211Message::kMessageTypeString, in Start()
70 Bind(&Nl80211Message::CreateMessage)); in Start()
74 Nl80211Message::SetMessageType(nl80211_family_id); in Start()
106 void DeviceInfo::OnWiFiPhyInfoReceived(const shill::Nl80211Message& msg) { in OnWiFiPhyInfoReceived()
235 void DeviceInfo::OnWiFiInterfaceInfoReceived(const shill::Nl80211Message& msg) { in OnWiFiInterfaceInfoReceived()
281 uint32_t iface_index, const shill::Nl80211Message& msg) { in OnWiFiInterfacePhyInfoReceived()
Ddevice_info_unittest.cc43 using shill::Nl80211Message;
138 void OnWiFiPhyInfoReceived(const Nl80211Message& message) { in OnWiFiPhyInfoReceived()
142 void OnWiFiInterfaceInfoReceived(const Nl80211Message& message) { in OnWiFiInterfaceInfoReceived()
147 const Nl80211Message& message) { in OnWiFiInterfacePhyInfoReceived()
166 if (arg->message_type() != Nl80211Message::GetMessageType()) {
169 const Nl80211Message *msg = reinterpret_cast<const Nl80211Message *>(arg);
Dmock_device.h39 void(const shill::Nl80211Message& msg));
Ddevice.h78 void ParseWiphyCapability(const shill::Nl80211Message& msg);
/system/connectivity/shill/wifi/
Dcallback80211_metrics.cc66 if (netlink_message.message_type() != Nl80211Message::GetMessageType()) { in CollectDisconnectStatistics()
69 const Nl80211Message& message = in CollectDisconnectStatistics()
70 * reinterpret_cast<const Nl80211Message*>(&netlink_message); in CollectDisconnectStatistics()
Dwake_on_wifi.h50 class Nl80211Message; variable
215 const Nl80211Message& nl80211_message);
386 static bool ConfigureWiphyIndex(Nl80211Message* msg, int32_t index);
440 const Nl80211Message& msg, const std::set<WakeOnWiFiTrigger>& trigs,
450 const Nl80211Message& nl80211_message);
456 void VerifyWakeOnWiFiSettings(const Nl80211Message& nl80211_message);
Dscan_session.h40 class Nl80211Message; variable
194 void OnTriggerScanResponse(const Nl80211Message& message);
Dcallback80211_metrics_unittest.cc146 kNl80211FamilyId, Bind(&Nl80211Message::CreateMessage)); in Callback80211MetricsTest()
147 Nl80211Message::SetMessageType(kNl80211FamilyId); in Callback80211MetricsTest()
Dwifi.h120 class Nl80211Message; variable
554 void OnReceivedStationInfo(const Nl80211Message& nl80211_message);
566 void OnNewWiphy(const Nl80211Message& nl80211_message);
568 void OnTriggerPassiveScanResponse(const Nl80211Message& netlink_message);
602 bool ParseWiphyIndex(const Nl80211Message& nl80211_message);
Dmock_wake_on_wifi.h66 void(const Nl80211Message& nl80211_message));
Dwake_on_wifi.cc267 bool WakeOnWiFi::ConfigureWiphyIndex(Nl80211Message* msg, int32_t index) { in ConfigureWiphyIndex()
585 const Nl80211Message& msg, const set<WakeOnWiFiTrigger>& trigs, in WakeOnWiFiSettingsMatch()
909 const Nl80211Message& nl80211_message) { in OnSetWakeOnPacketConnectionResponse()
932 const Nl80211Message& nl80211_message) { in VerifyWakeOnWiFiSettings()
1092 const Nl80211Message& nl80211_message) { in ParseWakeOnWiFiCapabilities()
1161 if (netlink_message.message_type() != Nl80211Message::GetMessageType()) { in OnWakeupReasonReceived()
1166 const Nl80211Message& wakeup_reason_msg = in OnWakeupReasonReceived()
1167 *reinterpret_cast<const Nl80211Message*>(&netlink_message); in OnWakeupReasonReceived()
Dwifi.cc254 netlink_manager_->SubscribeToEvents(Nl80211Message::kMessageTypeString, in Start()
256 netlink_manager_->SubscribeToEvents(Nl80211Message::kMessageTypeString, in Start()
258 netlink_manager_->SubscribeToEvents(Nl80211Message::kMessageTypeString, in Start()
260 netlink_manager_->SubscribeToEvents(Nl80211Message::kMessageTypeString, in Start()
1191 bool WiFi::ParseWiphyIndex(const Nl80211Message& nl80211_message) { in ParseWiphyIndex()
1208 if (netlink_message.message_type() != Nl80211Message::GetMessageType()) { in OnScanStarted()
1213 const Nl80211Message& scan_trigger_msg = in OnScanStarted()
1214 *reinterpret_cast<const Nl80211Message*>(&netlink_message); in OnScanStarted()
2391 void WiFi::OnNewWiphy(const Nl80211Message& nl80211_message) { in OnNewWiphy()
2458 void WiFi::OnTriggerPassiveScanResponse(const Nl80211Message& netlink_message) { in OnTriggerPassiveScanResponse()
[all …]
Dscan_session_unittest.cc459 Nl80211Message::SetMessageType(kNl80211FamilyId); in TEST_F()
491 Nl80211Message::SetMessageType(kNl80211FamilyId); in TEST_F()
505 Nl80211Message::SetMessageType(kNl80211FamilyId); in TEST_F()
/system/connectivity/shill/
Ddaemon_task.cc177 netlink_manager_->GetFamily(Nl80211Message::kMessageTypeString, in Start()
178 Bind(&Nl80211Message::CreateMessage)); in Start()
182 Nl80211Message::SetMessageType(nl80211_family_id); in Start()
Ddevice_info.h51 class Nl80211Message; variable
296 void OnWiFiInterfaceInfoReceived(const Nl80211Message& message);
Ddaemon_task_unittest.cc164 GetFamily(Nl80211Message::kMessageTypeString, _)) in TEST_F()

12