fragattacks/src
Neeraj Kumar Garg d58ed4e306 P2P: Reduce the idle time in Wait peer connect state
When waiting for go_neg frame from the peer in WAIT_PEER_CONNECT state,
I have observed that sometimes it takes 20 to 30 secs for successful GO
negotiation. I also found out that it is because of 1 second idle time,
in WAIT_PEER_CONNECT state. While it is good to have 1 second idle time
[for doing power-save or doing some other legacy STA Scan or some other
useful stuff], this makes GO Negotiation process slow.

We wait for 1 second idle and then listen for a random time between
100(min)-300(max) ms. Assume P1 is in WAIT_PEER_CONNECT state and P2 is
the one which is now to send go_neg frame. If P2 sends GO Negotiation
frame just at the boundary of 300 ms of P1 and assume that P2 takes
close to 600-800 ms for one iteration of sending go_neg request (one
iteration is GO Negotiation Request frame time + dwell time +
listen_time), P2 needs to transmit at least 16-18 Action frames for
hitting the listen time of P1.

Following patch reduces the idle time to 500 ms. Alternatively we can
increase the listen time interval to 500 ms just for WAIT_PEER_CONNECT
state.
2011-12-18 18:01:11 +02:00
..
ap Make hostapd_eid_wmm_valid() return more logical return values 2011-12-17 12:41:00 +02:00
common AP: Pass station's WMM configuration to driver wrappers 2011-12-17 12:38:06 +02:00
crypto Rename tls_prf() to tls_prf_sha1_md5() 2011-11-27 21:27:01 +02:00
drivers AP: Pass station's WMM configuration to driver wrappers 2011-12-17 12:38:06 +02:00
eap_common Rename tls_prf() to tls_prf_sha1_md5() 2011-11-27 21:27:01 +02:00
eap_peer EAP-AKA peer: Keep pseudonym identity across EAP exchanges 2011-12-04 17:21:22 +02:00
eap_server EAP server: Force identity request after eapRestart for passthrough 2011-12-06 13:02:23 +02:00
eapol_auth Make sure that EAP callbacks are not done if state machine has been removed 2011-08-12 11:56:44 +03:00
eapol_supp Use an enum for EAP SM requests 2011-10-30 12:04:24 +02:00
l2_packet l2_packet: Use wpa_printf() instead of perror() 2010-11-24 15:00:22 +02:00
p2p P2P: Reduce the idle time in Wait peer connect state 2011-12-18 18:01:11 +02:00
radius Allow WPA passphrase to be fetched with RADIUS Tunnel-Password attribute 2011-12-11 13:01:57 +02:00
rsn_supp Check wpa_supplicant_parse_ies() return value more consistently 2011-12-04 16:40:06 +02:00
tls TLS: Add support for SHA256-based cipher suites from RFC 5246 2011-11-27 22:33:54 +02:00
utils PCSC: Accept 0x67 (Wrong length) as a response to READ RECORD 2011-12-18 14:44:03 +02:00
wps Skip WPS PBC overlap detection if P2P address is the same 2011-12-11 12:03:18 +02:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00