Revert WIFI FLAGS updates + lost C file for WIFI."

This reverts commit 2405c6a0c1a5e52a15a0be6a34eb9616630d427c.