To have a maintainable Firmware, with TCP/IP stack, you still need some sort of RTOS anyway.
Wireless/network stack is hard.