Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4622471rwo; Tue, 25 Jul 2023 08:36:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlGuQ2gks+s/Xw1h1eHT3dK2nsEFcaN5otKFxfTaoxtum4h/eifZltF7v3fUEDTZDtqdtPcV X-Received: by 2002:a05:6a00:b54:b0:686:bd88:6062 with SMTP id p20-20020a056a000b5400b00686bd886062mr1655pfo.24.1690299411383; Tue, 25 Jul 2023 08:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690299411; cv=none; d=google.com; s=arc-20160816; b=0+fWvPJEaS8AaeyL7njrpaY8Ib80QM8fsoXGRh3ddwIFiJCV/kwcGMoUeMrsk2Jz0B gOCfpBERiNrwGDBMfGvRzqvm6gdJs2gMFuz68I2GVtWs2BSwziy2gCZ+dUfQfBThaN2l lFsQ9IE6FEIaqiH5pxI6SzOL4vzpslOQwHisntGCus3kYwRrelvfDnYpWohhYWOLqmur O6YGAenc4oMueEqDAzq3wjABEU+tLarLQLoPd/DUWHJruElCznTM8EtXXhS5JkfpM+8R qkac9PQFMSp2/Rk9psC+B7/U1ZyOy1t1li+myZZzKD82bjWxI5XN81QDkI2FSISkwLiC orOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=AjJmhLpJnvUg9hgwvmrvKYeprNLmdBWHgzQiWuYSVK4=; fh=xWe7DN7GcRecuhKpNLfdi/4yzucNDVhPU6E3awDg2P4=; b=WVTBN7zo9A82TImYz8Pz+kAkKxrtdGWTY4Dg56BS855rZknp+kkh4OPqoSGHTxgH3f UVqVJPiVb/pMkVfKasFvpCtLcRd8GiBa/Uak8KmqAdaDmNoOmOH1b5ljBxP0LhhROJcu oq3LdmA+B4tLMhAbiHmHSA3KUUUmRFGoL/cIO73vXE+rH8Dq8kGRJw1nvMAOKKibChMB Bj1alaBrkphrWVHZcy9JFxmtqb22OWiAxrQZyx/gGt38vh6mhJx1uNc1Fh7sgcRGNbGD 68rztR9YQIUZ28o+F83gggMH3aD8oZPkRRX2t3auY1NM0VGddTDCl8lDMqtroAk1Fd3o X3qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=przga2CD; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u34-20020a634562000000b0054fbd904b6dsi11629579pgk.500.2023.07.25.08.36.32; Tue, 25 Jul 2023 08:36:51 -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=@kernel.org header.s=k20201202 header.b=przga2CD; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233006AbjGYPPY (ORCPT + 58 others); Tue, 25 Jul 2023 11:15:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233092AbjGYPPX (ORCPT ); Tue, 25 Jul 2023 11:15:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CCE1122; Tue, 25 Jul 2023 08:15:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8ACDB61772; Tue, 25 Jul 2023 15:15:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 100FDC433C9; Tue, 25 Jul 2023 15:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690298121; bh=RmvXJQniU+i7HLbl6dRhfiZKgENABktX8gkiV4f0q8M=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=przga2CDcnEzmCs2onvYBl9Ymr//YH/E9uKlgiASNYO56KWZThCdFzgPcnjY4Cm7W B/uh2aQaQNrhd57Cr8voAQAUWuI7h1yhvSiQlcLckPpwIuF4G6FghvlbDhzoJlc77q eoO3cxrviTG5Qzzqopx9IHdn3h98gvv1R8OiOrvp+5ma5Fty9BRbdDFxaMrpQP6ZHM nZm8+l9WsIN3fVW3EP/1JPJxXp03gAKSmPI9RQjW0b/D6MPllMJew5gZBnvsbJ6vR+ gcUUdSdueA7z6RsZprEW2r5iGzN+LMgoyQoMTcG3UWaNNC4jq1Ca44TAFQRbNJxM+8 B8daq1v+etd5w== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] wifi: mwifiex: Set WIPHY_FLAG_NETNS_OK flag From: Kalle Valo In-Reply-To: <20230706093437.3380526-1-johannes.wiesboeck@aisec.fraunhofer.de> References: <20230706093437.3380526-1-johannes.wiesboeck@aisec.fraunhofer.de> To: Johannes Wiesboeck Cc: Johannes Wiesboeck , =?utf-8?q?M?= =?utf-8?q?ichael_Wei=C3=9F?= , Amitkumar Karwar , Ganapathi Bhat , Sharvari Harisangam , Xinming Hu , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169029811729.3309254.16459474870595238976.kvalo@kernel.org> Date: Tue, 25 Jul 2023 15:15:18 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 Johannes Wiesboeck wrote: > Allow moving the wiphy device for mwififex to a non-inital network > namespace. Many wireless drivers enable this flag implicitly by > initializing through the generic ieee80211_alloc_hw_nm function. As > mwifiex does not utilize this function WIPHY_FLAG_NETNS_OK must be set > explicitly. > > Moving to network namespace and working connection tested using > wpa_supplicant from a network namespace as well as from a container on > GyroidOS. The hardware was the Toradex Apalis i.MX8QM Board using the > Azurewave AW-CM276NF wireless module. > > Signed-off-by: Johannes Wiesboeck > Reviewed-by: Michael Weiß Patch applied to wireless-next.git, thanks. 7ee92f6b4160 wifi: mwifiex: Set WIPHY_FLAG_NETNS_OK flag -- https://patchwork.kernel.org/project/linux-wireless/patch/20230706093437.3380526-1-johannes.wiesboeck@aisec.fraunhofer.de/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches