Home
last modified time | relevance | path

Searched refs:tx_prop (Results 1 – 24 of 24) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_LanToLan.cpp182 if(!data->p_iface->tx_prop || !data->p_iface->rx_prop) in handle_iface_up()
188 …if(data->p_iface->tx_prop->tx[0].hdr_l2_type == IPA_HDR_L2_NONE || data->p_iface->tx_prop->tx[0].h… in handle_iface_up()
190 …IPACMERR("Invalid l2 header type %s!\n", ipa_l2_hdr_type[data->p_iface->tx_prop->tx[0].hdr_l2_type… in handle_iface_up()
274 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
275 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
279 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
280 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
284 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
285 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
289 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
[all …]
DIPACM_Lan.cpp166 if(iface_query != NULL && tx_prop != NULL) in IPACM_Lan()
169 each_client_rt_rule_count[tx_prop->tx[i].ip]++; in IPACM_Lan()
255 if (rx_prop != NULL || tx_prop != NULL) in event_callback()
1010 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(eth_client, clnt_indx)->route_rul… in handle_del_ipv6_addr()
1679 if(tx_prop != NULL) in handle_eth_hdr_init()
1690 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_eth_hdr_init()
1692 if(tx_prop->tx[cnt].ip==IPA_IP_v4) in handle_eth_hdr_init()
1697 tx_prop->tx[cnt].hdr_name, in handle_eth_hdr_init()
1789 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_eth_hdr_init()
1791 if(tx_prop->tx[cnt].ip==IPA_IP_v6) in handle_eth_hdr_init()
[all …]
DIPACM_Wlan.cpp67 if (tx_prop != NULL) in IPACM_Wlan()
69 free(tx_prop); in IPACM_Wlan()
856 if (rx_prop != NULL || tx_prop != NULL) in event_callback()
931 if(tx_prop != NULL) in handle_wlan_client_init_ex()
946 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_wlan_client_init_ex()
948 if(tx_prop->tx[cnt].ip==IPA_IP_v4) in handle_wlan_client_init_ex()
953 tx_prop->tx[cnt].hdr_name, in handle_wlan_client_init_ex()
1061 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_wlan_client_init_ex()
1063 if(tx_prop->tx[cnt].ip==IPA_IP_v6) in handle_wlan_client_init_ex()
1068 tx_prop->tx[cnt].hdr_name, in handle_wlan_client_init_ex()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Wlan.cpp69 if (tx_prop != NULL) in IPACM_Wlan()
71 free(tx_prop); in IPACM_Wlan()
214 if(tx_prop != NULL) in event_callback()
216 free(tx_prop); in event_callback()
898 if (rx_prop != NULL || tx_prop != NULL) in event_callback()
1004 if(tx_prop != NULL) in handle_wlan_client_init_ex()
1019 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_wlan_client_init_ex()
1021 if(tx_prop->tx[cnt].ip==IPA_IP_v4) in handle_wlan_client_init_ex()
1026 tx_prop->tx[cnt].hdr_name, in handle_wlan_client_init_ex()
1134 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_wlan_client_init_ex()
[all …]
DIPACM_Lan.cpp172 if(iface_query != NULL && tx_prop != NULL) in IPACM_Lan()
175 each_client_rt_rule_count[tx_prop->tx[i].ip]++; in IPACM_Lan()
270 if (rx_prop != NULL || tx_prop != NULL) in event_callback()
350 if(tx_prop != NULL) in event_callback()
352 free(tx_prop); in event_callback()
981 if(tx_prop != NULL) in event_callback()
984 …IPACM_Iface::ipacmcfg->AddRmDepend(IPACM_Iface::ipacmcfg->ipa_client_rm_map_tbl[tx_prop->tx[0].dst… in event_callback()
1147 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(eth_client, clnt_indx)->route_rul… in handle_del_ipv6_addr()
1864 if(tx_prop != NULL) in handle_eth_hdr_init()
1875 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_eth_hdr_init()
[all …]
DIPACM_Wan.cpp176 if(tx_prop != NULL) in IPACM_Wan()
179 …depend Got pipe %d rm index : %d \n", tx_prop->tx[0].dst_pipe, IPACM_Iface::ipacmcfg->ipa_client_r… in IPACM_Wan()
180 …IPACM_Iface::ipacmcfg->AddRmDepend(IPACM_Iface::ipacmcfg->ipa_client_rm_map_tbl[tx_prop->tx[0].dst… in IPACM_Wan()
214 if(tx_prop == NULL || rx_prop == NULL) in handle_addr_evt()
255 strlcpy(hdr.name, tx_prop->tx[0].hdr_name, sizeof(hdr.name)); in handle_addr_evt()
446 strlcpy(hdr.name, tx_prop->tx[0].hdr_name, sizeof(hdr.name)); in handle_addr_evt()
1298 if(tx_prop == NULL) in handle_route_add_evt()
1358 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_route_add_evt()
1360 if(tx_prop->tx[cnt].ip==iptype) in handle_route_add_evt()
1364 if(tx_prop->tx[cnt].hdr_name != NULL) in handle_route_add_evt()
[all …]
DIPACM_Iface.cpp71 tx_prop = NULL; in IPACM_Iface()
544 tx_prop = (struct ipa_ioc_query_intf_tx_props *) in query_iface_property()
547 if(tx_prop == NULL) in query_iface_property()
553 memcpy(tx_prop->name, dev_name, sizeof(tx_prop->name)); in query_iface_property()
554 tx_prop->num_tx_props = iface_query->num_tx_props; in query_iface_property()
556 if (ioctl(fd, IPA_IOC_QUERY_INTF_TX_PROPS, tx_prop) < 0) in query_iface_property()
565 for (cnt = 0; cnt < tx_prop->num_tx_props; cnt++) in query_iface_property()
568 cnt, tx_prop->tx[cnt].attrib.attrib_mask, in query_iface_property()
569 tx_prop->tx[cnt].ip, tx_prop->tx[cnt].dst_pipe, in query_iface_property()
570 tx_prop->tx[cnt].alt_dst_pipe, in query_iface_property()
[all …]
DIPACM_LanToLan.cpp276 if(!data->p_iface->tx_prop || !data->p_iface->rx_prop) in handle_iface_up()
282 …if(data->p_iface->tx_prop->tx[0].hdr_l2_type == IPA_HDR_L2_NONE || data->p_iface->tx_prop->tx[0].h… in handle_iface_up()
284 …IPACMERR("Invalid l2 header type %s!\n", ipa_l2_hdr_type[data->p_iface->tx_prop->tx[0].hdr_l2_type… in handle_iface_up()
411 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
412 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
416 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
417 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
421 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
422 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
426 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
[all …]
DIPACM_IfaceManager.cpp260 if (lan->rx_prop == NULL && lan->tx_prop == NULL) in create_iface_instance()
374 if (wl->rx_prop == NULL && wl->tx_prop == NULL) in create_iface_instance()
441 if (w->rx_prop == NULL && w->tx_prop == NULL) in create_iface_instance()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_LanToLan.cpp279 if(!data->p_iface->tx_prop || !data->p_iface->rx_prop) in handle_iface_up()
285 …if(data->p_iface->tx_prop->tx[0].hdr_l2_type == IPA_HDR_L2_NONE || data->p_iface->tx_prop->tx[0].h… in handle_iface_up()
287 …IPACMERR("Invalid l2 header type %s!\n", ipa_l2_hdr_type[data->p_iface->tx_prop->tx[0].hdr_l2_type… in handle_iface_up()
416 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
417 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
421 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
422 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
426 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
427 ipa_l2_hdr_type[exist_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type]); in handle_new_iface_up()
431 ipa_l2_hdr_type[new_iface->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type], in handle_new_iface_up()
[all …]
DIPACM_Wlan.cpp69 if (tx_prop != NULL) in IPACM_Wlan()
71 free(tx_prop); in IPACM_Wlan()
215 if(tx_prop != NULL) in event_callback()
217 free(tx_prop); in event_callback()
943 if (rx_prop != NULL || tx_prop != NULL) in event_callback()
1087 if(tx_prop != NULL) in handle_wlan_client_init_ex()
1102 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_wlan_client_init_ex()
1104 if(tx_prop->tx[cnt].ip==IPA_IP_v4) in handle_wlan_client_init_ex()
1109 tx_prop->tx[cnt].hdr_name, in handle_wlan_client_init_ex()
1217 for (cnt=0; cnt<tx_prop->num_tx_props; cnt++) in handle_wlan_client_init_ex()
[all …]
DIPACM_Iface.cpp71 tx_prop = NULL; in IPACM_Iface()
609 tx_prop = (struct ipa_ioc_query_intf_tx_props *) in query_iface_property()
612 if(tx_prop == NULL) in query_iface_property()
618 memcpy(tx_prop->name, dev_name, sizeof(tx_prop->name)); in query_iface_property()
619 tx_prop->num_tx_props = iface_query->num_tx_props; in query_iface_property()
621 if (ioctl(fd, IPA_IOC_QUERY_INTF_TX_PROPS, tx_prop) < 0) in query_iface_property()
630 for (cnt = 0; cnt < tx_prop->num_tx_props; cnt++) in query_iface_property()
633 cnt, tx_prop->tx[cnt].attrib.attrib_mask, in query_iface_property()
634 tx_prop->tx[cnt].ip, tx_prop->tx[cnt].dst_pipe, in query_iface_property()
635 tx_prop->tx[cnt].alt_dst_pipe, in query_iface_property()
[all …]
DIPACM_IfaceManager.cpp260 if (lan->rx_prop == NULL && lan->tx_prop == NULL) in create_iface_instance()
377 if (wl->rx_prop == NULL && wl->tx_prop == NULL) in create_iface_instance()
447 if (w->rx_prop == NULL && w->tx_prop == NULL) in create_iface_instance()
459 if (w->rx_prop == NULL && w->tx_prop == NULL) in create_iface_instance()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h159 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
183 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
DIPACM_Iface.h108 ipa_ioc_query_intf_tx_props *tx_prop; variable
DIPACM_Wan.h439 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules()
463 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wlan.h159 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
183 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
DIPACM_Iface.h108 ipa_ioc_query_intf_tx_props *tx_prop; variable
DIPACM_Lan.h313 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(eth_client, clt_indx)->route_rule… in delete_eth_rtrules()
336 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(eth_client, clt_indx)->route_rule… in delete_eth_rtrules()
DIPACM_Wan.h378 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules()
402 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h163 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
187 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
DIPACM_Iface.h108 ipa_ioc_query_intf_tx_props *tx_prop; variable
DIPACM_Lan.h374 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(eth_client, clt_indx)->route_rule… in delete_eth_rtrules()
397 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(eth_client, clt_indx)->route_rule… in delete_eth_rtrules()
DIPACM_Wan.h541 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules()
565 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules()