hostapd/src
Jouni Malinen 79329ae0aa P2P: Verify local driver preferred frequencies for P2P use cases
Previously the peer operating channel preference was accepted if the
indicated frequency was listed in the local preference list from the
driver. This was assuming that the driver included only channels that
are currently enabled for GO operation. Since that might not be the
case, filter the local preference list by doing an explicit validation
of the indicated channels for P2P support.

This moves the similar validation steps from two other code paths in
p2p_check_pref_chan_recv() and p2p_check_pref_chan_no_recv() into a
common filtering step in p2p_check_pref_chan() for all three cases.

This avoids issues to start the GO in cases where the preferred
frequency list from the driver may include channels that are not
currently enabled for P2P GO use (e.g., 5 GHz band in world roaming
configuration).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-16 12:40:57 +02:00
..
ap FT: Check key derivation results explicitly in AP operations 2017-02-14 16:33:01 +02:00
common FT: Check key derivation results explicitly in AP operations 2017-02-14 16:33:01 +02:00
crypto tests: Add TEST_FAIL() to OpenSSL aes_wrap() and aes_unwrap() 2017-02-14 10:53:10 +02:00
drivers nl80211: sched_scan relative RSSI parameters 2017-02-10 19:48:12 +02:00
eap_common Remove trailing whitespace 2016-12-28 14:31:42 +02:00
eap_peer EAP: Call deinit_for_reauth() for Phase 2 EAP methods 2017-02-10 19:48:12 +02:00
eap_server ERP: Use macro for EMSKname length instead of hardcoded integer value 2017-02-03 15:35:21 +02:00
eapol_auth RADIUS: Share a single function for generating session IDs 2016-02-06 17:19:35 +02:00
eapol_supp Remove trailing whitespace 2016-12-28 14:31:42 +02:00
fst FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
l2_packet Remove trailing whitespace 2016-12-28 14:31:42 +02:00
p2p P2P: Verify local driver preferred frequencies for P2P use cases 2017-02-16 12:40:57 +02:00
pae mka: Send MKPDUs forever if mode is PSK 2017-02-10 19:48:12 +02:00
radius Remove trailing whitespace 2016-12-28 14:31:42 +02:00
rsn_supp FILS: Stop processing if fils_rmsk_to_pmk() fails 2017-02-05 14:38:07 +02:00
tls Remove trailing whitespace 2016-12-28 14:31:42 +02:00
utils eloop: Fix comments mismatch eloop_event/timeout_handler definitions 2017-02-04 20:41:12 +02:00
wps Share a single str_starts() implementation 2016-08-06 12:38:21 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00