diff options
author | Skylar Chang <chiaweic@codeaurora.org> | 2014-03-17 15:12:53 -0700 |
---|---|---|
committer | Skylar Chang <chiaweic@codeaurora.org> | 2014-04-10 19:17:20 -0700 |
commit | b371dda0d57cb97dd4c913aea2fe39f34992d603 (patch) | |
tree | cc1ad69bfc52d70833696eba963e997c1dcd691b /ipacm/src/IPACM_Config.cpp | |
parent | 58e559109b8fc2dc40251ce94bb0e774509c2f35 (diff) | |
download | ipacfg-mgr-b371dda0d57cb97dd4c913aea2fe39f34992d603.tar.gz |
IPACM: enable LAN2LAN traffic using HW-path
Current Lan2Lan traffic (usb->wlan, wlan->usb)
is taking the SW-path which cannot fit the
throughput requirement from customers, the change
is to add client2client specific header/filter,
routing rules in IPA to make Lan2Lan traffic
going through ipa-HW.
Change-Id: I80767339c28f69ca3cb08d97c531ceabd8879a47
Diffstat (limited to 'ipacm/src/IPACM_Config.cpp')
-rw-r--r-- | ipacm/src/IPACM_Config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipacm/src/IPACM_Config.cpp b/ipacm/src/IPACM_Config.cpp index ba0417d..e493e94 100644 --- a/ipacm/src/IPACM_Config.cpp +++ b/ipacm/src/IPACM_Config.cpp @@ -185,6 +185,11 @@ int IPACM_Config::Init(void) rt_tbl_wan_dl.ip = IPA_IP_MAX; strncpy(rt_tbl_wan_dl.name, WAN_DL_ROUTE_TABLE_NAME, sizeof(rt_tbl_wan_dl.name)); + rt_tbl_lan2lan_v4.ip = IPA_IP_v4; + strncpy(rt_tbl_lan2lan_v4.name, V4_LAN_TO_LAN_ROUTE_TABLE_NAME, sizeof(rt_tbl_lan2lan_v4.name)); + + rt_tbl_lan2lan_v6.ip = IPA_IP_v6; + strncpy(rt_tbl_lan2lan_v6.name, V6_LAN_TO_LAN_ROUTE_TABLE_NAME, sizeof(rt_tbl_lan2lan_v6.name)); /* Construct IPACM ipa_client map to rm_resource table */ ipa_client_rm_map_tbl[IPA_CLIENT_WLAN1_PROD]= IPA_RM_RESOURCE_WLAN_PROD; |