History log of /system/connectivity/wificond/tests/mock_netlink_utils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cf51f862b31b5eb2066729660fd2caf48ecc77f8 08-Mar-2017 Ningyuan Wang <nywang@google.com> Monitor station events for hotspot mode

This enables NetlinkManager to monitor NL80211_CMD_NEW_STATION,
and NL80211_CMD_DEL_STATION.

This could be used for ApInterfaceImpl for monitoring associated
stations.

This also creates a new class LoggingUtils to avoid repeating code.
This also adds corresponding unit tests.

Bug: 36043922
Test: compile, unit tests, manual tests

Change-Id: I060062c0cd6250051da90658b229d786f287fad4
/system/connectivity/wificond/tests/mock_netlink_utils.h
075145ad1dcb8058222196becaa884b961dfced2 13-Mar-2017 Ningyuan Wang <nywang@google.com> Cleanup p2p0 interface upon tearDownInterfaces().

This replaces NetlinkUtils::GetInterfaceInfo with NetlinkUtils::
GetInterfaces. Instead of picking client interface inside NetlinkUtils,
this change allows wificond main object(server) to dump all the interfaces
from kernel.
Being able to dump all interfaces, wificond main object therefore can mark
down all the interfaces upon cleanup.

Bug: 36139978
Bug: 35949498

Test: compile, unit tests, manual test, integration test

Change-Id: I66dd4f8c3b26087dd182591763de8fa4da29f1d6
/system/connectivity/wificond/tests/mock_netlink_utils.h
9136ae3b1e8327ead81c3468d7808bb889077442 01-Mar-2017 Ningyuan Wang <nywang@google.com> Cleanup AP logic after Hostapd is down

Bug: 35445677
Test: compile, unit tests, manual test

Change-Id: Ic7e6c593ded19955da7a85d60730bf8e9afd679a
/system/connectivity/wificond/tests/mock_netlink_utils.h
495e5b35c9b7231574658f273f2aa061e46d0a08 03-Dec-2016 Ningyuan Wang <nywang@google.com> Monitor regulatory domain change

This adds the function of regulatory domain change monitoring
on wificond.

This also allows wificond to print the supported bands/channels
upon regulatory domain change.

This also adds the corresponding unit tests.

Bug: 35150708
Test: compile, unit tests, manual tests
Change-Id: Idbcf9ebf25f4e7be3b371ec3531b6b52303476e8
/system/connectivity/wificond/tests/mock_netlink_utils.h
2c74cae9b5e0f0e72250fd5f82928768496a5f37 30-Nov-2016 Ningyuan Wang <nywang@google.com> Expose wiphy capabilities to ScannerImpl

This adds a struct WiphyFeatures to save wiphy feature flags
from netlink wiphy message. Currently we only add fields for
randomized mac address support.

This also allows ClientInterfaceImpl to expose channel info, scan
capabilities and wiphy features to ScannerImpl object.

Bug: 33216906
Test: compile, unit tests, manual test

Change-Id: Iac9355e45a3cf2011120fc6a91ccfb2dee434951
/system/connectivity/wificond/tests/mock_netlink_utils.h
c62360e419c9d6aac905f8c2bcdf9107eb137e66 23-Aug-2016 Roshan Pius <rpius@google.com> Fetch the mac address in GetInterfaceNameAndIndex

Rename the |GetInterfaceNameAndIndex| function to
|GetInterfaceInfo| and fetch the mac address assigned to the interface
along with the other info being fetched.

BUG: 31038272
TEST: Modified existing tests
TEST: Manual tests on bullhead to see if the correct mac address is
fetched.

Change-Id: I89c11e2227ef9bdf90dfd681df09d8b8116cd53f
/system/connectivity/wificond/tests/mock_netlink_utils.h
9bc59a058868140e33bc7c46c9232c8d9b9148ca 11-Aug-2016 Ningyuan Wang <nywang@google.com> Get interface index from kernel for wificond

This CL adds the interface index query to interface name query.

With interface index wificond can assign scan request to specific
interface and ignore scan result from uninteresting interfaces.

BUG=30808053
TEST=compile, unit tests, integration tests

Change-Id: I2a6333dcad4e9faadb7793501762602017125865
/system/connectivity/wificond/tests/mock_netlink_utils.h
f28bd901d9588058fe4256bbfe1ee720249b9747 01-Aug-2016 Ningyuan Wang <nywang@google.com> Seperate netlink util functions to NL80211Utils

This creates a new clas NetlinkUtils and moves two util
functions GetWiphyIndex() and GetInterfaceName() from
NelinkManager to NetlinkUtils.

BUG=30565670
TEST=unit tests and integration tests

Change-Id: I713d4388e688f5235b7fbf61c7b9ea9341d667db
/system/connectivity/wificond/tests/mock_netlink_utils.h