Jouni Malinen
e3227c32f0
Sync with mac80211-next.git include/uapi/linux/nl80211.h
...
This brings in nl80211 definitions as of 2016-07-01.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-23 20:25:28 +03:00
Sunil Dutt
6c34b9c2d2
Assign QCA vendor attribute for setting TX fail count threshold
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-07-22 20:10:06 +03:00
zhangq
52fec3669c
Assign QCA vendor attributes for set retry configuration
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-07-22 00:35:37 +03:00
Chandrasekaran, Manishekar
1c8fe68f62
QCA vendor command to configure conditional switch channel for AP
...
This commit introduces a new vendor sub command
QCA_NL80211_VENDOR_SUBCMD_SAP_CONDITIONAL_CHAN_SWITCH and associated
attributes which aim to configure selected frequencies on which the AP
can conditionally switch onto for preferred operation.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-07-22 00:35:28 +03:00
Jouni Malinen
34a5014507
MBO: Remove unused assignment
...
The local found variable is not used in this case. Commit
653d227e9f
('MBO: Improve supported
operating class generation') introduced this variable and unnecessarily
set it here. Remove the write-only assignment to silence static
analyzers.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-07-18 23:41:19 +03:00
Jouni Malinen
d9ed0ce65e
tests: WPA2-PSK AP with station using SA Query local failures
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-18 00:58:27 +03:00
Jouni Malinen
f8608fab85
SME: Fix SA Query local failure handling
...
If no new sme_sa_query_timer() callback is scheculed,
sme_stop_sa_query() needs to be called to allow new SA Query operations
to be started after the failure.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-18 00:57:34 +03:00
Jouni Malinen
ab6ab07ad1
Clear wpa_s->sme.last_unprot_disconnect.sec on FLUSH command
...
This is needed for hwsim test cases to allow multiple STA-initiated SA
Query operations in short amount of time.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-18 00:56:53 +03:00
Jouni Malinen
e0a9370b3f
tests: Overlapping BSS scan request (HT40+)
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-18 00:14:34 +03:00
Jouni Malinen
dcbb5d808b
tests: FT OOM in SME
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-18 00:14:14 +03:00
Jouni Malinen
674af173fe
tests: AP with open mode and driver operations failing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 23:49:44 +03:00
Jouni Malinen
28be769bc3
tests: SAE and invalid anti-clogging token request
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 17:53:25 +03:00
Jouni Malinen
dcd54211c4
tests: IEEE 802.1X connection using dynamic WEP104 when WPA enabled
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 17:34:16 +03:00
Jouni Malinen
d1150e5666
tests: IEEE 802.1X connection with LEAP included in configuration
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 17:34:16 +03:00
Jouni Malinen
2fd44db70e
tests: More SAE OOM coverage
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 17:34:16 +03:00
Jouni Malinen
19f2a3f357
tests: Hotspot 2.0 OSU provider and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 11:08:02 +03:00
Jouni Malinen
f281f508b7
tests: Hotspot 2.0 OSU provider and invalid directory
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 11:08:02 +03:00
Jouni Malinen
9636b07ae2
HS 2.0: Add an event message to note failed OSU provider write
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 11:08:02 +03:00
Jouni Malinen
502f0ce848
tests: More GET_HS20_ICON coverage
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 11:08:02 +03:00
Jouni Malinen
6fc562a406
tests: Unexpected Hotspot 2.0 AP configuration
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-15 13:30:57 +03:00
Jouni Malinen
78d2233f01
tests: Fix ap_wpa2_eap_too_many_roundtrips with OpenSSL 1.1.0
...
Use a smaller fragment_size to force the roundtrip limit to be reached
with OpenSSL 1.1.0 which seemed to result in a bit shorter TLS messages
being used and being able to complete the authentication successfully
with the previously used fragment_size value.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-15 13:30:57 +03:00
Jouni Malinen
460e5cdf43
OpenSSL: Fix OpenSSL 1.1.0 DH operation
...
Commit 49fe2ada20
('OpenSSL: Support
OpenSSL 1.1.0 DH opacity') started using the new accessor functions, but
used incorrect success check for the DH_set0_key() call. This resulted
in dh5_init_fixed() failures and double-free on error path if the build
was linked against OpenSSL 1.1.0. Fix this by checking DH_set0_key()
return value to be 1 for the success case.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-15 13:30:57 +03:00
Jouni Malinen
ec9812e7e7
tests: Hotspot 2.0 OSU provider and protocol testing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-15 13:30:57 +03:00
Jouni Malinen
dd20eabd16
HS 2.0: Add optional no-scan parameter to FETCH_OSU
...
This is mainly for testing purposes to allow multiple FETCH_OSU ANQP
operations to be ran without having to wait for full scan between each
query.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-12 23:13:09 +03:00
Jouni Malinen
2752537926
tests: Hotspot 2.0 OSU provider and no icon found
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-12 20:58:20 +03:00
Jouni Malinen
424e344fbf
tests: Hotspot 2.0 connection and deauthentication request without PMF
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-12 20:49:02 +03:00
Jouni Malinen
21d410ca82
tests: GAS/ANQP and Hotspot 2.0 element protocol testing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-12 00:14:42 +03:00
Jouni Malinen
5dec77ee00
tests: GAS/ANQP and icon binary protocol testing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-12 00:05:35 +03:00
Jouni Malinen
f465c32dc2
Interworking: Define control interface message prefixes in wpa_ctrl.h
...
These control interface event message are used by external programs, so
define them a bit more formally in the header file.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-11 21:56:56 +03:00
Jouni Malinen
3e5f781800
tests: Extend GAS error case coverage
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-11 21:56:56 +03:00
Jouni Malinen
99a9423c7b
HS 2.0: Make hs20_build_anqp_req() static
...
This function is not used outside hs20_supplicant.c.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-11 21:56:56 +03:00
Jouni Malinen
1c39f984fd
tests: Hotspot 2.0 icon fetch OOM with REQ_HS20_ICON
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-11 21:56:56 +03:00
Jouni Malinen
75b2a87952
HS 2.0: Fix hs20_get_icon() error path
...
If base64_encode() fails (e.g., due to memory allocation failure), the
return value needs to be checked against NULL before using the (not
really) returned length value. The error path here ended up reading
uninitialized variable.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 19:35:18 +03:00
Jouni Malinen
8e590f02bd
tests: Hotspot 2.0 and connect attempt without matching cred
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:54:26 +03:00
Jouni Malinen
6b16e073d3
tests: ANQP no sharing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:50:59 +03:00
Jouni Malinen
c342bb7a3d
tests: Hotspot 2.0 and select with multiple matching home credentials
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:43:30 +03:00
Jouni Malinen
c63f2eb973
tests: Hotspot 2.0 connection with TTLS/default
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:24:23 +03:00
Jouni Malinen
26e43f01ae
tests: Hotspot 2.0 and connect attempt without RSN
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:24:23 +03:00
Jouni Malinen
99cbec7ea7
tests: Hotspot 2.0 and connect attempt without credential
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:03:28 +03:00
Jouni Malinen
863a6bf6ae
tests: Hotspot 2.0 connection and invalid roaming consortium element
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:00:23 +03:00
Jouni Malinen
63929c763a
tests: Hotspot 2.0 connection and 3GPP credential constraints
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:57 +03:00
Jouni Malinen
604f559ae4
tests: Hotspot 2.0 and failures during profile configuration
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:57 +03:00
Jouni Malinen
af52992a37
tests: Hotspot 2.0 connection and no full match
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:57 +03:00
Jouni Malinen
0da9869b02
Interworking: Remove unused allow_excluded from interworking_connect()
...
This argument was set to a hardcoded value 1 and as such, the other
cases were not reachable.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:57 +03:00
Jouni Malinen
a7fa20e047
tests: Hotspot 2.0 connection and roaming consortium constraints
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:57 +03:00
Jouni Malinen
416556d06b
tests: Hotspot 2.0 network selection with req_conn_capab (not present)
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:56 +03:00
Jouni Malinen
73ece491c1
tests: D-Bus GetAll wpa_config_get_all() OOM
...
This is a regression test for a crash on wpa_config_get_all() error
path.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:56 +03:00
Jouni Malinen
8329ad4d06
Fix wpa_config_get_all() error path
...
The previous version did not really work at all and it ended up crashing
if the os_strdup(field->name) call failed.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 17:49:15 +03:00
Jouni Malinen
c8fa30f213
tests: Hotspot 2.0 OSU provider and no AP with info
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-03 22:37:01 +03:00
Jouni Malinen
3429e2ff36
tests: GAS/ANQP query OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-03 22:37:01 +03:00