| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows wificond's ClientInterfaceImpl and
ApInterfaceImpl to dump state.
The dump state includes scan capabilities, wiphy features, and
number of current associated stations for AP mode.
This also adds the missing const keyword for IsAssociated().
Bug: 31336376
Test: compile, manual test
Sample dump output:
Current wiphy index: 0
Cached interfaces list from kernel message:
Interface index: 23, name: p2p0, mac address: 66:bc:0c:47:df:00
Interface index: 22, name: wlan0, mac address: 64:bc:0c:47:df:00
------- Dump of client interface with index: 22 and name: wlan0-------
Max number of ssids for single shot scan: 10
Max number of ssids for scheduled scan: 16
Max number of match sets for scheduled scan: 16
Device supports random MAC for single shot scan: 1
Device supports random MAC for scheduled scan: 1
------- Dump End -------
--------- 0.004s was the duration of dumpsys wificond
Change-Id: I862974af743ca6ca303dfc1a4f6c773dd5b7a03e
|
|
|
|
|
|
| |
Bug: 31230864
Test: compile, unit tests, manual test
Change-Id: I28cc755a79c0fb3905a6684ea1281428a5bc2afc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Bug: 35445677
Test: compile, unit tests, manual test
Change-Id: Ic7e6c593ded19955da7a85d60730bf8e9afd679a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We would like to reason about our interfaces as being up
when they are configured and ready for use, and down otherwise.
This helps when switching modes. For example, when setting up a SoftAP,
you can expect that the interface starts in a down state, and
transitions to up when hostapd is ready for business. Note that we
cannot do this after firmware reload, because this may cause driver
de-initialization (see c#6 in b/31205821).
Bug: 31337216
Test: Integration tests pass
Change-Id: I03a71ea623e29ef9b023d97afc81cf836ebfb1ff
|
|
|
|
|
|
|
|
|
| |
This allows us to mock interactions with supplicant in unit tests.
Bug: 29620309
Test: unit/integration tests pass
Change-Id: I1526c90ffa9822a4d7dcabe5752676bfc61d6965
|
|
|
|
|
|
|
|
|
|
|
| |
This cleans up after we unceremoniously kill hostapd with SIGKILL.
It also guarantees that we don't continue beaconing after the death
of hostapd.
Test: Unit and integration tests pass
Bug: 31023120
Change-Id: I6a363bfdab81ea24a25d6a86a42ff4ccc99556dd
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Bug: 30041062
Test: unit/integration tests pass
Change-Id: I48a0adc338e474085c399750441198a4acae2cf5
|
|
|
|
|
|
|
|
|
|
|
| |
Give hostapd SIGTERM and some time do take itself down
before dropping SIGKILL on it. This is blocking, and
we'll eventually replace it with an asynchronous interface
but it keeps us healthy for now.
Bug: 30311493
Change-Id: Iadbd3a4fd5c49c42d9bba12f19cfcd65ee567a67
Test: Integration tests finally pass reliably
|
|
|
|
|
|
|
|
|
|
| |
Add AIDL interfaces, implementation, and tests to wificond.
Bug: 30040724
Test: unitests pass
Test: integration tests pass
Change-Id: I75339d64bf92941de26c7552b6b711cbea00eb80
|
|
|
|
|
|
|
|
|
| |
This make our local headers clearly wificond prefixed.
TEST=compile
BUG=None
Change-Id: I68cc9efd2f73bec7a4cbec09a470af58420ac3e1
|
|
Bug: 29579539
Change-Id: I49e050a6c806a5841931b1c2cddfbba7925f744a
Test: Unit, integration tests pass
|