History log of /system/connectivity/wificond/tests/integration/ap_interface_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b3764663984f5fe57ca741d2e773a20132d7561a 05-Jan-2018 Roshan Pius <rpius@google.com> wificond: Remove unused writeHostapdConfig() method

This functionality has been migrated to the HIDL interface. Remove dead
code from wificond.

Bug: 36646171
Test: ./system/connectivity/wificond/runtests.sh
Change-Id: I2c1a1b453b1c6566f6486041b292efb07f7ab9fa
/system/connectivity/wificond/tests/integration/ap_interface_test.cpp
4b7b1c823575c644f2c9c74d3b80a71dd0b4f440 12-Jan-2018 mukesh agrawal <quiche@google.com> Revert "Request Automatic Channel Selection"

This reverts commit 99ebcbd4bbd8ce5d951f84aa5a5f11e0db0294cb.

Bug: 71878020
Test: ./runtests.sh (on walleye)
Test: manual

Manual test
-----------
- enable 5 GHz wifi hotspot from settings
$ adb logcat -d -b main hostapd '*:S' -e 'ACS' | wc -l
0
- verify that another phone shows walleye's softap in scan results

Change-Id: I43208bf09b70055eea3f96114bf2ecbcbb8cb60e
/system/connectivity/wificond/tests/integration/ap_interface_test.cpp
99ebcbd4bbd8ce5d951f84aa5a5f11e0db0294cb 19-Dec-2017 Ningyuan Wang <nywang@google.com> Request Automatic Channel Selection

This changes the writeHostapdConfig() interface by replacing
|channel| with |band|.

Bug: 69065316
Test: runtests.sh (on walleye)
Test: manual
Test: wifi sanity (http://b/71636949)

Manual test
-----------
- enable wifi hotspot from settings
$ adb logcat -b main hostapd '*:S' -e 'ACS'
01-04 18:03:53.482 3040 3040 I hostapd : ACS: Automatic channel selection started, this may take a bit
01-04 18:03:53.482 3040 3040 I hostapd : ACS: Offloading to driver
01-04 18:03:53.827 3040 3040 I hostapd : nl80211: ACS Results: PCH: 6 SCH: 0 BW: 20 VHT0: 0 VHT1: 0 HW_MODE: 1
01-04 18:03:53.827 3040 3040 I hostapd : wlan0: ACS-COMPLETED freq=2437 channel=6

Change-Id: I89ed7d72ac4e02f3c6ad62affd61dc827cdd5d43
/system/connectivity/wificond/tests/integration/ap_interface_test.cpp
e5f2ed5f5892753d7d3ecb43df25773af47490f5 14-Nov-2017 Roshan Pius <rpius@google.com> wificond: Add support for concurrent interfaces

Changes in the CL:
a) Create a map of iface name to handle for all the interfaces setup by
wificond.
b) Remove the old check to ensure that only 1 interface was active at
any point.
c) Add methods to teardown individual interfaces.

Bug: 69319369
Test: ./system/connectivity/wificond/runtests.sh
Change-Id: I0945c54a76fc076eb5554c34ce3c006aca3eebac
/system/connectivity/wificond/tests/integration/ap_interface_test.cpp
d69e841f2837c25f54bcffd1591aae66a8ac33b4 13-Sep-2017 Mehdi Alizadeh <mett@google.com> Adds a callback to call on num clients change

ApInterfaceBinder receives a callback on every startHostapd, to notify
the client everytime number of connected stations changes.

Bug: 68712260
Test: system/connectivity/wificond/runtests.sh
Change-Id: I7c9ddc648c330e63e439e737aa59a06354e121b4
/system/connectivity/wificond/tests/integration/ap_interface_test.cpp
47443838f760908b9a6571aed4f4fa4e93ad37bc 03-Oct-2017 Roshan Pius <rpius@google.com> wificond: Create interface objects using name

Use the passed in iface name to create the corresponding interface
object.

Bug: 67365651
Test: ./system/connectivity/wificond/runtests.sh
Test: Will send for regression tests.
Change-Id: I9e8d748d47388a45567234b93f8aff854d784aea
/system/connectivity/wificond/tests/integration/ap_interface_test.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/tests/integration/ap_interface_test.cpp
fc6af08571620a5e9d8edf745191ae1009889b92 23-Aug-2016 Christopher Wiley <wiley@google.com> Tear down system state on wificond startup

Test: Added an integration test
Bug: 29620309

Change-Id: Ibf378dda9b6ca2dfa29cca3071d967a3e4f6b036
/system/connectivity/wificond/tests/integration/ap_interface_test.cpp
356d05a48660fb4ba18069be262146592f7a9d91 21-Jul-2016 Christopher Wiley <wiley@google.com> Move integration tests for IApInterface to their own file

Move existing tests related to IApInterface to a new file.
Add additional test coverage to exercise IApInterface.

Bug: 30040724
Test: These tests pass. Unfortunately, hostapd start/stop
is still not as reliable as we'd like.

Change-Id: I08956798c917cf6abf09ab44c48b3588c61c8de5
/system/connectivity/wificond/tests/integration/ap_interface_test.cpp