Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5532042ybl; Tue, 27 Aug 2019 06:11:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzeKdz5UaYxdkq3uUbyKIfSMhJPvf9hLpNcd58PTUVRNTcYFfOuNVoaT+8a3FDv2f3SrPM X-Received: by 2002:a63:31c1:: with SMTP id x184mr21840065pgx.128.1566911510541; Tue, 27 Aug 2019 06:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566911510; cv=none; d=google.com; s=arc-20160816; b=I166j3A2+MaNY8kzjzqvXhqFhdPhDiqJ/jhEpg1IxErqgKBrhYqdn2JMbbHqbSjlvn MyxZkLlOVDL8W+7ZUfFqRpydvAZbhPEONssrNiNJIRoAgL7XP9IONdCwbTAOTPwUQjC0 8bUXALCvMOk/sRJOvuEfOPFKepUPBqINbNurl/RDK6gy0asbb+6OfT01chB029J2GYoY YOTT+JreFlznCvj1pZj2yONOCew4Pr0sA2UoKE/o2iyy15KugAH09sPXZk72pZNXcjy4 ZkESHl0gF1qCbchWFO4XW4ThCJB+l88PgnnsncmKQIu4In2oWn0wVgQaqTCKVQKNT0xJ gAOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=ptNJ6GH2Y686F+R39oelZfZ0RZODeYwMawKwt0QCzUs=; b=Zx3srsD6f762R48cWWHGYTnFXvm1hJDCizIwI1qx1AdlWt8ULogolsjiVSkQVIIeyh 4cxvrlHX8RtZoK4dAGlxcFenbuIqkyuMqwmiYolNEtsR8jl4V1pmQKtCYuwOb6JEE669 Vm+JcHQgPhWh22ljKGhWuMnLC0kb9cVLXQUKqElSy8Epd8RhEmV4NgMSAiZOV8d8Uovf uRS1P5Q/Z1sDml9t4d81eIULhgPzhdzoL/UlN2EszG7cJ/1Tq8gjV3xVtHW5WeZGeBLw t8uU2UPAGnp9m9J32X9rSw6YFFSR8O/YTthRtHctOcZf/mv4P+NFYykMi1RHBjL9un4f otsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si12314591pls.261.2019.08.27.06.11.35; Tue, 27 Aug 2019 06:11:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726952AbfH0NKQ (ORCPT + 99 others); Tue, 27 Aug 2019 09:10:16 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:58734 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbfH0NKQ (ORCPT ); Tue, 27 Aug 2019 09:10:16 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i2bEj-0000mJ-Li; Tue, 27 Aug 2019 15:10:13 +0200 Message-ID: Subject: Re: Implementing Mikrotik IE From: Johannes Berg To: Sebastian Gottschall , Josef Miegl Cc: linux-wireless Date: Tue, 27 Aug 2019 15:10:12 +0200 In-Reply-To: <21433c24-4860-be12-8d79-11e954e0bf9d@newmedia-net.de> References: <20190815152844.k5mmddvbwrohkzr6@pepin-laptop.localdomain> <3a079683-6f57-3b42-f909-90c46e14f14f@newmedia-net.de> <20190816111044.4ntizgmpa3twbzcg@pepin-laptop.localdomain> <20190816113818.ohktykc4fyetzyvq@pepin-laptop.localdomain> <9985fddfb059640f36665efc9c1ef2dc0bdb7662.camel@sipsolutions.net> <20190819113706.ujsz67sxcwt2ulmt@pepin-laptop.localdomain> <6efb9b56c77cd9ea945f89c3371b49c301dc2b4e.camel@sipsolutions.net> <58A25955-2A17-4DE7-82FB-3B20E00C96EC@miegl.cz> <5ee160209eb1f9e70f6224c393389266280d7d80.camel@sipsolutions.net> <0452a0cbb36bcffa8371a58dfd931864c1f79eef.camel@sipsolutions.net> <68A3B9AF-8864-4C0F-A50B-71CCB76AE81D@miegl.cz> <21433c24-4860-be12-8d79-11e954e0bf9d@newmedia-net.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 2019-08-27 at 15:08 +0200, Sebastian Gottschall wrote: > Am 22.08.2019 um 23:06 schrieb Josef Miegl: > > On August 22, 2019 10:08:13 PM GMT+02:00, Johannes Berg wrote: > > > On Thu, 2019-08-22 at 09:00 +0200, Johannes Berg wrote: > > > > Perhaps it expects the 4-way-HS to already be in 4-addr frame format, > > > or > > > > something else special in the 4-way-HS if you have WDS? > > > I think this is actually the right guess. > > Yes, it indeed it! Thank you so much Johannes! > good finding. my idea here is if we parse the wds flags field from mtik > ie within mac80211 we could also support this special handing without > any workaround The same holds true if we parse it in hostapd, and add a flag to the EAPOL to control the encapsulation, which is way more general, so much preferable IMHO. johannes