hostap/tests
Adiel Aloni 946ed13c98 tests: Enable device PS before sending PS-Poll
Linux kernel commit c9491367b759 ("mac80211: always update the PM state
of a peer on MGMT / DATA frames") enforces the AP to check only
mgmt/data frames PM bit, and to update station's power save accordingly.
When sending only a PS-Poll (control frame) the AP will ignore the PM
bit. As the result, the partial virtual bitmap will not be updated, and
the test ap_open_disconnect_in_ps will fail on tshark check. Since the
test needs only the TIM to be updated, setting PS enabled will send NDP
that will signal that the station is sleeping. Sending PS-Poll to enable
power save is not correct, according to the following standard
statement: "A PS-Poll frame exchange does not necessarily result in an
Ack frame from the AP, so a non-AP STA cannot change power management
mode using a PS-Poll frame."

Signed-off-by: Adiel Aloni <adiel.aloni@intel.com>
2018-02-04 12:06:11 +02:00
..
ap-mgmt-fuzzer ap-mgmt-fuzzer: Add .gitignore 2017-03-07 12:12:20 +02:00
eapol-fuzzer tests: Set PMK length in eapol-fuzzer 2017-12-27 12:27:33 +02:00
hwsim tests: Enable device PS before sending PS-Poll 2018-02-04 12:06:11 +02:00
p2p-fuzzer tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
remote tests: Add general filter for remote tests execution 2016-06-27 21:47:37 +03:00
wnm-fuzzer Fix wnm-fuzzer build 2017-12-09 18:45:34 +02:00
.gitignore
cipher-and-key-mgmt-testing.txt Fix the notes on EAPOL-Key testing procedures 2017-10-20 20:32:36 +03:00
Makefile tests: Move MD5 test cases into hwsim framework 2015-01-05 17:12:27 +02:00
test-aes.c tests: Move AES key wrap/unwrap test cases into hwsim framework 2015-01-05 16:35:59 +02:00
test-asn1.c
test-base64.c
test-https.c
test-list.c
test-md4.c
test-milenage.c
test-rc4.c
test-rsa-sig-ver.c tests: Fix resource leak in test-rsa-sig-ver on error paths 2015-07-10 21:10:24 +03:00
test-sha1.c tests: Move SHA1 test cases into hwsim framework 2015-01-05 17:29:00 +02:00
test-sha256.c tests: Move SHA256 test cases into hwsim framework 2015-01-05 17:34:20 +02:00
test-x509.c
test-x509v3.c
test_x509v3_nist.sh
test_x509v3_nist2.sh