provide wifi info from wifi_files.c

When wifi related sample set is enabled, we see that 'wifi show -b 2.4'
is triggered every 40 seconds. In WindCharger, It's slow to load python
and its libs and then execute and saturate CPU periodically,
usually in stress test. CPU Saturation further causes memory shortage
because of memory recycling is impacted.
We try to solve this performance issue by avoid running python wifi show:
1. wifi_files follow the util iw's way to use Netlink to get wifi info
   and save to /tmp/wifi/wifiinfo/<interface> in json format.
2. cwmp load the json file directly and respond acs sampling request.

Change-Id: Id7a6a11d2bbceafa764cbb21d853c0bfcf6ef304
1 file changed