8ec7696f5111abb46d12a6bd1f2e27d8b8291b34 |
|
08-Apr-2017 |
Ningyuan Wang <nywang@google.com> |
Add dump state for wificond interface classes 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
/system/connectivity/wificond/ap_interface_impl.cpp
|
9f0fd68f7877ac8dc234eea35ab2e6e960a2b947 |
|
16-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Add wificond API to expose number of associated stations Bug: 31230864 Test: compile, unit tests, manual test Change-Id: I28cc755a79c0fb3905a6684ea1281428a5bc2afc
/system/connectivity/wificond/ap_interface_impl.cpp
|
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/ap_interface_impl.cpp
|
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/ap_interface_impl.cpp
|
4fc3792b547087f9fd425393cd3159d2f74fa831 |
|
22-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Always set interface down in object destruction 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
/system/connectivity/wificond/ap_interface_impl.cpp
|
537c1ba391765b3aa7750450c208c650a02c04f0 |
|
23-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Use mockable supplicant delegate This allows us to mock interactions with supplicant in unit tests. Bug: 29620309 Test: unit/integration tests pass Change-Id: I1526c90ffa9822a4d7dcabe5752676bfc61d6965
/system/connectivity/wificond/ap_interface_impl.cpp
|
d42ca5abc3f3f80fb1e20ead3c093780cd409935 |
|
23-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Set AP interfaces down after stopping hostapd 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
/system/connectivity/wificond/ap_interface_impl.cpp
|
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/ap_interface_impl.cpp
|
c139fbf821d3c62523afbcf0950ebc2d1abaa93d |
|
27-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Add support for creating client interfaces Bug: 30041062 Test: unit/integration tests pass Change-Id: I48a0adc338e474085c399750441198a4acae2cf5
/system/connectivity/wificond/ap_interface_impl.cpp
|
c06a8b8a1e23af4b909af1f202a9ca642be012b0 |
|
29-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Give hostapd a hint that it is about to die 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
/system/connectivity/wificond/ap_interface_impl.cpp
|
1f8dd4511dc210fb0e49e8619ceaa039bd82aa52 |
|
19-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Control hostapd from IApInterface Add AIDL interfaces, implementation, and tests to wificond. Bug: 30040724 Test: unitests pass Test: integration tests pass Change-Id: I75339d64bf92941de26c7552b6b711cbea00eb80
/system/connectivity/wificond/ap_interface_impl.cpp
|
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/ap_interface_impl.cpp
|
f229bbe6676ac7d12f4aa22a902eb2eefb2fc5c6 |
|
23-Jun-2016 |
Christopher Wiley <wiley@google.com> |
Expose IPC interfaces to create/destroy AP interfaces Bug: 29579539 Change-Id: I49e050a6c806a5841931b1c2cddfbba7925f744a Test: Unit, integration tests pass
/system/connectivity/wificond/ap_interface_impl.cpp
|