690ca4886375ae2c4ac1f4ae25d3f6cabf39f556 |
|
22-May-2017 |
vikram hirehal <vhirehal@google.com> |
autotest: Add tx bitrate and rx bitrate support to IwRunner. Jetstream performance needs support for txbitrate and rxbitrate station dump in Iwrunner. BUG=None TEST=Verified on jetstream devices. Change-Id: Idef505f769ca0fddfee39c69a8b77cd6c6c8ca66 Reviewed-on: https://chromium-review.googlesource.com/511163 Commit-Ready: VIKRAM HIREHAL <vhirehal@google.com> Tested-by: VIKRAM HIREHAL <vhirehal@google.com> Reviewed-by: Brian Norris <briannorris@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
47566aebb6c7a133847c081b9cc9825d5c3b6b78 |
|
02-May-2017 |
Dane Pollock <danepollock@google.com> |
autotest: Add station dump support to IwRunner. Jetstream tests need support for station dump in IwRunner. Also taking the opportunity to move some existing iw parsing in the jetstream repo into IwRunner, so all of this code lives in a single place. BUG=None TEST=Verified on veyron_speedy that client.bssid client.get_iw_link_value('wlan0', 'freq') return the correct values. Change-Id: I75be7d48e72ded01e561baa4d6c9fa0b6f2b0c5e Reviewed-on: https://chromium-review.googlesource.com/493832 Commit-Ready: Dane Pollock <danepollock@google.com> Tested-by: Dane Pollock <danepollock@google.com> Reviewed-by: Brian Norris <briannorris@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
4a0c76009823afd2e40f238d74ebc4ba130b992f |
|
26-Jan-2016 |
Kris Rambish <krisr@google.com> |
Check that the remaining list isn't empty. Before removing from the remaining list, verify that it is not empty. BUG=chromium:570474 TEST=Manual; ran it Change-Id: I3f100bc19e9b53d3e428561cca4dd2bbf176e55e Reviewed-on: https://chromium-review.googlesource.com/324110 Commit-Ready: Kris Rambish <krisr@chromium.org> Tested-by: Kris Rambish <krisr@chromium.org> Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
a552393788b1cbb1df24b868ace4fe6d34ca2df3 |
|
24-Oct-2015 |
Roshan Pius <rpius@google.com> |
autotest(wifi): Use shell 'time' for command exec times. Change to use the default shell provided time functionality to measure the iw dev scan times because Brillo lacks the "time" utility which was being used in Cros devices. Adb shell commands capture the stdout/stderr of the commands run on the DUT into stdout, so the time command output goes into stderr on Cros and stdout in Brillo. Force the command to redirect stderr to stdout on Cros devices as well. BUG=25231337 TEST=`test_that $host --board=$BOARD network_WiFi_ScanPerformance` on both dragonboard(brillo) and panther(cros). Change-Id: Iba3a568650403bb873ab7667580de5f12c284c05 Reviewed-on: https://chromium-review.googlesource.com/308565 Commit-Ready: Roshan Pius <rpius@chromium.org> Tested-by: Roshan Pius <rpius@chromium.org> Reviewed-by: Roshan Pius <rpius@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
2c5f99b82c0d0f9be5d399fdf66e6f2ab405b47b |
|
21-Oct-2015 |
Roshan Pius <rpius@google.com> |
autotest(wifi): Add frequency check in SimpleConnect. Bail out of SimpleConnect tests gracefully if it detects that the DUT does not support the frequency band being tested. BUG=brillo:25129221 TEST=Ran network_WiFi_SimpleConnect.wifi_check11a & network_WiFi_SimpleConnect.wifi_check11g on dragonboard and ensured that the test bailed out in the former and passed successfully on the latter. Change-Id: I4b9cc3864f89dc665e767cf93b7a781db5bdd4c8 Reviewed-on: https://chromium-review.googlesource.com/307566 Commit-Ready: Roshan Pius <rpius@chromium.org> Tested-by: Roshan Pius <rpius@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
fe0694c2637916870b85dd5d0effd2026c0f5333 |
|
14-Jul-2015 |
Filipe Brandenburger <filbranden@chromium.org> |
autotest: Refactor code parsing `iw dev` output The refactor makes it cope with this output (from an Android device): $ adb shell iw dev phy#0 Unnamed/non-netdev interface wdev 0x2 addr aa:bb:cc:dd:ee:ff type P2P-device Interface wlan0 ifindex 4 wdev 0x1 addr aa:bb:cc:dd:ee:ff ssid Whatever type managed Before this refactor, interface "wlan0" would be incorrectly associated with type "P2P-device", since at that point one type and one interface name were seen. The correct association for "wlan0" is with type "managed", which appears under the interface. Types are always expected to be after the interface, so we should only start looking for a type after seeing an interface name. BUG=chrome-os-partner:42310 TEST=Ran network_WiFi_SimpleConnect through adb successfully. Ran suite:wifi_matfunc against a Samus in a wifi cage. Change-Id: Ibdd1199ba27715f5774537e494f69ec6499dbcf9 Reviewed-on: https://chromium-review.googlesource.com/285642 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Filipe Brandenburger <filbranden@chromium.org> Tested-by: Filipe Brandenburger <filbranden@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
064ea97588f6d760ec1256f37215b352efea3dfd |
|
26-Jun-2015 |
mukesh agrawal <quiche@chromium.org> |
autotest (wifi): dynamically probe for IBSS capability Some hardware does not support IBSS mode. Accordingly, we should check hardware capabilities before reporting CAPABILITY_IBSS. The exact division of labor between LinuxRouter and LinuxSystem is not obvious to me. I'm moving IBSS detection into LinuxSystem, because it's quite reasonable to use IBSS on a system that's not a router. Note: tests do not currently verify that a DUT supports IBSS. If we add DUTs that do not support IBSS, we'll need to update the relevant test(s). While there: fix typo in iw_runner. BUG=chromium:504926 TEST=test_that chromeos1-dev-host6.cros network_WiFi_IBSS.wifi_IBSS TEST=test_that chromeos1-row3-rack11-host1.cros network_WiFi_IBSS.wifi_IBSS First command should report PASSED, but with TEST_NA. Second command should just report PASSED. Change-Id: I8e875b7a137f2451493194bd12d95e435f68d61f Reviewed-on: https://chromium-review.googlesource.com/282162 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org> Trybot-Ready: mukesh agrawal <quiche@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
6b8a9553d74d5ff4310e0dc7b0625d6b2349a40d |
|
09-Jun-2015 |
Kris Rambish <krisr@chromium.org> |
wait_for_scan_result takes lists of ssids/bsses All of the other scan functions in the iw_runner take a list of ssids of bsses. This make wait_for_scan_result consistent with the rest of the scan methods. TEST=unittest BUG=None Change-Id: I43bff12c79259cdcb3584b0bd056fd4df2708cc6 Reviewed-on: https://chromium-review.googlesource.com/276347 Tested-by: Kris Rambish <krisr@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Kris Rambish <krisr@chromium.org> Trybot-Ready: Kris Rambish <krisr@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
c122cf40c2c9a97ab3d463fc78d4cf099c9a1ef6 |
|
03-Jun-2015 |
Kris Rambish <krisr@chromium.org> |
Add signal to the network parser. Some tests like network_WiFi_VerifyAttenuator may take advantage of knowing the singal strength before connecting to a network. BUG=None TEST=network_WiFi_VerifyAttenuator, unittest Change-Id: Ib0aa13e271ca8afee1c839b044efd3923f14c8b2 Reviewed-on: https://chromium-review.googlesource.com/275061 Trybot-Ready: Kris Rambish <krisr@chromium.org> Tested-by: Kris Rambish <krisr@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Kris Rambish <krisr@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
385c10a611ee4307a3d5295513392fa49a406e86 |
|
28-Apr-2015 |
mukesh agrawal <quiche@chromium.org> |
iw_runner: parse channel flags in list_phys() The network_WiFi_RegDomain test needs to know what regulatory flags are set for a channel (e.g. 'disabled'). Help the new test out, by adding parsing of channel flags to IwRunner.list_phys(). BUG=chromium:481737 TEST=network_WiFi_RegDomain (ath9k) TEST=network_WiFi_RegDomain (brcm4354) Change-Id: Id5e16ec886e7e1704d1d96c06d2ec9a5d489ac6d Reviewed-on: https://chromium-review.googlesource.com/268658 Trybot-Ready: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
d4ee8ccbe2567a848be33817f3fbb2701a5fd980 |
|
21-Apr-2015 |
Paul Stewart <pstew@chromium.org> |
autotest: Report supported phy features in iw_runner List the features listed as supported by iw in a new "features" member of the IwPhy namedtuple. BUG=chrome-os-partner:37850 TEST=wifi_matfunc for regressions Change-Id: I8a74d48819c2646146f5cd03992c3df11acea5c3 Reviewed-on: https://chromium-review.googlesource.com/266598 Tested-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
9fd3eeb71901c140b2261f4bd93b311d44472bea |
|
30-Jan-2015 |
Christopher Wiley <wiley@chromium.org> |
autotest: Tolerate spaces in SSIDs in iw_runner BUG=brillo:8 TEST=wifi_matfunc passes with this change, not including end to end tests involving Chrome and tests requiring servos. Change-Id: Ibb39417c1eee3ea93aa313bd96d0d7a64c4bc9af Reviewed-on: https://chromium-review.googlesource.com/245111 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
b9b4685558f47fc81da44641e425c6ec64b78f5b |
|
20-Dec-2014 |
Kris Rambish <krisr@chromium.org> |
Create the first 802.11ac perf test BUG=chrome-os-partner:34851,chromium:444622,chromium:444627 TEST=Ran it. Change-Id: Ifd209fe23ad1b7be1a1c62d3279adbe34b32f07f Reviewed-on: https://chromium-review.googlesource.com/236973 Reviewed-by: Kris Rambish <krisr@chromium.org> Tested-by: Kris Rambish <krisr@chromium.org> Commit-Queue: Kris Rambish <krisr@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
d18a22a69c052c703ee4b8e52d2f42759e063441 |
|
11-Dec-2014 |
Paul Stewart <pstew@chromium.org> |
Fix "iw list" parser A recent addition for VHT parsing assumed that current_sectino was already set. It also used a trailing '\' which doesn't tend to be popular. BUG=None TEST=wifi_matfunc Change-Id: I497263d38f84ddef3d93f957b1af9af7178baaf4 Reviewed-on: https://chromium-review.googlesource.com/234649 Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
3ef31f03bdf5a2f4ac34711e82d9a94d7511a93f |
|
17-Oct-2014 |
Peter Qiu <zqiu@chromium.org> |
autotest: Add test support for 802.11ac Update hostapd_config to support 802.11ac, and add a SimpleConnect test for it as well. For routers without 802.11ac support, TEST_NA will be raised. Test is performed using Panther router with WP2, which only supports channel width of 80MHz. The support for 802.11ac AP for Panther requires test-ap-group build #10 or newer. BUG=chromium:419930 TEST=Run network_WiFi_SimpleConnect.wifi_check5VHT80 Change-Id: I3fd6bc834a18d0b33af79061a8a3c2f35d0f88ec Reviewed-on: https://chromium-review.googlesource.com/224118 Reviewed-by: Peter Qiu <zqiu@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
5ae96efdb7ebefc06afbd363b9c327599a646ba5 |
|
30-Sep-2014 |
Peter Qiu <zqiu@chromium.org> |
Do not raise failure when a link property is not found. get_link_value should not raise a failure when a link property is not found. It should be the caller's responsibility for checking the return value and act accordingly. This eliminates the timing issue where the DUT might still be connected to the undesired AP at the time wait_for_connection is called, and is disconnected when the iw link command is issued to retrieve the frequency information. Instead of failing right away because no frequency information is found, recheck the frequency information when DUT is connected to the desired AP. BUG=chromium:418194 TEST=Run wifi_matfunc suite DEPLOY=test_importer Change-Id: I38865b79cd491d26f80915256f6065253e5f2876 Reviewed-on: https://chromium-review.googlesource.com/220561 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
142554e3a0e8a3a46eca032667d5bc704fd1081f |
|
08-Jul-2014 |
Christopher Wiley <wiley@chromium.org> |
Avoid PMKSA confirmation race in network_WiFi_PMKSACaching Some drivers report a change in frequency of the PHY before associations are complete. Wait for the driver to report that we're on a different BSS and ping to confirm that EAP negotiations have completed. BUG=chromium:391810 TEST=This test continues to pass. Change-Id: I50daf1f5f95e93eaae8dd0da7556ba19a88b3e87 Reviewed-on: https://chromium-review.googlesource.com/207036 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
faaecd89e5cf05d2292bd7515178f759b818eebb |
|
29-May-2014 |
Christopher Wiley <wiley@chromium.org> |
Don't set antenna mask for devices that don't support it Newer iwlwifi parts don't support this antenna mask, and attempting to set it causes test to fail when the command errors out complaining about this. Work around this by not setting the antenna mask if that operation is not supported. BUG=chromium:377044 TEST=iwlwifi based parts can set up APs in the 2.4Ghz range after this patch. Change-Id: Ife691640c8961d7c19d8a1688718fecd4abe9e04 Reviewed-on: https://chromium-review.googlesource.com/203960 Reviewed-by: Peter Qiu <zqiu@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
fc81be792d4e44542aacd7b41d0c1bce16d3cb2a |
|
03-Jun-2014 |
Kris Rambish <krisr@chromium.org> |
Return None if the scan returns an empty list. If the None if scan returns an empty list. We have seen where if the interface is down it returns a status_code of 0. This is what the output looks like: 14:01:06 INFO | autoserv| Scan exit status: 0 14:01:06 INFO | autoserv| Scan stdout: 14:01:06 INFO | autoserv| Scan stderr: 3.94 BUG=None TEST=Manual; ran connect/disconnect Change-Id: I455e5c182502497c7829cf999cbb7ceb3ce5f4c2 Reviewed-on: https://chromium-review.googlesource.com/202466 Tested-by: Kris Rambish <krisr@chromium.org> Reviewed-by: Tien Chang <tienchang@chromium.org> Reviewed-by: Bindu Mahadev <bmahadev@chromium.org> Commit-Queue: Kris Rambish <krisr@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
756c63a55efb4464f0d48693e0e0409ee046ce12 |
|
06-May-2014 |
Kris Rambish <krisr@chromium.org> |
Return an empty list if a SSID is not found. There are three states we are looking for when performing a scan: SSID is found, returned in a list SSID is not found, iw scan is working correctly, return [] SSID is not found, iw scan is broken, return None This fix handles the second scenario. BUG=None TEST=Ran connect disconnect test. Change-Id: I0b4bd267bd617719b12ccb475be2b40facc3e402 Reviewed-on: https://chromium-review.googlesource.com/198431 Commit-Queue: Kris Rambish <krisr@chromium.org> Tested-by: Kris Rambish <krisr@chromium.org> Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
c4beba05d7e439bfb9e9c7bd28e7d248782a4531 |
|
24-Mar-2014 |
Peter Qiu <zqiu@chromium.org> |
Channel scan dwell time test This test instructs a router to continually send beacon frames for a predefined set of BSSes at a specific interval. The BSSes are named with an index suffix in hex numerical order. The device under test is instructed to perform a single channel scan while the beacon frames are being sent by the router. Based on the SSIDs in the scan results, we can estimate the device dwell time. BUG=chromium:354685 TEST=Run this test Change-Id: Ib8034a112b37ba6584a2b1d8009b2126f2dbd5e4 Reviewed-on: https://chromium-review.googlesource.com/191287 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
1e31090a7b43c30f2d18cd3da1aba9894470af6e |
|
04-Mar-2014 |
Peter Qiu <zqiu@chromium.org> |
wpa_supplicant reassociate timing test Test to benchmark the performance of wpa_supplicant reassociate operation. Specifically the time taken from the start of the scan to being connected. BUG=chromium:348673 TEST=Run this test Change-Id: I079d75cc8ac96a9fbcd6dc2112e2b0b787d975ce Reviewed-on: https://chromium-review.googlesource.com/188780 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
6f5752e3e3a10f9efca6f517cce84e8b7139505f |
|
15-Feb-2014 |
Peter Qiu <zqiu@chromium.org> |
Added timed_scan function timed_scan function is added to enable performance testing for wifi scan operation Added timed_scan function in iw_runner to time the scan operation on the DUT instead of host, to eliminate the SSH overhead in the time calculation. Also updated the timed_scan function in wifi_client to adhere to the coding standard. Increased scan timeout to 10 seconds. Fixed unit test to account for time output in stderr BUG=chromium:344028 TEST=None Change-Id: I6b208b93ec5982b81d0b39b3234563bd7617d804 Reviewed-on: https://chromium-review.googlesource.com/186732 Tested-by: Peter Qiu <zqiu@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
2f973257222dfdb62e760d6a3cd860b756c99375 |
|
21-Feb-2014 |
Peter Qiu <zqiu@chromium.org> |
Antenna verification test for router Added tests to verify each antenna in the router is working. BUG=chromium:343184 TEST=1. Verify no connection failure when running this test. 2. To induce a "failure" with this test, manually put a terminator on one antenna in the router. Run this test. Verify connection failure or connected with weak signal (signal leak from terminator) when the terminated antenna is the only one active Change-Id: I47e9e01ee6489b013b29d8f36238da9d1e425268 Reviewed-on: https://chromium-review.googlesource.com/187337 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
a618b1222a65809bc10660403bb13598f2cb587d |
|
14-Feb-2014 |
Paul Stewart <pstew@chromium.org> |
iw_runner: Add compatibility for newer iw Newer versions of iw have scan output like: BSS 02:00:01:02:03:04(on wlan0) instead of: BSS 02:00:01:02:03:04 (on wlan0) Use a regular experession that will terminate at the end of the BSS address. BUG=chromium:343971 TEST=network_WiFi_PMKSACaching, network_WiFi_BeaconInterval, network_WiFi_ChannelHop, network_WiFi_RateControl, network_WiFi_DTIMPeriod, network_WiFi_SSIDSwitchBack, network_WiFi_Prefer5Ghz, network_WiFi_BgscanBackoff (basically all the tests that use iw_runner on the DUT) Change-Id: I691bf501e4ec6940ebe66d1ea1ed55455d8b9614 Reviewed-on: https://chromium-review.googlesource.com/186581 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
2440644ff260ac865b2d674707454e40d271f768 |
|
13-Feb-2014 |
Paul Stewart <pstew@chromium.org> |
Add test for successul operation of the "iw" command Make sure that the system can successfull change regulatory domains using the "iw reg" utility. BUG=chromium:343170 TEST=Run this test Change-Id: Idd82b4770213ed0c76374c7df198ad80af0c6348 Reviewed-on: https://chromium-review.googlesource.com/186358 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
895897788bb0af56fb6e1ffb584dd9636e2aa890 |
|
07-Feb-2014 |
Paul Stewart <pstew@chromium.org> |
Fix list_phys() to return an empty list If "iw list" returns an nothing (if no wireless interfaces are reported), list_phys() should return an empty list. This CL fixes the current implementation so this is the case. BUG=chromium:341892 TEST=Do "rmmod <wifi_module>" on a DUT, then run a WiFi test. Observe that the test fails with "No interfaces managed by shill" and attempts a reboot of the DUT. Change-Id: I4ab2ef6fd50b93b29b011576f834e38e9bea4cff Reviewed-on: https://chromium-review.googlesource.com/185342 Reviewed-by: mukesh agrawal <quiche@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
a3effac3fccddab79ff0b8a962ab8b457620180c |
|
05-Feb-2014 |
Christopher Wiley <wiley@chromium.org> |
autotest: Add a test to verify correct attenuator operation This test sets up APs on available router phys, then measures signal levels as observed by the client at various attenuation levels. The user is assumed to inspect these values for linear trends. TEST=Test passes on chromeos1-grover-host2, which is the sole remaining correctly configured grover setup. Once the attenuator control code is updated to handle 4 attenuators per router, we can test against these new setups. BUG=chromium:340868 Change-Id: I996f5313313d3b8e2c5b4881daa4388b0c082dc8 Reviewed-on: https://chromium-review.googlesource.com/185246 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
2b758eed44b2061bfa430be68bcace5c9edca348 |
|
28-Jan-2014 |
mukesh agrawal <quiche@chromium.org> |
iw_runner: add parsing of max_scan_ssids We'd like to test that WiFi hardware truly supports scanning for the number of SSIDs that it reports to support via nl80211. Accordingly, add code to iw_runner, to parse the bit of iw's output that provides this information. While there: refactor list_phys, so that the IwPhy namedtuple is constructed after we've finished reading all the data for a phy. This is necessary because the fields in a tuple can't be reassigned. BUG=chromium:338521 TEST=manual Manual testing: ran a test which calls list_phys, verified that it returned the same values as iw list for ath9k and mwifiex. (The values were 4 and 10, respectively.) Change-Id: Ief27ea4f270acea954456736d97cc1bcc206f80c Reviewed-on: https://chromium-review.googlesource.com/184043 Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
299dad5b2a0cd35e27719d730231ccafb0226385 |
|
15-Jan-2014 |
Kris Rambish <krisr@chromium.org> |
Perform pre-scan on capturer, abort scan failures. Move the pre-scan to run on the packet capture device. Give the scan 30 seconds to return. If it does not return, abort the test early. BUG=None TEST=network_WiFi_ChaosConnectDisconnect/control.debug$ Change-Id: I6d181f513e99185acef9a1af02ca117b188f84f8 Reviewed-on: https://chromium-review.googlesource.com/182884 Reviewed-by: Kris Rambish <krisr@chromium.org> Commit-Queue: Kris Rambish <krisr@chromium.org> Tested-by: Kris Rambish <krisr@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
604a3503bffe812463887335aabb750cff545512 |
|
14-Jan-2014 |
Christopher Wiley <wiley@chromium.org> |
autotest: Perform WiFi related operations on managed interfaces WiFi drivers in newer kernels create multiple interfaces for p2p and AP modes at boot time. Tolerate this behavior by searching for the managed interface rather than taking the first interface. BUG=chromium:334109 TEST=network_WiFi_SimpleConnect.wifi_checkWPA_TKIP passes with this change on DUTs with newer drivers, and on DUTs with older drivers. Change-Id: I26d1c9ada6402b26daa305cedf9f666a68342acf Reviewed-on: https://chromium-review.googlesource.com/182356 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
5689d3618fd41cb5951a5fc2cc5f772c8997dab9 |
|
08-Jan-2014 |
Christopher Wiley <wiley@chromium.org> |
autotest: Only expect BSS's on current SSID from background scans johannes.berg@intel.com notes that background scans are used in the context of roaming in wpa_supplicant, and results from background scans are restricted to BSSes on the SSID we're currently associated with. Fix our tests to reflect this by putting the BSS we're checking for on the same SSID as the BSS we're associated with. While here, refactor the code for retrieving hostapd MAC addresses so that it uses shared ip addr parsing code. BUG=chromium:332250 TEST=This is a test that continues to pass on ath9k parts, and now seems to pass against mwifiex parts. Change-Id: I7069a5caf29248cca766eed0bdcb186c2e95b26d Reviewed-on: https://chromium-review.googlesource.com/181813 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
f671a5ac963909c63ff577754925a79a602fbb4e |
|
14-Dec-2013 |
Christopher Wiley <wiley@chromium.org> |
autotest: Make WiFiClient an instance of LinuxSystem This lets us consolidate some packet capture code and enables us to use dual radio stumpies as both packet capture machines and WiFiClients at the same time. BUG=chromium:308214 TEST=wifi_matfunc still passes with these changes. Taking packet captures with this modified WiFiClient still works. Change-Id: Id143357f63be5ef2c8914cf0ff295408ab9b143b Reviewed-on: https://chromium-review.googlesource.com/180097 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
d4a6e8c9c608e201570d40dd438156f05ffd6b58 |
|
06-Jan-2014 |
Paul Stewart <pstew@chromium.org> |
Fix iw parsing of MCS rates The "current_section" changes in https://chromium-review.googlesource.com/176716 caused MCS parsing to fail since lines like "HT TX/RX MCS rate indexes supported: 0-15, 32" were considred a section header. We should not consider lines with trailing non-space characters after the ':' to be a section header. BUG=None TEST=wifi_check11b where the all_phys is logged Change-Id: I40515725e1d70b49ae689f0707bb97a979b21d1a Reviewed-on: https://chromium-review.googlesource.com/181541 Reviewed-by: Johannes Berg <johannes.berg@intel.com> Tested-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
99e9c4a2011cce9eb32750cb0f99fc8daeb2fdb0 |
|
09-Dec-2013 |
Christopher Wiley <wiley@chromium.org> |
autotest: Refactor logic to access iw link values into iw_runner This lets us easily reuse this logic. BUG=chromium:325924 TEST=wifi_matfunc still passes. Change-Id: Iaa18e16645733952a5192b90cda565120be85e11 Reviewed-on: https://chromium-review.googlesource.com/179374 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
6ddeba733cfdb86ae4399159a2d8c1b71ed54fa6 |
|
18-Nov-2013 |
Paul Stewart <pstew@chromium.org> |
Add router method for adding a connected peer Add a method that attaches a client to a running hostap instance. In a typical testbed configuration, this means that one wireless radio in the server instance connects to the other radio. This allows testing operations that the DUT may perform with other devices connected to the same AP. BUG=chromium:318166 TEST=Upcoming TDLS autotest Change-Id: I1469d6a3e14e5fde33e53f05ff5bfd46420c6bc6 Reviewed-on: https://chromium-review.googlesource.com/177211 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
27ecc5d02e488fbe2605048f5a5e805cf94036d5 |
|
14-Nov-2013 |
Paul Stewart <pstew@chromium.org> |
Report whether DUT supports TDLS capabilities This adds to the "capabilities" set for a linux system if any phy on the system reports the ability to perform TDLS operations or TDLS management frames. BUG=chromium:314201 TEST=Use network_WiFi_SimpleConnect.wifi_checkWPA_TKIP and pored through the messages for the "client system capabilities" message. Change-Id: I417a21a816443712c72a289bc89b6c9935c13467 Reviewed-on: https://chromium-review.googlesource.com/176716 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
4b01f86e1e01a758c7aa21356782e16eb6320e0e |
|
01-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
autotest: Fix WiFiClient.scan() method to retry when device is busy On the way, change the logic to reuse logic from iw_runner rather than reimplement it. BUG=chromium:314116 TEST=The given test passes. We occationally see flake in the network_WiFi_MaskedBSSID test, and this attempts to address one cause of flake. Change-Id: I61c722884cb3e1d3738ec5e5a7d532abd46c4f8d Reviewed-on: https://chromium-review.googlesource.com/175367 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|
f9cb09248401599e3b82aa2dbf84ede201e514d5 |
|
01-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
autotest: Move iw runner into client library We may find it useful to use iw related logic in client tests. To enable this, make the host parameter optional and run the commands on localhost if no remote host is specified. On the way, fix a missing error import in chaos_runner.py. TEST=Interop debug test with 2 APs still works. BUG=None Change-Id: I41289fc8390873c73ac3474d37f4c89a0bc6368f Reviewed-on: https://chromium-review.googlesource.com/175366 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/iw_runner.py
|