wifi: Restructure wifi legacy HAL implementation am: aabe575536
am: e9301b4c57

Change-Id: I274dba8a79186f58284688ad7c5b9762d93aec0d