Return-path: Received: from wa-out-1112.google.com ([209.85.146.182]:60178 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751089AbXIZLqG (ORCPT ); Wed, 26 Sep 2007 07:46:06 -0400 Received: by wa-out-1112.google.com with SMTP id v27so2756430wah for ; Wed, 26 Sep 2007 04:46:06 -0700 (PDT) Message-ID: <1ba2fa240709260446u2facb62fw1a17af1665b25d03@mail.gmail.com> Date: Wed, 26 Sep 2007 13:46:05 +0200 From: "Tomas Winkler" To: "Johannes Berg" Subject: Re: A-MSDU deaggregation support Cc: "mohamed salim abbas" , linux-wireless , "Michael Wu" , "Jouni Malinen" In-Reply-To: <1190792394.18521.354.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1189354526.4506.25.camel@johannes.berg> <1ba2fa240709100441o421653fbre410df615e7d9e10@mail.gmail.com> <1190747966.18521.320.camel@johannes.berg> <1ba2fa240709251624ycb516c4t90bcb6846800b18@mail.gmail.com> <1190792394.18521.354.camel@johannes.berg> Sender: linux-wireless-owner@vger.kernel.org List-ID: On 9/26/07, Johannes Berg wrote: > On Wed, 2007-09-26 at 01:24 +0200, Tomas Winkler wrote: > > > EAPOL frames should not be filtered out. Everything else should be filtered out > > except EAPOL frames till the port is open. > > Right now though, when we're an AP, we're sending EAPOL frames to the > mgmt interface instead of the regular 802.3 interface. This quite sucks > wrt. deagg. But it's also very weird, look at ieee80211_rx_h_802_1x_pae. > It sends > * eapol frames for non-STA interfaces that are for us -> mgmt iface > * non-eapol frames from unauthorized STAs -> bitbucket > * everything else -> the regular 802.3 interface > > Right afterwards, unencrypted non-EAPOL frames are dropped. > > So any STA can actually send EAPOL frames with an arbitrary destination > MAC address except our own into our 802.3 interface. Hence, it looks > like the first case above is only for having eapol on mgmt iface. > > The only problem I see with not doing this is that hostapd will have to > listen for EAPOL frames on all VLAN interfaces but I suppose that is > doable. > I wonder of port control is done for ethernet. 1X is not WLAN invention. I'll try to dig it. > > The problem is the order of the handlers. First you need to > > deaggregated the frame then filtered out non EAPLOL frames if the port > > is not open. > > Yeah, I know, I had a plan a while back, will see if I can implement it. > Hope to get there as well in near future. > johannes > >