From owner-freebsd-wireless@FreeBSD.ORG Tue Jan 20 09:04:06 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9509FC52; Tue, 20 Jan 2015 09:04:06 +0000 (UTC) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25F56CB4; Tue, 20 Jan 2015 09:04:06 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id q58so35811502wes.12; Tue, 20 Jan 2015 01:04:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=RWYp4jaDgUaKEvPTPgpYm5jDzZe2p2kvwEVfp7GZAnw=; b=Tvo6ftRviEWifm41ok5JPmkOX/QW3YJK/J69WPzswIqv9YE0h0vkSoNQ3UL9TJNsaq H7HAFLabvWjohq3XLcy/QD9yClgYM0SYKDnJE5AfqmzaSlWhuzim2uLjmL4RBMg7haGM MYMlHM9fXiTdYl6QUiMRBtsn6sQLhMozh80KWLmz1X7ZhElDFdRqj7GeqqbwAs8vU4FY ez2rHn89C9zSUl0T6WVJ5Zxjqo9K16wBjOZXFiS+hWXutCQEG245VfIzMc4WmkvzOlNY bdUwpxw3Dvft6pAOttM5KtMt8MVS3eR4vz6MCbezT8aFYtnbJDSWjDqskyAzM2iCJ+iV O97A== X-Received: by 10.180.210.228 with SMTP id mx4mr45069684wic.57.1421744644521; Tue, 20 Jan 2015 01:04:04 -0800 (PST) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.194.61.98 with HTTP; Tue, 20 Jan 2015 01:03:44 -0800 (PST) In-Reply-To: References: From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Tue, 20 Jan 2015 10:03:44 +0100 X-Google-Sender-Auth: wJFK0-8Ht8knIPn0u9xbvSb857E Message-ID: Subject: Re: Fragmented EAP ACK problem on -current To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2015 09:04:06 -0000 On Tue, Jan 20, 2015 at 2:52 AM, Adrian Chadd wrote: > how are they being fragmented? 802.11 fragments? Or just separate > MPDUs, but not 802.11 fragments? > > It's not a 802.11 fragment frame, but 802.1x/EAP-TLS fragment frame. I believe this section should be managed by hostapd code (src/contrib/wpa/src/eap_server/eap_server_tls.c) ? But I didn't reach to display the wpa_printf(MSG_DEBUG,...) with hostapd in debug mode. Frame detail in text mode received by freebsd/hostapd (EAP-TLS "more fragment" set), but no ACK (EAP-TLS empty) from freebsd/hostapd. Frame 174: 1552 bytes on wire (12416 bits), 1552 bytes captured (12416 bits) Radiotap Header v0, Length 24 IEEE 802.11 Data, Flags: .......T Type/Subtype: Data (0x20) Frame Control: 0x0108 (Normal) Version: 0 Type: Data frame (2) Subtype: 0 Flags: 0x1 .... ..01 = DS status: Frame from STA to DS via an AP (To DS: 1 >From DS: 0) (0x01) .... .0.. = More Fragments: This is the last fragment .... 0... = Retry: Frame is not being retransmitted ...0 .... = PWR MGT: STA will stay up ..0. .... = More Data: No data buffered .0.. .... = Protected flag: Data is not protected 0... .... = Order flag: Not strictly ordered Duration: 314 BSS Id: D-Link_58:79:3e (00:21:91:58:79:3e) Source address: GemtekTe_35:8c:70 (20:10:7a:35:8c:70) Destination address: D-Link_58:79:3e (00:21:91:58:79:3e) Fragment number: 0 Sequence number: 263 Logical-Link Control 802.1X Authentication Version: 802.1X-2001 (1) Type: EAP Packet (0) Length: 1492 Extensible Authentication Protocol Code: Response (2) Id: 51 Length: 1492 Type: TLS EAP (EAP-TLS) (13) EAP-TLS Flags: 0xc0 1... .... = Length Included: True .1.. .... = More Fragments: True ..0. .... = Start: False EAP-TLS Length: 3524