Home
last modified time | relevance | path

Searched refs:NL80211Packet (Results 1 – 15 of 15) sorted by relevance

/system/connectivity/wificond/net/
Dnl80211_packet.cpp26 NL80211Packet::NL80211Packet(const vector<uint8_t>& data) in NL80211Packet() function in android::wificond::NL80211Packet
31 NL80211Packet::NL80211Packet(const NL80211Packet& packet) { in NL80211Packet() function in android::wificond::NL80211Packet
36 NL80211Packet::NL80211Packet(uint16_t type, in NL80211Packet() function in android::wificond::NL80211Packet
59 bool NL80211Packet::IsValid() const { in IsValid()
97 bool NL80211Packet::IsDump() const { in IsDump()
101 bool NL80211Packet::IsMulti() const { in IsMulti()
105 uint8_t NL80211Packet::GetCommand() const { in GetCommand()
111 uint16_t NL80211Packet::GetFlags() const { in GetFlags()
116 uint16_t NL80211Packet::GetMessageType() const { in GetMessageType()
121 uint32_t NL80211Packet::GetMessageSequence() const { in GetMessageSequence()
[all …]
Dnetlink_manager.h36 class NL80211Packet; variable
148 virtual bool RegisterHandlerAndSendMessage(const NL80211Packet& packet,
149 std::function<void(std::unique_ptr<const NL80211Packet>)> handler);
154 const NL80211Packet& packet,
155 std::vector<std::unique_ptr<const NL80211Packet>>* response);
162 const NL80211Packet& packet,
163 std::unique_ptr<const NL80211Packet>* response);
172 const NL80211Packet& packet,
173 std::unique_ptr<const NL80211Packet>* response);
180 virtual bool SendMessageAndGetAckOrError(const NL80211Packet& packet,
[all …]
Dnl80211_packet.h40 class NL80211Packet {
43 explicit NL80211Packet(const std::vector<uint8_t>& data);
49 NL80211Packet(uint16_t type,
56 NL80211Packet(const NL80211Packet& packet);
59 NL80211Packet(NL80211Packet&& packet) = default;
60 ~NL80211Packet() = default;
Dnetlink_manager.cpp53 void AppendPacket(vector<unique_ptr<const NL80211Packet>>* vec, in AppendPacket()
54 unique_ptr<const NL80211Packet> packet) { in AppendPacket()
114 unique_ptr<NL80211Packet> packet( in ReceivePacketAndRunHandler()
115 new NL80211Packet(vector<uint8_t>(ptr, ptr + nl_header->nlmsg_len))); in ReceivePacketAndRunHandler()
170 void NetlinkManager::OnNewFamily(unique_ptr<const NL80211Packet> packet) { in OnNewFamily()
264 const NL80211Packet& packet, in RegisterHandlerAndSendMessage()
265 std::function<void(unique_ptr<const NL80211Packet>)> handler) { in RegisterHandlerAndSendMessage()
278 const NL80211Packet& packet, in SendMessageAndGetResponses()
279 vector<unique_ptr<const NL80211Packet>>* response) { in SendMessageAndGetResponses()
327 const NL80211Packet& packet, in SendMessageAndGetSingleResponse()
[all …]
Dmlme_event.cpp35 bool GetCommonFields(const NL80211Packet* packet, in GetCommonFields()
52 const NL80211Packet* packet) { in InitFromPacket()
74 const NL80211Packet* packet) { in InitFromPacket()
96 const NL80211Packet* packet) { in InitFromPacket()
111 const NL80211Packet* packet) { in InitFromPacket()
125 const NL80211Packet* packet) { in InitFromPacket()
Dmlme_event.h30 class NL80211Packet; variable
35 const NL80211Packet* packet);
59 const NL80211Packet* packet);
83 const NL80211Packet* packet);
101 const NL80211Packet* packet);
115 const NL80211Packet* packet);
Dnetlink_utils.cpp112 NL80211Packet get_wiphy( in GetWiphyIndex()
122 vector<unique_ptr<const NL80211Packet>> response; in GetWiphyIndex()
162 NL80211Packet get_interfaces( in GetInterfaces()
171 vector<unique_ptr<const NL80211Packet>> response; in GetInterfaces()
241 NL80211Packet set_interface_mode( in SetInterfaceMode()
263 NL80211Packet get_protocol_features( in GetProtocolFeatures()
268 unique_ptr<const NL80211Packet> response; in GetProtocolFeatures()
286 NL80211Packet get_wiphy( in GetWiphyInfo()
296 vector<unique_ptr<const NL80211Packet>> response; in GetWiphyInfo()
302 vector<NL80211Packet> packet_per_wiphy; in GetWiphyInfo()
[all …]
Dnetlink_utils.h156 class NL80211Packet; variable
276 const NL80211Packet& packet,
280 bool ParseBandInfo(const NL80211Packet* const packet,
282 bool ParseScanCapabilities(const NL80211Packet* const packet,
286 const std::vector<std::unique_ptr<const NL80211Packet>>& split_dump_info,
287 std::vector<NL80211Packet>* packet_per_wiphy);
/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp83 NL80211Packet CreateControlMessageError(int error_code) { in CreateControlMessageError()
95 return NL80211Packet(data); in CreateControlMessageError()
98 NL80211Packet CreateControlMessageAck() { in CreateControlMessageAck()
102 void AppendScanCapabilitiesAttributes(NL80211Packet* packet, in AppendScanCapabilitiesAttributes()
186 void AppendBandInfoAttributes(NL80211Packet* packet) { in AppendBandInfoAttributes()
193 void AppendWiphyFeaturesAttributes(NL80211Packet* packet) { in AppendWiphyFeaturesAttributes()
205 void AppendWiphyExtFeaturesAttributes(NL80211Packet* packet, in AppendWiphyExtFeaturesAttributes()
284 arg1->push_back(unique_ptr<NL80211Packet>(new NL80211Packet(pkt))); in ACTION_P()
310 NL80211Packet new_wiphy( in TEST_F()
319 vector<NL80211Packet> response = {new_wiphy}; in TEST_F()
[all …]
Dmock_netlink_manager.h40 bool(const NL80211Packet&, std::vector<std::unique_ptr<const NL80211Packet>>*));
42 bool(const NL80211Packet&, std::function<void(std::unique_ptr<const NL80211Packet>)>));
Dscan_utils_unittest.cpp65 NL80211Packet CreateControlMessageError(int error_code) { in CreateControlMessageError()
77 return NL80211Packet(data); in CreateControlMessageError()
80 NL80211Packet CreateControlMessageAck() { in CreateControlMessageAck()
91 NL80211Packet& mock_response, in AppendMessageAndReturn()
93 const NL80211Packet& request_message, in AppendMessageAndReturn()
94 vector<std::unique_ptr<const NL80211Packet>>* response) { in AppendMessageAndReturn()
95 response->push_back(std::make_unique<NL80211Packet>(mock_response)); in AppendMessageAndReturn()
148 NL80211Packet response = CreateControlMessageAck(); in TEST_F()
163 NL80211Packet response = CreateControlMessageAck(); in TEST_F()
181 NL80211Packet response = CreateControlMessageAck(); in TEST_F()
[all …]
Dnl80211_packet_unittest.cpp92 NL80211Packet netlink_packet(kNLMsgType, in TEST()
100 NL80211Packet netlink_packet(kNLMsgType, in TEST()
113 NL80211Packet netlink_packet(kNLMsgType, in TEST()
127 NL80211Packet netlink_packet(kNLMsgType, in TEST()
153 NL80211Packet netlink_packet(kNLMsgType, in TEST()
174 NL80211Packet netlink_packet(kNLMsgType, in TEST()
187 NL80211Packet netlink_packet(kNLMsgType, in TEST()
217 NL80211Packet netlink_packet(std::vector<uint8_t>( in TEST()
235 NL80211Packet netlink_packet(std::vector<uint8_t>( in TEST()
259 NL80211Packet netlink_packet(std::vector<uint8_t>( in TEST()
/system/connectivity/wificond/scanning/
Dscan_utils.cpp82 NL80211Packet get_scan( in GetScanResult()
91 vector<unique_ptr<const NL80211Packet>> response; in GetScanResult()
132 bool ScanUtils::ParseScanResult(unique_ptr<const NL80211Packet> packet, in ParseScanResult()
284 NL80211Packet trigger_scan( in Scan()
342 vector<unique_ptr<const NL80211Packet>> response; in Scan()
356 NL80211Packet stop_sched_scan( in StopScheduledScan()
365 vector<unique_ptr<const NL80211Packet>> response; in StopScheduledScan()
385 NL80211Packet abort_scan( in AbortScan()
413 NL80211Packet start_sched_scan( in StartScheduledScan()
505 vector<unique_ptr<const NL80211Packet>> response; in StartScheduledScan()
Dscan_utils.h46 class NL80211Packet; variable
198 std::unique_ptr<const NL80211Packet> packet,
/system/connectivity/wificond/
Dserver.h38 class NL80211Packet; variable