Add WAN/LAN port function for WR842