[qca-nss-ecm] move common functions to ecm core from front end

Change-Id: I0597a4dfdb032cb81be7406d1f2afad4b2b45c60
Signed-off-by: Xiaoping Fan <xfan@codeaurora.org>
6 files changed