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_IfaceManager.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_IfaceManager.cpp')
-rw-r--r-- | ipacm/src/IPACM_IfaceManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipacm/src/IPACM_IfaceManager.cpp b/ipacm/src/IPACM_IfaceManager.cpp index 6050783..373e516 100644 --- a/ipacm/src/IPACM_IfaceManager.cpp +++ b/ipacm/src/IPACM_IfaceManager.cpp @@ -141,6 +141,7 @@ int IPACM_IfaceManager::create_iface_instance(int if_index, bool is_sta_mode) IPACM_EvtDispatcher::registr(IPA_HANDLE_WAN_DOWN, lan); IPACM_EvtDispatcher::registr(IPA_HANDLE_WAN_DOWN_V6, lan); IPACM_EvtDispatcher::registr(IPA_LINK_DOWN_EVENT, lan); + IPACM_EvtDispatcher::registr(IPA_LAN_DELETE_SELF, lan); IPACMDBG("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", lan->dev_name, lan->ipa_if_num); registr(ipa_interface_index, lan); /* solve the new_addr comes earlier issue */ @@ -183,6 +184,7 @@ int IPACM_IfaceManager::create_iface_instance(int if_index, bool is_sta_mode) IPACM_EvtDispatcher::registr(IPA_HANDLE_WAN_DOWN, wl); IPACM_EvtDispatcher::registr(IPA_HANDLE_WAN_DOWN_V6, wl); IPACM_EvtDispatcher::registr(IPA_LINK_DOWN_EVENT, wl); + IPACM_EvtDispatcher::registr(IPA_LAN_DELETE_SELF, wl); IPACMDBG("ipa_WLAN (%s):ipa_index (%d) instance open/registr ok\n", wl->dev_name, wl->ipa_if_num); registr(ipa_interface_index, wl); /* solve the new_addr comes earlier issue */ |