Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5029920rwr; Sun, 23 Apr 2023 19:38:03 -0700 (PDT) X-Google-Smtp-Source: AKy350b5o9ZnCw1XyQr4QCulr5moKZ+dkuFe8mqgMenuv9m3GEMTf4BDZNVfLyKImZKHSGiZVpHo X-Received: by 2002:a05:6a20:3d21:b0:ef:ef0a:f92a with SMTP id y33-20020a056a203d2100b000efef0af92amr16172312pzi.25.1682303883492; Sun, 23 Apr 2023 19:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682303883; cv=none; d=google.com; s=arc-20160816; b=W3XRai+Q90GHC5qUi2cQmgQXWkQ8bdVuC+ju4vjbwXDJU8JmCA+kVHB441Tg4+sfbm bS8MK1Tx3Bqf6xgKuHcT1+u+9VCdLPAIGXOSMW0/RKdiGc7BjAL9Kz42JwV774By7OtY RtgDPX/ZnATkLkAJi3YXpAwNX4+YvIEOhRVVnfLP0jRm1PAXHYEoIumnTAcGW4gKmNTt eRqaEFEn3mrDDt3b9FiiPma7mlFPVuQNkzrYJDC68BnJDJTsH7PhmBWrCnZ7C+ywcE1c 1FLog3j0VbC7bWtN6JWsRNYAhkzxcXTCBufNQGaSKudasAMw+iTdY86CTTgFi91FfoUp +PgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=4iFUxa/sJAMH4jRLrPXbSw1gKm3Tx5F3jUeEoRDPsUQ=; b=Sdz/LQeQ41efUNgtiWmIiGwEHvu8yBzNHQumFDYPBjKE7Iw27jCU0SHJAeTk0OhaO8 K15H62Cx8HS3Jncht/2lnJZi1oBFgmlJtRgCXToNde4BX9LkAMSvFW+p6o/NbhKxg5PV fzigGLT1dXl4v6M3IoLri7aOFTZLgaIEmiNDJs74pFWlPg08wJ9NPI8sImU5d5R4Jtl0 2o4TxWlCKO9UhAAuYqK7RKYADZykzs8b0apZWT89xqH7VEtzntwYczYessXRDRPop7pB FXtuOgAjKaa8NJEBC5dCxH3omMlopQOb2u9BCHhIDNZMlZfH/00Wh2uR0rFAy8PDZbZF uepA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b0051b930ef848si10393763pgh.142.2023.04.23.19.37.55; Sun, 23 Apr 2023 19:38:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229548AbjDXCdA convert rfc822-to-8bit (ORCPT + 62 others); Sun, 23 Apr 2023 22:33:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjDXCc7 (ORCPT ); Sun, 23 Apr 2023 22:32:59 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 963192100 for ; Sun, 23 Apr 2023 19:32:58 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33O2WjaB6008416, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33O2WjaB6008416 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Mon, 24 Apr 2023 10:32:45 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Mon, 24 Apr 2023 10:32:47 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 24 Apr 2023 10:32:46 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Mon, 24 Apr 2023 10:32:46 +0800 From: Ping-Ke Shih To: Martin Kaistra , "linux-wireless@vger.kernel.org" CC: Jes Sorensen , Kalle Valo , Bitterblue Smith , Sebastian Andrzej Siewior Subject: RE: [PATCH v2 06/18] wifi: rtl8xxxu: Allow creating interface in AP mode Thread-Topic: [PATCH v2 06/18] wifi: rtl8xxxu: Allow creating interface in AP mode Thread-Index: AQHZcqYJ83gj9TDBDke9WLuJRtJyGK85xLog Date: Mon, 24 Apr 2023 02:32:46 +0000 Message-ID: References: <20230419100145.159191-1-martin.kaistra@linutronix.de> <20230419100145.159191-7-martin.kaistra@linutronix.de> In-Reply-To: <20230419100145.159191-7-martin.kaistra@linutronix.de> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS04.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 > -----Original Message----- > From: Martin Kaistra > Sent: Wednesday, April 19, 2023 6:02 PM > To: linux-wireless@vger.kernel.org > Cc: Jes Sorensen ; Kalle Valo ; Ping-Ke Shih > ; Bitterblue Smith ; Sebastian Andrzej Siewior > > Subject: [PATCH v2 06/18] wifi: rtl8xxxu: Allow creating interface in AP mode > > Use the sequence from the vendor driver for setting up the beacon > related registers. > Also set the MAC address register here, in case the MAC address for the > new interface should be different from what was set in > rtl8xxxu_init_device(). This happens for example with the hostapd config > option "bssid". > > Signed-off-by: Martin Kaistra Reviewed-by: Ping-Ke Shih [...]