commit | 6562961049d401f0233f45701b07167c50a313d3 | [log] [tgz] |
---|---|---|
author | Srinivasa Duvvuri <sduvvuri@google.com> | Mon Apr 06 16:30:03 2015 -0700 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Tue Apr 07 21:41:40 2015 +0000 |
tree | 7ca0a0f77d5747bb8361a24cf6c624a881cbd21e | |
parent | c062538b3440f566120e302aac70e527e1cf5b07 [diff] |
shill: Add 4 NL80211 attributes specific to operating channel. Add NL80211_ATTR_CENTER_FREQ1, NL80211_ATTR_CENTER_FREQ2 NL80211_ATTR_CHANNEL_WIDTH, NL80211_ATTR_WIPHY_CHANNEL_TYPE attributes. The command NL80211_CMD_GET_INTERFACE returns the 4 additional attributes in addition to frequency (NL80211_ATTR_WIPHY_FREQUENCY). NL80211_ATTR_CHANNEL_WIDTH : indicates channel width (20/40/80/80+80/160). NL80211_ATTR_WIPHY_CHANNEL_TYPE : indicates HT40+/HT40-. not valid for 11ac. NL80211_ATTR_CENTER_FREQ1 : center frequency of the 160/80/40Mhz channel. NL80211_ATTR_CENTER_FREQ2 : center frequency of second segment. if channel is 80+80. BUG=None TEST=Tested by querying the interface with NL80211_CMD_GET_INTERFACE and verified the reponse hase the 4 added attributes . Change-Id: Ia9a7828166a1ec0664c6fbb5107b7fe99f4c81d9 Reviewed-on: https://chromium-review.googlesource.com/264151 Reviewed-by: Samuel Tan <samueltan@chromium.org> Commit-Queue: Srinivasa duvvuri <sduvvuri@chromium.org> Tested-by: Srinivasa duvvuri <sduvvuri@chromium.org>