commit | 47bec941ef4c2590729834420603672dd969c798 | [log] [tgz] |
---|---|---|
author | Srinivasa Duvvuri <sduvvuri@google.com> | Wed Mar 25 17:30:36 2015 -0700 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Thu Apr 02 02:20:54 2015 +0000 |
tree | 893ce5dfc9e3cdb111301ec007fba42639f58aab | |
parent | 782cdcea789d76a7ad7802cf9410b14a2399c0a9 [diff] |
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>