Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2718339rwa; Mon, 22 Aug 2022 12:22:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR5LmkzBBOzNpZP6Uydv74oYlxHNtDB56Vq9fyUX80bfKirV5BaPA5BY4buXkJ27OzAPy31J X-Received: by 2002:a17:902:e801:b0:172:fb87:d4d5 with SMTP id u1-20020a170902e80100b00172fb87d4d5mr1827433plg.161.1661196175778; Mon, 22 Aug 2022 12:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661196175; cv=none; d=google.com; s=arc-20160816; b=YiY66qZ3cev6+2a0rY0MW146TNuZWdEi7kJ4E//7SVfWJWBWxWihsg/gzrjBoD7V2z 87fEZDYUlUEUpoht16O1amoQpbAdzsbf7GJvl6RjwgHdw6xGvTRfrwWICwQZNx8Dmt/D vWl1Ez41jnL4hbL3m5g46S2hm21G/fb1s4CRwiXTtdSTuZ5hKQn3HTG7KUHUGhCTLC2D b0T0yo9KoEkFMtY17ylmESjzNDkr1D0UBygbwN6EQ7N9pvYiNoZh3BxQCHWTcvic5Ub+ UBGuHe4t4JdwrAVxzOsBoknyW12bCvZTVwvsn8kC+SrHDD7k15a49EXJxyI2WGWENkZ/ pvoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=+7qd52N+R+Sb4ct0/RwuDfez59xnxOcYNoEXOOggkG8=; b=cDdKtvCCBp2XdjHY9ARChxPzqfLnpBb8uPgbRddtf0GBv5VlvqCXspK9b+ZWWO2sWs owJmfP9vtom9RsJDnqL6FP/4ZJZUSZvh9g9JUfsu8VxiBwfNm4UhLjC+iSpRFxnlPqkD b2hbXJKKOaJM+mL02sw0q+phr5WboOF+5Q49HqG2DHgHqyQVSMPFixXWoOGPtVuAjwCf QQ32AJW2ZJ6I3QrluW6upNK6xKx5pG6gcWT5kRp9sKDkTTv6RCkZcVozX0tLZ2xFgbm+ +W+QsrZVcH5dfgSNjSgn98b0SGAZqebqfwK/fJraJTiwf9im7RjSndX+zirdVurIGUrc btPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=gHAICJVk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a656950000000b00419cb1b88fcsi14342972pgq.859.2022.08.22.12.22.43; Mon, 22 Aug 2022 12:22:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=gHAICJVk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237442AbiHVTVO (ORCPT + 63 others); Mon, 22 Aug 2022 15:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238626AbiHVTUw (ORCPT ); Mon, 22 Aug 2022 15:20:52 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB7750183; Mon, 22 Aug 2022 12:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=+7qd52N+R+Sb4ct0/RwuDfez59xnxOcYNoEXOOggkG8=; t=1661195987; x=1662405587; b=gHAICJVkWzz3irH3yLRMXjJmfIFhT4+odxyb/DZjOTqgtq/ roLjB41mFKJYuzUEFosFe5AQVJpEa5cfGGa48OFl+DpWypq6DmUrCX3omFQG0jyaceMG8ZwIPtZlk cByPuFcJazv89Nliz8RrVT701jAI8Cbjm67G2j2P+kLYkYwPEItsO46lWr3HX6pUl4j8r9Brp0rSr VcQhWTZJ8SXRApPkENOzHoZW7UpJBXl2bR9BILFAyuGGZzLllv6Nz9lnTB1PcjbkDyAPZvwO1YVum uLMLRq2zRMtPF2jZOsPJzCaWPf1Hp75Ub/kRuXwCo2Xjt7FqdqLh02N4ukx90/pg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1oQCxX-00Edep-2e; Mon, 22 Aug 2022 21:19:39 +0200 Message-ID: <7f9a39d1d1557afa09aa8b657a40f0c03e621cfa.camel@sipsolutions.net> Subject: Re: Aw: Re: Re: help for driver porting - missing member preset_chandef in struct wireless_dev From: Johannes Berg To: Frank Wunderlich Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Mon, 22 Aug 2022 21:19:38 +0200 In-Reply-To: References: <51a1b56a4d9ed825cb47cf364c5bd72f3338a1a6.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2022-08-22 at 18:59 +0200, Frank Wunderlich wrote: > > Gesendet: Montag, 22. August 2022 um 18:43 Uhr > > Von: "Johannes Berg" >=20 > > On Mon, 2022-08-22 at 18:42 +0200, Frank Wunderlich wrote: >=20 > > > thanks for response, commented out the use of the member and the > > > wdev > > > assignment as it was then unused > > > can you tell me which api-call this should be? > > > i just want to make sure this is really done as i up-ported the > > > driver > > > from 4.9, so if the api-call was introduced later it is maybe > > > missing. > >=20 > > No sorry, I don't know how the driver was/is using it, so I can't > > tell > > you how to replace it. >=20 > can you give me possible calls (if there are multiple candidates) > which may set the channel (without mesh) > for me to check or maybe implement? Well it seems to access it inside the start_ap callback, so it should just check the configuration instea