OSDN Git Service

Create NetlinkManager for wificond
authorNingyuan Wang <nywang@google.com>
Wed, 13 Jul 2016 21:11:24 +0000 (14:11 -0700)
committerNingyuan Wang <nywang@google.com>
Mon, 18 Jul 2016 21:30:14 +0000 (14:30 -0700)
commit7397e6b7c3635e2121f6d2229557e684bc4756cf
treec2fb953c476c58736f3fac6c474eda23fd32826d
parent9ec15f8a0ea75a9032c166096f2dde09bab74c8d
Create NetlinkManager for wificond

This CL creates class NetlinkManager.
In this CL, NetlinkManager sets up netlink socket and
requests NL80211 family id from kernel.
This is the start point of all other NL80211 operations.

BUG=29454786
TEST=compile
TEST=unit tests
TEST=manual tests

Change-Id: I3f8e08c2836d64a39243efb71cf387dab226a621
Android.mk
net/netlink_manager.cpp [new file with mode: 0644]
net/netlink_manager.h [new file with mode: 0644]
net/nl80211_packet.cpp
net/nl80211_packet.h
tests/nl80211_packet_unittest.cpp