commit | dc085c8d2c50e71e230b594b2472da7498705fa4 | [log] [tgz] |
---|---|---|
author | repo sync <wdg@chromium.org> | Fri Dec 28 08:54:41 2012 -0800 |
committer | ChromeBot <chrome-bot@google.com> | Wed Jan 09 12:13:43 2013 -0800 |
tree | c262b858016b9122b6d3510d92e5b1881d698c7e | |
parent | 5d0d32c1b5e2370ff0739f7a2dbb641726d4bf87 [diff] |
shill: Combines user- and kernel-bound nl80211 messages. The UserBoundNlMessage and KernelBoundNlMessage classes are merged into Nl80211Message. As part of combining the two messages, the code was modified to use raw socket writes instead of using libnl (in order to test kernel-bound Nl80211Message writing) for sending a message. Note, however, that libnl code is still liberally used; there's just less use of it than before. Some (a little) effort was made to be consistent with the RTNLHandler code toward combining the codebases, eventually. BUG=chromium-os:36099, chromium-os:36638 TEST=unittests and manual tests (I added code to create an Nl80211Message, send that message to the kernel, and display the output; I hand inspected the output). Change-Id: I7b04e49cee84745d1b02f1dd2b064f9e9a0aada2 Reviewed-on: https://gerrit.chromium.org/gerrit/40266 Commit-Queue: Wade Guthrie <wdg@chromium.org> Reviewed-by: Wade Guthrie <wdg@chromium.org> Tested-by: Wade Guthrie <wdg@chromium.org>