Implement FDE support

Discussed-with: Mike Baker <mbm@openwrt.org>