From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96F73C3A589 for ; Tue, 20 Aug 2019 11:54:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D7F922DA7 for ; Tue, 20 Aug 2019 11:54:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=newmedia-net.de header.i=@newmedia-net.de header.b="NFt/Id4U" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727006AbfHTLyn (ORCPT ); Tue, 20 Aug 2019 07:54:43 -0400 Received: from webmail.newmedia-net.de ([185.84.6.166]:48579 "EHLO webmail.newmedia-net.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728771AbfHTLyn (ORCPT ); Tue, 20 Aug 2019 07:54:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newmedia-net.de; s=mikd; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=VuoE3t0KeuPRrsMQRcqh6KVC581VByHkQ/fvcQi8doc=; b=NFt/Id4UnENqr/xOLSFJ7u3RfOQgQyvvUTZJg8RsJqsKBSuuBk9Gbx8bq5U6ZSDGEHZFyXkrYQ22GLE+/bM7Qt9pHcgW0kML/W38zT0VqZgbCFtnEAPx2Sv7Sz1WViJYgewBokJTFhOYGKTJl1NyffEP/uIoPM1yKbQcZYDkuho=; Subject: Re: Implementing Mikrotik IE To: Johannes Berg , Josef Miegl Cc: linux-wireless 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> From: Sebastian Gottschall Message-ID: Date: Tue, 20 Aug 2019 13:53:41 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <9985fddfb059640f36665efc9c1ef2dc0bdb7662.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Received: from [212.111.244.1] (helo=[172.29.0.186]) by webmail.newmedia-net.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1i02iv-0005tk-02; Tue, 20 Aug 2019 13:54:49 +0200 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Am 19.08.2019 um 12:12 schrieb Johannes Berg: > On Fri, 2019-08-16 at 13:38 +0200, Josef Miegl wrote: >> On Fri, Aug 16, 2019 at 01:15:30PM +0200, Sebastian Gottschall wrote: >>> in station mode you are right. you need to modify mac80211. >> Even if I don't need to capture the IE back? All I want is to include >> extra vendor IE in client assoc/reassoc frames. If this is something the >> current wireless stack cannot do, perhaps it should be implemented. > Contrary to what Sebastian states, it certainly is possible today, > although not through wpa_supplicant's config file, only through the > wpa_cli interface, using the VENDOR_ELEM_ADD command. There are various > tests showing how to use this. > > johannes i was talking about a different scenario. its not about adding a element, but to read it back for gui for instance. this is why i made a patch which parses this special ie and adds the radioname as extra element to the station table. this works for ap as well of course. so iw ath0 station dump will print out the radio name if available > > >