[][MAC80211][hnat][Refactor two-way hashing and per-flow accounting features to the upstream style]

[Description]
Refactor two-way hashing and per-flow accounting features to the upstream
style.

[Release-log]
N/A


Change-Id: Id1a39290c2a973a342412a981818e38a8f7707c4
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9206337
7 files changed