hostap/src
Neeraj Kumar Garg a1d2ab329e P2P: Address race condition with GO Negotiation Request TX status
If both peers initiate GO Negotiation at about the same time, it is
possible for the GO Negotiation Request frame from the peer to be
received between the local attempt to send the GO Negotiation Request
and TX status event for that. This could result in both devices sending
GO Negotiation Response frames even though one of them should have
skipped this based which device uses a higher MAC address.

Resolve this race by incrementing go_neg_req_sent when p2p_send_action()
returns success instead of doing this from the TX status callback. If
the frame is not acknowledged, go_neg_req_sent is cleared in TX status
handler.

Signed-off-by: Neeraj Garg <neerajkg@broadcom.com>
2012-06-09 18:03:47 +03:00
..
ap sta_info: Remove duplicated function declaration 2012-06-09 12:54:00 +03:00
common WNM: Add advertisement of BSS max idle period 2012-05-27 17:35:00 -07:00
crypto wpa_supplicant: Report EAP connection progress to DBus 2012-06-04 21:10:01 +03:00
drivers atheros: Set essid length field only once 2012-06-08 20:28:23 +03:00
eap_common EAP-AKA': Update to RFC 5448 2012-05-02 20:45:01 +03:00
eap_peer wpa_supplicant: Report EAP connection progress to DBus 2012-06-04 21:10:01 +03:00
eap_server EAP-AKA': Update to RFC 5448 2012-05-02 20:45:01 +03:00
eapol_auth hostapd: Copy Chargeable-User-Identity into accounting (RFC 4372) 2012-05-05 18:05:09 +03:00
eapol_supp wpa_supplicant: Report EAP connection progress to DBus 2012-06-04 21:10:01 +03:00
l2_packet Make bind failure messages unique 2012-04-06 12:10:36 +03:00
p2p P2P: Address race condition with GO Negotiation Request TX status 2012-06-09 18:03:47 +03:00
radius Add preliminary RADIUS dynamic authorization server (RFC 5176) 2012-05-06 22:02:42 +03:00
rsn_supp TDLS: Add support for TDLS frame RX with bridge interfaces 2012-03-30 11:12:33 +03:00
tls LibTomMath: Use 64-bit mode for mp_digit 2012-06-09 11:53:30 +03:00
utils Fix compiler warning on printf format with size_t 2012-04-28 18:30:12 +03:00
wps WPS: Allow vendor specific attribute to be added into M1 2012-04-04 00:08:57 +03: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