Home
last modified time | relevance | path

Searched refs:iface_name (Results 1 – 25 of 60) sorted by relevance

123

/hardware/interfaces/wifi/1.3/default/
Dwifi_legacy_hal.h188 const std::string& iface_name);
190 const std::string& iface_name);
192 const std::string& iface_name);
194 const std::string& iface_name);
196 const std::string& iface_name);
199 const std::string& iface_name);
200 wifi_error setPacketFilter(const std::string& iface_name,
203 const std::string& iface_name);
206 const std::string& iface_name);
219 const std::string& iface_name, wifi_request_id id,
[all …]
Dwifi_legacy_hal.cpp432 const std::string& iface_name) { in getDriverVersion() argument
436 getIfaceHandle(iface_name), buffer.data(), buffer.size()); in getDriverVersion()
441 const std::string& iface_name) { in getFirmwareVersion() argument
445 getIfaceHandle(iface_name), buffer.data(), buffer.size()); in getFirmwareVersion()
450 WifiLegacyHal::requestDriverMemoryDump(const std::string& iface_name) { in requestDriverMemoryDump() argument
459 getIfaceHandle(iface_name), {onSyncDriverMemoryDump}); in requestDriverMemoryDump()
465 WifiLegacyHal::requestFirmwareMemoryDump(const std::string& iface_name) { in requestFirmwareMemoryDump() argument
474 getIfaceHandle(iface_name), {onSyncFirmwareMemoryDump}); in requestFirmwareMemoryDump()
480 const std::string& iface_name) { in getSupportedFeatureSet() argument
485 getIfaceHandle(iface_name), &set); in getSupportedFeatureSet()
[all …]
Dwifi_iface_util.cpp49 const std::string& iface_name) { in getFactoryMacAddress() argument
50 return iface_tool_.lock()->GetFactoryMacAddress(iface_name.c_str()); in getFactoryMacAddress()
53 bool WifiIfaceUtil::setMacAddress(const std::string& iface_name, in setMacAddress() argument
55 if (!iface_tool_.lock()->SetUpState(iface_name.c_str(), false)) { in setMacAddress()
59 if (!iface_tool_.lock()->SetMacAddress(iface_name.c_str(), mac)) { in setMacAddress()
63 if (!iface_tool_.lock()->SetUpState(iface_name.c_str(), true)) { in setMacAddress()
68 const auto it = event_handlers_map_.find(iface_name); in setMacAddress()
73 event_handlers.on_state_toggle_off_on(iface_name); in setMacAddress()
88 void WifiIfaceUtil::registerIfaceEventHandlers(const std::string& iface_name, in registerIfaceEventHandlers() argument
90 event_handlers_map_[iface_name] = handlers; in registerIfaceEventHandlers()
[all …]
Dwifi_iface_util.h35 std::function<void(const std::string& iface_name)> on_state_toggle_off_on;
47 const std::string& iface_name);
48 virtual bool setMacAddress(const std::string& iface_name,
56 virtual void registerIfaceEventHandlers(const std::string& iface_name,
58 virtual void unregisterIfaceEventHandlers(const std::string& iface_name);
Dwifi_nan_iface.h78 uint16_t cmd_id, const hidl_string& iface_name,
81 uint16_t cmd_id, const hidl_string& iface_name,
126 uint16_t cmd_id, const std::string& iface_name);
128 uint16_t cmd_id, const std::string& iface_name);
Dwifi_nan_iface.cpp641 uint16_t cmd_id, const hidl_string& iface_name, in createDataInterfaceRequest() argument
645 hidl_status_cb, cmd_id, iface_name); in createDataInterfaceRequest()
649 uint16_t cmd_id, const hidl_string& iface_name, in deleteDataInterfaceRequest() argument
653 hidl_status_cb, cmd_id, iface_name); in deleteDataInterfaceRequest()
803 uint16_t cmd_id, const std::string& iface_name) { in createDataInterfaceRequestInternal() argument
805 legacy_hal_.lock()->nanDataInterfaceCreate(ifname_, cmd_id, iface_name); in createDataInterfaceRequestInternal()
809 uint16_t cmd_id, const std::string& iface_name) { in deleteDataInterfaceRequestInternal() argument
811 legacy_hal_.lock()->nanDataInterfaceDelete(ifname_, cmd_id, iface_name); in deleteDataInterfaceRequestInternal()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Neighbor.cpp105 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) != 0) in event_callback()
137 memcpy(data_all->iface_name, neighbor_client[i].iface_name, in event_callback()
138 sizeof(data_all->iface_name)); in event_callback()
149 data_all->iface_name); in event_callback()
191 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) == 0) in event_callback()
199 strlcpy(data->iface_name, neighbor_client[i].iface_name, sizeof(data->iface_name)); in event_callback()
226 data->iface_name); in event_callback()
249 … strlcpy(neighbor_client[i].iface_name, data->iface_name, sizeof(neighbor_client[i].iface_name)); in event_callback()
251 i, data->iface_name, data->ipv4_addr); in event_callback()
267 strlcpy(neighbor_client[num_neighbor_client_temp].iface_name, in event_callback()
[all …]
DIPACM_Config.cpp224 …strlcpy(iface_table[i].iface_name, cfg->iface_config.iface_entries[i].iface_name, sizeof(iface_tab… in Init()
228 …IPACM_Config::iface_table[%d] = %s, cat=%d, mode=%d wlan-mode=%d \n", i, iface_table[i].iface_name, in Init()
233 strlcpy(ipa_virtual_iface_name, iface_table[i].iface_name, sizeof(ipa_virtual_iface_name)); in Init()
462 memcpy(pIfaces[cnt].iface_name, in GetNatIfaces()
463 pNatIfaces[cnt].iface_name, in GetNatIfaces()
464 sizeof(pIfaces[cnt].iface_name)); in GetNatIfaces()
478 pNatIfaces[i].iface_name, in AddNatIfaces()
479 sizeof(pNatIfaces[i].iface_name)) == 0) in AddNatIfaces()
500 strlcpy(pNatIfaces[ipa_nat_iface_entries - 1].iface_name, in AddNatIfaces()
504 pNatIfaces[ipa_nat_iface_entries - 1].iface_name, in AddNatIfaces()
[all …]
DIPACM_IfaceManager.cpp94 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) == 0) in event_callback()
116 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
120 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
139 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, evt_data->if_in… in event_callback()
163 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
170 …s %d mode: \n",IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,IPACM_Iface::ipa… in event_callback()
187 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, StaData->if_index); in event_callback()
197 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, in event_callback()
217 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
224 …s %d mode: \n",IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,IPACM_Iface::ipa… in event_callback()
[all …]
DIPACM_Iface.cpp75 IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name, in IPACM_Iface()
76 sizeof(IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name)); in IPACM_Iface()
102 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ip_type); in handle_software_routing_enable()
249 …for (%s)iface ip-family %d\n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ip_type); in handle_software_routing_disable()
338 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
370 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
371 sizeof(IPACM_Iface::ipacmcfg->iface_table[i].iface_name)) == 0) in iface_ipa_index_query()
456 strlcpy(data_addr->iface_name, ifr.ifr_name, sizeof(data_addr->iface_name)); in iface_addr_query()
459 data_addr->iface_name, in iface_addr_query()
489 strlcpy(data_addr->iface_name, ifr.ifr_name, sizeof(data_addr->iface_name)); in iface_addr_query()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Neighbor.cpp105 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) != 0) in event_callback()
137 memcpy(data_all->iface_name, neighbor_client[i].iface_name, in event_callback()
138 sizeof(data_all->iface_name)); in event_callback()
149 data_all->iface_name); in event_callback()
191 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) == 0) in event_callback()
199 strlcpy(data->iface_name, neighbor_client[i].iface_name, sizeof(data->iface_name)); in event_callback()
226 data->iface_name); in event_callback()
248 … strlcpy(neighbor_client[i].iface_name, data->iface_name, sizeof(neighbor_client[i].iface_name)); in event_callback()
251 i, data->iface_name, data->ipv4_addr); in event_callback()
267 strlcpy(neighbor_client[num_neighbor_client_temp].iface_name, in event_callback()
[all …]
DIPACM_Config.cpp227 …strlcpy(iface_table[i].iface_name, cfg->iface_config.iface_entries[i].iface_name, sizeof(iface_tab… in Init()
231 …IPACM_Config::iface_table[%d] = %s, cat=%d, mode=%d wlan-mode=%d \n", i, iface_table[i].iface_name, in Init()
236 strlcpy(ipa_virtual_iface_name, iface_table[i].iface_name, sizeof(ipa_virtual_iface_name)); in Init()
465 memcpy(pIfaces[cnt].iface_name, in GetNatIfaces()
466 pNatIfaces[cnt].iface_name, in GetNatIfaces()
467 sizeof(pIfaces[cnt].iface_name)); in GetNatIfaces()
481 pNatIfaces[i].iface_name, in AddNatIfaces()
482 sizeof(pNatIfaces[i].iface_name)) == 0) in AddNatIfaces()
503 strlcpy(pNatIfaces[ipa_nat_iface_entries - 1].iface_name, in AddNatIfaces()
507 pNatIfaces[ipa_nat_iface_entries - 1].iface_name, in AddNatIfaces()
[all …]
DIPACM_IfaceManager.cpp94 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) == 0) in event_callback()
116 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
120 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
139 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, evt_data->if_in… in event_callback()
163 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
170 …s %d mode: \n",IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,IPACM_Iface::ipa… in event_callback()
187 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, StaData->if_index); in event_callback()
197 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, in event_callback()
217 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
224 …s %d mode: \n",IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,IPACM_Iface::ipa… in event_callback()
[all …]
DIPACM_Iface.cpp75 IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name, in IPACM_Iface()
76 sizeof(IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name)); in IPACM_Iface()
102 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ip_type); in handle_software_routing_enable()
249 …for (%s)iface ip-family %d\n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ip_type); in handle_software_routing_disable()
338 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
370 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
371 sizeof(IPACM_Iface::ipacmcfg->iface_table[i].iface_name)) == 0) in iface_ipa_index_query()
456 strlcpy(data_addr->iface_name, ifr.ifr_name, sizeof(data_addr->iface_name)); in iface_addr_query()
459 data_addr->iface_name, in iface_addr_query()
489 strlcpy(data_addr->iface_name, ifr.ifr_name, sizeof(data_addr->iface_name)); in iface_addr_query()
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_chip_hidl_test.cpp395 std::string iface_name = getIfaceName(iface); in TEST_F() local
400 EXPECT_EQ(iface_name, status_and_iface_names2.second[0]); in TEST_F()
402 EXPECT_EQ(WifiStatusCode::SUCCESS, removeApIface(iface_name)); in TEST_F()
423 std::string iface_name = getIfaceName(ap_iface); in TEST_F() local
425 HIDL_INVOKE(wifi_chip_, getApIface, iface_name); in TEST_F()
429 std::string invalid_name = iface_name + "0"; in TEST_F()
450 std::string iface_name = getIfaceName(ap_iface); in TEST_F() local
451 std::string invalid_name = iface_name + "0"; in TEST_F()
453 EXPECT_EQ(WifiStatusCode::SUCCESS, removeApIface(iface_name)); in TEST_F()
456 EXPECT_EQ(WifiStatusCode::ERROR_INVALID_ARGS, removeApIface(iface_name)); in TEST_F()
[all …]
/hardware/interfaces/wifi/1.3/default/tests/
Dmock_wifi_legacy_hal.h44 const std::string& iface_name));
46 const std::string& iface_name));
49 wifi_error(const std::string& iface_name,
52 wifi_error(const std::string& iface_name));
Dwifi_chip_unit_tests.cpp174 std::string iface_name; in createIface() local
176 chip_->createApIface([&iface_name](const WifiStatus& status, in createIface()
180 iface->getName([&iface_name](const WifiStatus& status, in createIface()
183 iface_name = name.c_str(); in createIface()
189 [&iface_name]( in createIface()
195 iface->getName([&iface_name](const WifiStatus& status, in createIface()
198 iface_name = name.c_str(); in createIface()
204 [&iface_name](const WifiStatus& status, in createIface()
208 iface->getName([&iface_name](const WifiStatus& status, in createIface()
211 iface_name = name.c_str(); in createIface()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Config.cpp215 …strncpy(iface_table[i].iface_name, cfg->iface_config.iface_entries[i].iface_name, sizeof(iface_tab… in Init()
219 …IPACM_Config::iface_table[%d] = %s, cat=%d, mode=%d wlan-mode=%d \n", i, iface_table[i].iface_name, in Init()
224 strlcpy(ipa_virtual_iface_name, iface_table[i].iface_name, sizeof(ipa_virtual_iface_name)); in Init()
453 memcpy(pIfaces[cnt].iface_name, in GetNatIfaces()
454 pNatIfaces[cnt].iface_name, in GetNatIfaces()
455 sizeof(pIfaces[cnt].iface_name)); in GetNatIfaces()
469 pNatIfaces[i].iface_name, in AddNatIfaces()
470 sizeof(pNatIfaces[i].iface_name)) == 0) in AddNatIfaces()
483 strlcpy(pNatIfaces[ipa_nat_iface_entries - 1].iface_name, in AddNatIfaces()
487 pNatIfaces[ipa_nat_iface_entries - 1].iface_name, in AddNatIfaces()
[all …]
DIPACM_Neighbor.cpp105 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) != 0) in event_callback()
146 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
186 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) == 0) in event_callback()
220 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
245 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, in event_callback()
347 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
358 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) == 0) in event_callback()
387 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
411 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
433 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) != 0) in event_callback()
[all …]
DIPACM_IfaceManager.cpp94 …->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name) == 0) in event_callback()
116 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
120 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
139 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, evt_data->if_in… in event_callback()
163 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
170 …s %d mode: \n",IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,IPACM_Iface::ipa… in event_callback()
187 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, StaData->if_index); in event_callback()
197 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, in event_callback()
217 …face: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_ind… in event_callback()
224 …s %d mode: \n",IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,IPACM_Iface::ipa… in event_callback()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Defs.h241 char iface_name[IPA_IFACE_NAME_LEN]; member
262 char iface_name[IPA_IFACE_NAME_LEN]; member
277 char iface_name[IPA_IFACE_NAME_LEN]; member
314 char iface_name[IPA_IFACE_NAME_LEN]; member
DIPACM_Neighbor.h60 char iface_name[IPA_IFACE_NAME_LEN]; member
DIPACM_Wan.h121 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP()
147 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP_V6()
172 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in delete_tether_iface()
197 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in delete_tether_iface()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Defs.h243 char iface_name[IPA_IFACE_NAME_LEN]; member
264 char iface_name[IPA_IFACE_NAME_LEN]; member
279 char iface_name[IPA_IFACE_NAME_LEN]; member
317 char iface_name[IPA_IFACE_NAME_LEN]; member
DIPACM_Neighbor.h60 char iface_name[IPA_IFACE_NAME_LEN]; member

123