Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2461407rwa; Mon, 22 Aug 2022 08:06:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR7lHxEcCciKn+MYNVluTm44QNAjKkMyCPvb5l2/3BMevLI38H584XUJE39oaYYUoRLE8X9f X-Received: by 2002:a17:906:8446:b0:730:ab78:2353 with SMTP id e6-20020a170906844600b00730ab782353mr13307468ejy.625.1661180774314; Mon, 22 Aug 2022 08:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661180774; cv=none; d=google.com; s=arc-20160816; b=y4teyqdrk+riRyoBHwiAkqsPG6dXwnbnjinBocs4VyfwsS/2y2SBirgUJ+gIUo6Xvk jvCy3smuPf9f+lrOwm8Iif2VOBaBZgZ+GINW/o1r9pAs6sDOFtDYqC8KAq5n8gOy0WK/ ComAjgJiAAn/mAcNQWDxgYL0cf1Kob6YUv/kI/uAlzmMd4IDs9D9w/WLV5+CQt4++Yuy saNybeiWEyOwyq6AyT7k3mpYQzZfsPS7xjRRuv8CVjP9ex4YzjTBWwjUDVaHGef+nrwS yP76OxkGemq3SooI/FrmsycLm5CGrV2edZI4XKkUjMKJHT+XlJ4FnQFjbf+aMKqBdoOQ qz/A== 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=lhCp3gazHoqKuo+KxPlFiFXB4bVV+NWLkmVgJm8ISfs=; b=Zry1boWzs2oC6T6PqJI2v+yEOO0vW+QMYDwTOw0SwKoOwJGn8xXZSjxHsHSDll4ToW CfqRF0fucLIh3RWO+jNhWaml1cn2ZkaqIsOex5TvfPhWrrEOGbe/e4tJi0lMjI9wr1tA WC99BxYN+cXnOn2D83hIS/LO9URK9PDP1XoeogeYo+UW43YdnJeph2NC1eBYvLx6A+/I JWDV5cmm3rBk0jpBSgjfzx17iVTHN1kDZ7e89p1ibeTdjnAr4FufLPAJsAoD3DerftX/ Soss1trNMaIoRsqKHsz+ZkEi3QojQP15UcJe1MxFc3l5hFkNj33WoFciqEGSY8AsBIai W9bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=VoeHtuEV; 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 ht12-20020a170907608c00b0073d6859e57esi5053727ejc.804.2022.08.22.08.05.52; Mon, 22 Aug 2022 08:06:14 -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=VoeHtuEV; 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 S235825AbiHVPCo (ORCPT + 63 others); Mon, 22 Aug 2022 11:02:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235803AbiHVPCg (ORCPT ); Mon, 22 Aug 2022 11:02:36 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12DE239B8B; Mon, 22 Aug 2022 08:02:32 -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=lhCp3gazHoqKuo+KxPlFiFXB4bVV+NWLkmVgJm8ISfs=; t=1661180553; x=1662390153; b=VoeHtuEV3nEO6VPHeCJSmc4SevyieyAix0LfuyKG0pL8o8f +rxqDlylJyJq/lHFWzhYC7HqumR18QtNRHJC/2O2BGcSNx2Z3OTHSh8LLJcNATtypcn3caITbCLxS E2rC1z5d2JExA5YQKf6oWbiu3GtB1PkM6dJpHprIl8A/qyuzGDis1430s8f0Ag9ScqGoQOCrFWjMT skLzabRRX/dcEczxyZYl0I4C55KV5EAvP1IPhQpwNIXoubUrNWPl8yrSgEzYCIPNR40py5PE9pWTx YMlcs4EjwuiHakOLkepssY/7FWBLbfqn0pGJl7rYWwki+J9cyKTPO1BBakeGL7EA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1oQ8wZ-00EZ1L-30; Mon, 22 Aug 2022 17:02:24 +0200 Message-ID: Subject: Re: help for driver porting - missing member preset_chandef in struct wireless_dev From: Johannes Berg To: Frank Wunderlich , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Mon, 22 Aug 2022 17:02:21 +0200 In-Reply-To: References: 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 16:04 +0200, Frank Wunderlich wrote: > hi, >=20 > i'm working on porting an old/huge wireless driver (mt6625l) [2] to linux= 6.0 [1] >=20 > i hang on missing member preset_chandef in struct wireless_dev >=20 > struct wireless_dev *wdev =3D dev->ieee80211_ptr; > struct cfg80211_chan_def *chandef =3D &wdev->preset_chandef; >=20 > it looks like this member is moved from the wdev into some mesh structure= ...my driver does not support mesh. any chance to fix this? >=20 Yes. Make sure the driver doesn't access it, it should get stuff through other APIs. johannes