[][macro for 32K and fix null ptr]

[Description]
Add macro for 32K entry and fix null pointer error

[Release-log]
N/A

Change-Id: I728000204a2199a7d15f826592149a15fe4e9b4c
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/4563564
2 files changed