/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Wlan.h | 153 inline int delete_default_qos_rtrules(int clt_indx, ipa_ip_type iptype) in delete_default_qos_rtrules() argument 163 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules() 165 IPACMDBG_H("Delete client index %d ipv4 Qos rules for tx:%d \n",clt_indx,tx_index); in delete_default_qos_rtrules() 166 rt_hdl = get_client_memptr(wlan_client, clt_indx)->wifi_rt_hdl[tx_index].wifi_rt_rule_hdl_v4; in delete_default_qos_rtrules() 176 if(get_client_memptr(wlan_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_default_qos_rtrules() 178 get_client_memptr(wlan_client, clt_indx)->route_rule_set_v4 = false; 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() 189 for(num_v6 =0;num_v6 < get_client_memptr(wlan_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_default_qos_rtrules() 192 …if(is_global_ipv6_addr(get_client_memptr(wlan_client, clt_indx)->v6_addr[num_v6]) && (IPACM_Wan::b… in delete_default_qos_rtrules() 193 && (get_client_memptr(wlan_client, clt_indx)->v6_rt_rule_id[num_v6] > 0)) in delete_default_qos_rtrules() [all …]
|
D | IPACM_Lan.h | 364 inline int delete_eth_rtrules(int clt_indx, ipa_ip_type iptype) in delete_eth_rtrules() argument 374 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(eth_client, clt_indx)->route_rule… in delete_eth_rtrules() 376 IPACMDBG_H("Delete client index %d ipv4 RT-rules for tx:%d\n",clt_indx,tx_index); in delete_eth_rtrules() 377 rt_hdl = get_client_memptr(eth_client, clt_indx)->eth_rt_hdl[tx_index].eth_rt_rule_hdl_v4; in delete_eth_rtrules() 387 if(get_client_memptr(eth_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_eth_rtrules() 389 get_client_memptr(eth_client, clt_indx)->route_rule_set_v4 = false; 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() 399 for(num_v6 =0;num_v6 < get_client_memptr(eth_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_eth_rtrules() 402 …if(is_global_ipv6_addr(get_client_memptr(eth_client, clt_indx)->v6_addr[num_v6]) && (IPACM_Wan::ba… in delete_eth_rtrules() 403 && (get_client_memptr(eth_client, clt_indx)->v6_rt_rule_id[num_v6] > 0)) in delete_eth_rtrules() [all …]
|
D | IPACM_Wan.h | 531 inline int delete_wan_rtrules(int clt_indx, ipa_ip_type iptype) in delete_wan_rtrules() argument 541 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules() 543 IPACMDBG_H("Delete client index %d ipv4 Qos rules for tx:%d \n",clt_indx,tx_index); in delete_wan_rtrules() 544 rt_hdl = get_client_memptr(wan_client, clt_indx)->wan_rt_hdl[tx_index].wan_rt_rule_hdl_v4; in delete_wan_rtrules() 554 if(get_client_memptr(wan_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_wan_rtrules() 556 get_client_memptr(wan_client, clt_indx)->route_rule_set_v4 = false; 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() 567 for(num_v6 =0;num_v6 < get_client_memptr(wan_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_wan_rtrules() 569 …IPACMDBG_H("Delete client index %d ipv6 Qos rules for %d-st ipv6 for tx:%d\n", clt_indx,num_v6,tx_… in delete_wan_rtrules() 570 … rt_hdl = get_client_memptr(wan_client, clt_indx)->wan_rt_hdl[tx_index].wan_rt_rule_hdl_v6[num_v6]; in delete_wan_rtrules() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Wlan.h | 149 inline int delete_default_qos_rtrules(int clt_indx, ipa_ip_type iptype) in delete_default_qos_rtrules() argument 159 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules() 161 IPACMDBG_H("Delete client index %d ipv4 Qos rules for tx:%d \n",clt_indx,tx_index); in delete_default_qos_rtrules() 162 rt_hdl = get_client_memptr(wlan_client, clt_indx)->wifi_rt_hdl[tx_index].wifi_rt_rule_hdl_v4; in delete_default_qos_rtrules() 172 if(get_client_memptr(wlan_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_default_qos_rtrules() 174 get_client_memptr(wlan_client, clt_indx)->route_rule_set_v4 = false; 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() 185 for(num_v6 =0;num_v6 < get_client_memptr(wlan_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_default_qos_rtrules() 187 …IPACMDBG_H("Delete client index %d ipv6 Qos rules for %d-st ipv6 for tx:%d\n", clt_indx,num_v6,tx_… in delete_default_qos_rtrules() 188 …rt_hdl = get_client_memptr(wlan_client, clt_indx)->wifi_rt_hdl[tx_index].wifi_rt_rule_hdl_v6[num_v… in delete_default_qos_rtrules() [all …]
|
D | IPACM_Wan.h | 429 inline int delete_wan_rtrules(int clt_indx, ipa_ip_type iptype) in delete_wan_rtrules() argument 439 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules() 441 IPACMDBG_H("Delete client index %d ipv4 Qos rules for tx:%d \n",clt_indx,tx_index); in delete_wan_rtrules() 442 rt_hdl = get_client_memptr(wan_client, clt_indx)->wan_rt_hdl[tx_index].wan_rt_rule_hdl_v4; in delete_wan_rtrules() 452 if(get_client_memptr(wan_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_wan_rtrules() 454 get_client_memptr(wan_client, clt_indx)->route_rule_set_v4 = false; 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() 465 for(num_v6 =0;num_v6 < get_client_memptr(wan_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_wan_rtrules() 467 …IPACMDBG_H("Delete client index %d ipv6 Qos rules for %d-st ipv6 for tx:%d\n", clt_indx,num_v6,tx_… in delete_wan_rtrules() 468 … rt_hdl = get_client_memptr(wan_client, clt_indx)->wan_rt_hdl[tx_index].wan_rt_rule_hdl_v6[num_v6]; in delete_wan_rtrules() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Wlan.h | 149 inline int delete_default_qos_rtrules(int clt_indx, ipa_ip_type iptype) in delete_default_qos_rtrules() argument 159 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules() 161 IPACMDBG_H("Delete client index %d ipv4 Qos rules for tx:%d \n",clt_indx,tx_index); in delete_default_qos_rtrules() 162 rt_hdl = get_client_memptr(wlan_client, clt_indx)->wifi_rt_hdl[tx_index].wifi_rt_rule_hdl_v4; in delete_default_qos_rtrules() 172 if(get_client_memptr(wlan_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_default_qos_rtrules() 174 get_client_memptr(wlan_client, clt_indx)->route_rule_set_v4 = false; 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() 185 for(num_v6 =0;num_v6 < get_client_memptr(wlan_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_default_qos_rtrules() 187 …IPACMDBG_H("Delete client index %d ipv6 Qos rules for %d-st ipv6 for tx:%d\n", clt_indx,num_v6,tx_… in delete_default_qos_rtrules() 188 …rt_hdl = get_client_memptr(wlan_client, clt_indx)->wifi_rt_hdl[tx_index].wifi_rt_rule_hdl_v6[num_v… in delete_default_qos_rtrules() [all …]
|
D | IPACM_Lan.h | 303 inline int delete_eth_rtrules(int clt_indx, ipa_ip_type iptype) in delete_eth_rtrules() argument 313 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(eth_client, clt_indx)->route_rule… in delete_eth_rtrules() 315 IPACMDBG_H("Delete client index %d ipv4 RT-rules for tx:%d\n",clt_indx,tx_index); in delete_eth_rtrules() 316 rt_hdl = get_client_memptr(eth_client, clt_indx)->eth_rt_hdl[tx_index].eth_rt_rule_hdl_v4; in delete_eth_rtrules() 326 if(get_client_memptr(eth_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_eth_rtrules() 328 get_client_memptr(eth_client, clt_indx)->route_rule_set_v4 = false; 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() 338 for(num_v6 =0;num_v6 < get_client_memptr(eth_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_eth_rtrules() 340 …IPACMDBG_H("Delete client index %d ipv6 RT-rules for %d-st ipv6 for tx:%d\n", clt_indx,num_v6,tx_i… in delete_eth_rtrules() 341 … rt_hdl = get_client_memptr(eth_client, clt_indx)->eth_rt_hdl[tx_index].eth_rt_rule_hdl_v6[num_v6]; in delete_eth_rtrules() [all …]
|
D | IPACM_Wan.h | 368 inline int delete_wan_rtrules(int clt_indx, ipa_ip_type iptype) in delete_wan_rtrules() argument 378 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules() 380 IPACMDBG_H("Delete client index %d ipv4 Qos rules for tx:%d \n",clt_indx,tx_index); in delete_wan_rtrules() 381 rt_hdl = get_client_memptr(wan_client, clt_indx)->wan_rt_hdl[tx_index].wan_rt_rule_hdl_v4; in delete_wan_rtrules() 391 if(get_client_memptr(wan_client, clt_indx)->route_rule_set_v4==true) /* for ipv4 */ in delete_wan_rtrules() 393 get_client_memptr(wan_client, clt_indx)->route_rule_set_v4 = false; 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() 404 for(num_v6 =0;num_v6 < get_client_memptr(wan_client, clt_indx)->route_rule_set_v6;num_v6++) in delete_wan_rtrules() 406 …IPACMDBG_H("Delete client index %d ipv6 Qos rules for %d-st ipv6 for tx:%d\n", clt_indx,num_v6,tx_… in delete_wan_rtrules() 407 … rt_hdl = get_client_memptr(wan_client, clt_indx)->wan_rt_hdl[tx_index].wan_rt_rule_hdl_v6[num_v6]; in delete_wan_rtrules() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Wlan.cpp | 1547 int clt_indx; in handle_wlan_client_pwrsave() local 1550 clt_indx = get_wlan_client_index(mac_addr); in handle_wlan_client_pwrsave() 1551 if (clt_indx == IPACM_INVALID_INDEX) in handle_wlan_client_pwrsave() 1557 if (get_client_memptr(wlan_client, clt_indx)->power_save_set == false) in handle_wlan_client_pwrsave() 1560 if(get_client_memptr(wlan_client, clt_indx)->ipv4_set == true) in handle_wlan_client_pwrsave() 1563 Nat_App->UpdatePwrSaveIf(get_client_memptr(wlan_client, clt_indx)->v4_addr); in handle_wlan_client_pwrsave() 1567 delete_default_qos_rtrules(clt_indx, IPA_IP_v4); in handle_wlan_client_pwrsave() 1568 delete_default_qos_rtrules(clt_indx, IPA_IP_v6); in handle_wlan_client_pwrsave() 1569 get_client_memptr(wlan_client, clt_indx)->power_save_set = true; in handle_wlan_client_pwrsave() 1581 int clt_indx; in handle_wlan_client_down_evt() local [all …]
|
D | IPACM_Lan.cpp | 2553 int clt_indx; in handle_eth_client_down_evt() local 2560 clt_indx = get_eth_client_index(mac_addr); in handle_eth_client_down_evt() 2561 if (clt_indx == IPACM_INVALID_INDEX) in handle_eth_client_down_evt() 2568 if(get_client_memptr(eth_client, clt_indx)->ipv4_set == true) in handle_eth_client_down_evt() 2570 IPACMDBG_H("Clean Nat Rules for ipv4:0x%x\n", get_client_memptr(eth_client, clt_indx)->v4_addr); in handle_eth_client_down_evt() 2571 CtList->HandleNeighIpAddrDelEvt(get_client_memptr(eth_client, clt_indx)->v4_addr); in handle_eth_client_down_evt() 2574 if (delete_eth_rtrules(clt_indx, IPA_IP_v4)) in handle_eth_client_down_evt() 2576 IPACMERR("unbale to delete ecm-client v4 route rules for index: %d\n", clt_indx); in handle_eth_client_down_evt() 2580 if (delete_eth_rtrules(clt_indx, IPA_IP_v6)) in handle_eth_client_down_evt() 2582 IPACMERR("unbale to delete ecm-client v6 route rules for index: %d\n", clt_indx); in handle_eth_client_down_evt() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Wlan.cpp | 1623 int clt_indx; in handle_wlan_client_pwrsave() local 1626 clt_indx = get_wlan_client_index(mac_addr); in handle_wlan_client_pwrsave() 1627 if (clt_indx == IPACM_INVALID_INDEX) in handle_wlan_client_pwrsave() 1633 if (get_client_memptr(wlan_client, clt_indx)->power_save_set == false) in handle_wlan_client_pwrsave() 1636 if(get_client_memptr(wlan_client, clt_indx)->ipv4_set == true) in handle_wlan_client_pwrsave() 1639 Nat_App->UpdatePwrSaveIf(get_client_memptr(wlan_client, clt_indx)->v4_addr); in handle_wlan_client_pwrsave() 1643 delete_default_qos_rtrules(clt_indx, IPA_IP_v4); in handle_wlan_client_pwrsave() 1644 delete_default_qos_rtrules(clt_indx, IPA_IP_v6); in handle_wlan_client_pwrsave() 1645 get_client_memptr(wlan_client, clt_indx)->power_save_set = true; in handle_wlan_client_pwrsave() 1657 int clt_indx; in handle_wlan_client_down_evt() local [all …]
|
D | IPACM_Lan.cpp | 2740 int clt_indx; in handle_eth_client_down_evt() local 2747 clt_indx = get_eth_client_index(mac_addr); in handle_eth_client_down_evt() 2748 if (clt_indx == IPACM_INVALID_INDEX) in handle_eth_client_down_evt() 2755 if(get_client_memptr(eth_client, clt_indx)->ipv4_set == true) in handle_eth_client_down_evt() 2757 IPACMDBG_H("Clean Nat Rules for ipv4:0x%x\n", get_client_memptr(eth_client, clt_indx)->v4_addr); in handle_eth_client_down_evt() 2758 CtList->HandleNeighIpAddrDelEvt(get_client_memptr(eth_client, clt_indx)->v4_addr); in handle_eth_client_down_evt() 2761 if (delete_eth_rtrules(clt_indx, IPA_IP_v4)) in handle_eth_client_down_evt() 2763 IPACMERR("unbale to delete ecm-client v4 route rules for index: %d\n", clt_indx); in handle_eth_client_down_evt() 2767 if (delete_eth_rtrules(clt_indx, IPA_IP_v6)) in handle_eth_client_down_evt() 2769 IPACMERR("unbale to delete ecm-client v6 route rules for index: %d\n", clt_indx); in handle_eth_client_down_evt() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Wlan.cpp | 1756 int clt_indx; in handle_wlan_client_pwrsave() local 1759 clt_indx = get_wlan_client_index(mac_addr); in handle_wlan_client_pwrsave() 1760 if (clt_indx == IPACM_INVALID_INDEX) in handle_wlan_client_pwrsave() 1766 if (get_client_memptr(wlan_client, clt_indx)->power_save_set == false) in handle_wlan_client_pwrsave() 1769 if(get_client_memptr(wlan_client, clt_indx)->ipv4_set == true) in handle_wlan_client_pwrsave() 1772 Nat_App->UpdatePwrSaveIf(get_client_memptr(wlan_client, clt_indx)->v4_addr); in handle_wlan_client_pwrsave() 1776 delete_default_qos_rtrules(clt_indx, IPA_IP_v4); in handle_wlan_client_pwrsave() 1777 delete_default_qos_rtrules(clt_indx, IPA_IP_v6); in handle_wlan_client_pwrsave() 1778 get_client_memptr(wlan_client, clt_indx)->power_save_set = true; in handle_wlan_client_pwrsave() 1790 int clt_indx; in handle_wlan_client_down_evt() local [all …]
|