commit | 718724704dba00750a4b5179b9a01280bf860d4a | [log] [tgz] |
---|---|---|
author | Wade Guthrie <wdg@chromium.org> | Tue Mar 05 18:33:38 2013 |
committer | ChromeBot <chrome-bot@google.com> | Sat Mar 09 17:59:06 2013 |
tree | a15bdd845e9f9de1209af4fb8fb51f329697f10c | |
parent | f48a19573c5470868fae969492d9839813bb9d5e [diff] |
shill: Adds new message types. Added the CTRL_CMD family of messages which includes CTRL_CMD_GET_FAMILY and its response, CTRL_CMD_NEW_FAMILY. These will be needed when we go to get rid of libnl. A few message types (NLMSG_NOOP; NLMSG_ERROR, which also include Acks; NLMSG_DONE; and NLMSG_OVERRUN) are supported at the base level of the netlink protocol. These types were added (which required moving error, ack, and noop messages from their previously erroneous spot as part of nl80211 messages). The NL80211_CMD_GET_SCAN message was added in anticipation of supporting scan inside shill. As part of all of this, |NetlinkMessageFactory::CreateMessage| was cleaned-up. BUG=None. TEST=unittests and manual tests (started shill with log-level=-10,wifi and saw that shill is receiving and decoding messages). Change-Id: Iddcec54d8f8b47231e25719cbeb778aff9fd971c Reviewed-on: https://gerrit.chromium.org/gerrit/44645 Reviewed-by: Wade Guthrie <wdg@chromium.org> Tested-by: Wade Guthrie <wdg@chromium.org> Commit-Queue: Wade Guthrie <wdg@chromium.org>