Home
last modified time | relevance | path

Searched refs:IPACM_Wan (Results 1 – 25 of 26) sorted by relevance

12

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wan.h99 class IPACM_Wan : public IPACM_Iface
113 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *);
114 virtual ~IPACM_Wan();
196 for (i=0; i < IPACM_Wan::ipa_if_num_tether_v4_total; i++) in delete_tether_iface()
198 if(IPACM_Wan::ipa_if_num_tether_v4[i] == ipa_if_num_tether) in delete_tether_iface()
205 if(i == IPACM_Wan::ipa_if_num_tether_v4_total) in delete_tether_iface()
210 for(j = i+1; j < IPACM_Wan::ipa_if_num_tether_v4_total; j++) in delete_tether_iface()
212 IPACM_Wan::ipa_if_num_tether_v4[j-1] = IPACM_Wan::ipa_if_num_tether_v4[j]; in delete_tether_iface()
214 IPACM_Wan::ipa_if_num_tether_v4_total--; in delete_tether_iface()
216 IPACM_Wan::ipa_if_num_tether_v4_total); in delete_tether_iface()
[all …]
DIPACM_Wlan.h192 …pv6_addr(get_client_memptr(wlan_client, clt_indx)->v6_addr[num_v6]) && (IPACM_Wan::backhaul_mode =… in delete_default_qos_rtrules()
DIPACM_Lan.h400 …ipv6_addr(get_client_memptr(eth_client, clt_indx)->v6_addr[num_v6]) && (IPACM_Wan::backhaul_mode =… in delete_eth_rtrules()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wan.h93 class IPACM_Wan : public IPACM_Iface
104 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *);
105 virtual ~IPACM_Wan();
167 for (i=0; i < IPACM_Wan::ipa_if_num_tether_v4_total; i++) in delete_tether_iface()
169 if(IPACM_Wan::ipa_if_num_tether_v4[i] == ipa_if_num_tether) in delete_tether_iface()
176 if(i == IPACM_Wan::ipa_if_num_tether_v4_total) in delete_tether_iface()
181 for(j = i+1; j < IPACM_Wan::ipa_if_num_tether_v4_total; j++) in delete_tether_iface()
183 IPACM_Wan::ipa_if_num_tether_v4[j-1] = IPACM_Wan::ipa_if_num_tether_v4[j]; in delete_tether_iface()
185 IPACM_Wan::ipa_if_num_tether_v4_total--; in delete_tether_iface()
187 IPACM_Wan::ipa_if_num_tether_v4_total); in delete_tether_iface()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Wan.cpp57 bool IPACM_Wan::wan_up = false;
58 bool IPACM_Wan::wan_up_v6 = false;
59 uint8_t IPACM_Wan::xlat_mux_id = 0;
61 uint32_t IPACM_Wan::curr_wan_ip = 0;
62 int IPACM_Wan::num_v4_flt_rule = 0;
63 int IPACM_Wan::num_v6_flt_rule = 0;
65 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v4[IPA_MAX_FLT_RULE];
66 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v6[IPA_MAX_FLT_RULE];
68 char IPACM_Wan::wan_up_dev_name[IF_NAME_LEN];
70 bool IPACM_Wan::backhaul_is_sta_mode = false;
[all …]
DIPACM_Wlan.cpp293 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
297 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback()
301 IPACM_Wan::getXlat_Mux_Id()); in event_callback()
313 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
317 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback()
318 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback()
320 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback()
336 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
341 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
392 IPACM_Wan::getXlat_Mux_Id()); in event_callback()
[all …]
DMakefile.am22 IPACM_Wan.cpp \
DIPACM_IfaceManager.cpp437 IPACM_Wan *w; in create_iface_instance()
440 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance()
452 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
501 IPACM_Wan *embms = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
DIPACM_Lan.cpp198 if(ipa_if_cate == LAN_IF && IPACM_Wan::backhaul_is_sta_mode == true) /* LTE */ in IPACM_Lan()
200 … falg set on LAN instance (%d) with WIFI backhaul (%d)\n", ipa_if_cate, IPACM_Wan::backhaul_is_sta… in IPACM_Lan()
205 if (IPACM_Wan::isWanUP(ipa_if_num)) in IPACM_Lan()
211 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in IPACM_Lan()
425 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
429 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback()
433 IPACM_Wan::getXlat_Mux_Id()); in event_callback()
445 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
449 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback()
450 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback()
[all …]
DAndroid.mk48 IPACM_Wan.cpp \
DIPACM_ConntrackListener.cpp702 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Wan.cpp58 bool IPACM_Wan::wan_up = false;
59 bool IPACM_Wan::wan_up_v6 = false;
60 uint8_t IPACM_Wan::xlat_mux_id = 0;
62 uint32_t IPACM_Wan::curr_wan_ip = 0;
63 int IPACM_Wan::num_v4_flt_rule = 0;
64 int IPACM_Wan::num_v6_flt_rule = 0;
66 int IPACM_Wan::ipa_pm_q6_check = 0;
68 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v4[IPA_MAX_FLT_RULE];
69 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v6[IPA_MAX_FLT_RULE];
71 char IPACM_Wan::wan_up_dev_name[IF_NAME_LEN];
[all …]
DIPACM_Wlan.cpp295 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
299 if(IPACM_Wan::backhaul_mode == Q6_WAN) in event_callback()
303 IPACM_Wan::getXlat_Mux_Id()); in event_callback()
315 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
319 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback()
320 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback()
322 if(IPACM_Wan::backhaul_mode == Q6_WAN) in event_callback()
338 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
343 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
566 if (IPACM_Wan::isXlat() && (data->prefix.iptype == IPA_IP_v4)) in event_callback()
[all …]
DMakefile.am22 IPACM_Wan.cpp \
DIPACM_Lan.cpp198 if(ipa_if_cate == LAN_IF && IPACM_Wan::backhaul_mode == WLAN_WAN) /* LTE */ in IPACM_Lan()
200 … flag set on LAN instance (%d) with WIFI backhaul (%d)\n", ipa_if_cate, IPACM_Wan::backhaul_mode )… in IPACM_Lan()
205 if (IPACM_Wan::isWanUP(ipa_if_num)) in IPACM_Lan()
211 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in IPACM_Lan()
426 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
430 if(IPACM_Wan::backhaul_mode == Q6_WAN) in event_callback()
434 IPACM_Wan::getXlat_Mux_Id()); in event_callback()
446 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
450 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback()
451 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback()
[all …]
DIPACM_IfaceManager.cpp437 IPACM_Wan *w; in create_iface_instance()
440 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance()
452 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
502 IPACM_Wan *embms = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
DIPACM_Main.cpp755 IPACM_Wan::clearExtProp(); in ipa_driver_msg_notifier()
845IPACM_Wan::coalesce_config(coalesce_info.qmap_id, coalesce_info.tcp_enable, coalesce_info.udp_enab… in ipa_driver_msg_notifier()
861 IPACM_Wan::coalesce_config(coalesce_info.qmap_id, false, false); in ipa_driver_msg_notifier()
965 IPACM_Wan::coalesce_config_reset(); in main()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Wlan.cpp271 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
275 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback()
279 IPACM_Wan::getXlat_Mux_Id()); in event_callback()
291 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
295 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback()
296 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback()
298 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback()
548 if (IPACM_Wan::backhaul_is_sta_mode == false) /* LTE */ in event_callback()
579 handle_wan_down(IPACM_Wan::backhaul_is_sta_mode); /* LTE STA */ in event_callback()
582 handle_wan_down_v6(IPACM_Wan::backhaul_is_sta_mode); /* LTE STA */ in event_callback()
[all …]
DMakefile.am22 IPACM_Wan.cpp \
DIPACM_IfaceManager.cpp419 IPACM_Wan *w; in create_iface_instance()
422 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance()
426 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
471 IPACM_Wan *embms = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
DIPACM_Lan.cpp191 if (IPACM_Wan::isWanUP(ipa_if_num)) in IPACM_Lan()
197 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in IPACM_Lan()
389 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback()
393 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback()
397 IPACM_Wan::getXlat_Mux_Id()); in event_callback()
409 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback()
413 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback()
414 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback()
415 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback()
685 if (IPACM_Wan::backhaul_is_sta_mode == false) /* LTE */ in event_callback()
[all …]
DAndroid.mk67 IPACM_Wan.cpp \
DIPACM_ConntrackListener.cpp711 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/
DAndroid.bp27 "src/IPACM_Wan.cpp",
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wan.h90 class IPACM_Wan : public IPACM_Iface
101 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *);
102 virtual ~IPACM_Wan();

12