History log of /system/connectivity/wificond/net/nl80211_packet.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
21ff4c7ad0b0ec8da8392c00eedbae022d6e21e5 19-Aug-2016 Ningyuan Wang <nywang@google.com> Get rid of NL80211Packet copying

This CL removes all NL80211Packet copying by introducing the use of
unique_ptr on NL80211Packet objects.

The copy constructor is not explicitly deleted because it helps write
readable unit tests.

BUG=30901326
TEST=compile, unit tests, manual tests

Change-Id: I8dc9b42cacc3e929aa720abbd8ff0a3862b33bd3
/system/connectivity/wificond/net/nl80211_packet.h
703601782dc0dcf952b16b8c906e623f276b6098 18-Aug-2016 Ningyuan Wang <nywang@google.com> Add a copy counters for netlink packet debugging

Copy operation of NL80211Packet copies the entire buffer. This
costs a lot resouces. We should avoid it as much as we can.

This CL adds a static variable in NL80211Packet tracking the number
of copy operations, as well as another counter tracking the bytes of
we copied. This help us debug wificond netlink performance issues.

BUG=30901326
TEST=manual tests

Change-Id: I5be04ff977b5ffd7340a98d435a5703b0b79be28
/system/connectivity/wificond/net/nl80211_packet.h
8c8faa2a8999e5ecbe5b05605946ad66a7a202a4 10-Aug-2016 Christopher Wiley <wiley@google.com> Process all responses to queries for interface name

Sometimes the kernel will tell us about unexpected network devices (e.g.
p2p devices without a real netdev backing them).

Also added a quick facility to log these packets in excruciating detail.
This should only be used for debugging.

Bug: 30773545
Test: angler can now configure client network interfaces in this state.
added a unittest

Change-Id: I5423acd7dc6177f73e54150e5ef734d15703163d
/system/connectivity/wificond/net/nl80211_packet.h
39f581c0a6e2d9f6943b9b7069b6f096e0e5e858 29-Jul-2016 Ningyuan Wang <nywang@google.com> Handle control messages for NetlinkManager

BUG=30508758
TEST=compile
TEST=unittests and intergration tests still pass

Change-Id: I6de34a4b3b7537e68a74810e4416735bc69ba3b3
/system/connectivity/wificond/net/nl80211_packet.h
e6dce59eaa5f1fcbdfb4b3fc6a60d5cd3b522b06 21-Jul-2016 Ningyuan Wang <nywang@google.com> Get wiphy index using NL80211 messages

Add utils functions in NetlinkManager to get wiphy index.
wificond should refresh wiphy index using those utils after
reloading the driver.

BUG=29454786
TEST=compile
TEST=unittests and intergration tests still pass

Change-Id: I303ac6b81ab3650acfb7a823cb0b423f55d373b4
/system/connectivity/wificond/net/nl80211_packet.h
235660f1a38c0a94a8f890fe0228befed5567f4f 19-Jul-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Create NetlinkManager for wificond"
7397e6b7c3635e2121f6d2229557e684bc4756cf 13-Jul-2016 Ningyuan Wang <nywang@google.com> 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
/system/connectivity/wificond/net/nl80211_packet.h
808c670699b218f8cc16f83e81be408ae441d44a 16-Jul-2016 Ningyuan Wang <nywang@google.com> Change include directory

This make our local headers clearly wificond prefixed.

TEST=compile
BUG=None

Change-Id: I68cc9efd2f73bec7a4cbec09a470af58420ac3e1
/system/connectivity/wificond/net/nl80211_packet.h
337a336edb8fc48848883a4c0d7a91e63f445f6f 07-Jul-2016 Ningyuan Wang <nywang@google.com> Initial commit for NL80211Packet

This CL adds the initial implementation of class NL80211Packet
as well as the corresponding unit tests.

BUG=29454786
TEST=compile
TEST=run unittests

Change-Id: Ide5393e77650d157cc3045ffdaaf5b62615a5346
/system/connectivity/wificond/net/nl80211_packet.h