Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2260891ybl; Thu, 15 Aug 2019 09:00:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkm+uArNcKnu81KBX3Dm5mCjBj83MdTToouqwIl/8Q+rFCcf7SnIzJLB2BWh13wWKbvFU3 X-Received: by 2002:a63:29c7:: with SMTP id p190mr3979881pgp.124.1565884843691; Thu, 15 Aug 2019 09:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565884843; cv=none; d=google.com; s=arc-20160816; b=Yv3ueqvGxoTwmXu1j0LFTvk2bCKnWpsMDP8A11Lt7t3XIy8Owi5c7pmqGwibRI3OwT y7FHkM7Bp95Z8iIuFva1p7x267cNGYFiZs2LBbg5l8jUwLMdcyGXgK86h5Z7fjHiPG9s 0VgOVPy4zCv2rRnLf0Mk6TujpTiuwDlEYuFdoPK7+H68RFm80fE53tMVh+yBWdENlp0C Ggkj5g3HSz6GQ8W3GNsB4hos+RC66Ed/NiLSP6OH4OxoTqpOTNuVWVdCQV4BRzFwsBEn uRXHbyu+8fxa9vAmab1u7+pv6sZwkzZ2HbgPzauWVSvUs4sC54pckoltbMQnbcokbXXE xaAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=RL3QjsituN+eKLm8rFAvRNU0p4kuHntE0WRM8nYx0Cc=; b=FUVS8x+oI94qcyVsOViUyVijiJJkuWKlnkkINZ197ve+N/z/MChOtWRfYwhxAJldmb dUqY+TugRu/4LW6L6J7gtphzH7rNmakPXUg5B9tmIwMtuw15zRZ7VRXbO7GgM000VTWj am1swPxHZV4SbCx++2DpDbQYMsYGvtI7d9JcsVoY+TQ5wvfZ0Nj66lerWLVRnmM6TH6W pqueOIc9f36JSPMVZiZiA8Gv9O2f1y8cJ1DPLMa1WqmP9aMcZhlt0T892nJ4Rj9TS5++ 2rXz55Sq5HdB7Jsp0NAZtIvC0qOaLHKWIERDBoqC54bTwqR028k1ybk9/t4jixvXYRmY 8vFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@miegl.cz header.s=dkim header.b="j18/k5de"; 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 g1si2168904plj.194.2019.08.15.09.00.27; Thu, 15 Aug 2019 09:00:43 -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; dkim=pass header.i=@miegl.cz header.s=dkim header.b="j18/k5de"; 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 S1729627AbfHOPgw (ORCPT + 99 others); Thu, 15 Aug 2019 11:36:52 -0400 Received: from ocelot.miegl.cz ([195.201.216.236]:60764 "EHLO ocelot.miegl.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfHOPgw (ORCPT ); Thu, 15 Aug 2019 11:36:52 -0400 X-Greylist: delayed 480 seconds by postgrey-1.27 at vger.kernel.org; Thu, 15 Aug 2019 11:36:51 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=miegl.cz; s=dkim; t=1565882929; bh=RL3QjsituN+eKLm8rFAvRNU0p4kuHntE0WRM8nYx0Cc=; h=Date:From:To:Subject; b=j18/k5defNOvqDZ0rE8P8AGOKXF+u8BB2XCWI6KQ3gYzO5UvHMoTcmv8s6Ci5qWpH ct7UoYKKsQBtNIjiyTOP4RPJ97xjHlDoDcoNl68aE7RU9ZMBScK4lHAWREjQoQ1sZF as0lPxE3MFE270qNfJ/w7CvW6QZoQu4735JgWqJ12lB/u0ArF2zF7iRQTTE/vWtQk1 awhdiAtbVL9TjT9LMmfdZBSMxm00lcD11vFmrUGoYQQbN9In0avVsLOgbNzA+xRnr9 OqGmyt77Z+hUz/d3/nE9wbNE0N1wbRPfQMEJHOqd4zLmuac2n5nsSk/DVJTvjbsrXb fHrz+Q6nExvrQ== Date: Thu, 15 Aug 2019 17:28:44 +0200 From: Josef Miegl To: linux-wireless@vger.kernel.org Subject: Implementing Mikrotik IE Message-ID: <20190815152844.k5mmddvbwrohkzr6@pepin-laptop.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org I've been trying to implement Mikrotik IE. It is a vendor IE that carries stuff like radio name. Even though it is Mikrotik specific, UBNT has a patch for madwifi: https://github.com/jhairtt/ubnt-hal-0.7.379/blob/master/patches/madwifi-dfs-r3319-20080201/074-mtik-ie.patch The IE is sent in beacon and assoc/reassoc frames. I think the correct place for this is mac80211, but I'm not sure how should I expose a switch to this functionality. Is there something like ioctl, or do I have to implement a switch in nl80211, then in cfg80211 and then finally in mac80211? Any advice is greatly appreciated.