shill: Add NL80211_CMD_GET_SURVEY and NL80211_CMD_NEW_SURVEY_RESULTS
to the shill net layer.
Add NL80211_CMD_GET_SURVEY and NL80211_CMD_NEW_SURVEY_RESULTS
to the shill net layer. Also add the attributes associated with
the NL80211_CMD_NEW_SURVEY_RESULTS command. When ever a channel
scan is performed on the 802.11 driver, the driver in addition
to performing scan it looks at load (how busy the channel is)
on each channel and caches the channel load metrics for each
scanned channel. When the application sends
NL80211_CMD_GET_SURVEY, kernel replies with
NL80211_CMD_NEW_SURVEY_RESULTS that contain the channel load
metrics cached by the 802.11 driver during last scan.
BUG=chromium:88888
TEST=Ran scan on on wifi interface and issued survey command and
verified the survey results.
Change-Id: Ia59a83a7426484980260da542df3aeea560c826c
Reviewed-on: https://chromium-review.googlesource.com/262603
Reviewed-by: Samuel Tan <samueltan@chromium.org>
Tested-by: Srinivasa duvvuri <sduvvuri@chromium.org>
Commit-Queue: Srinivasa duvvuri <sduvvuri@chromium.org>
5 files changed