Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2664706imn; Tue, 2 Aug 2022 11:15:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR49sLTNIkEMHhUbdlYluz1kQJ3MZgS6r+NPP+EwgdXpioDQiLgD9QG97Ii63QKyxIheAPTD X-Received: by 2002:a17:90b:388d:b0:1f5:13c4:8ba0 with SMTP id mu13-20020a17090b388d00b001f513c48ba0mr734608pjb.162.1659464148966; Tue, 02 Aug 2022 11:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659464148; cv=none; d=google.com; s=arc-20160816; b=rXpHNjOtshUurnxo8QGPJtjc+7pe76cbwYNfY9YT0j7UOG3buSna33eul4XkUWYEs/ uQ1mDApnnoaOCYR/PdJbSXPJFvqauquAGOKcmYG/E0I+0M9DmMqK78O/0nz2ISX9cedq 8/lm7/8LnLodCZTNRxyYy+HCho8vAuD5JpTE27xamabtFYYnbJ4MOwoWLAbaMjdih1+C 4125LDzfH7Es69AEMR3O7dRWhuur8+/79IATfyDxr2XwzFWOpWfZLr2JEQXNNAWzR8Yz rv2jYG/zAxaEGl5T3sPSAYu4OheS9F33oXZFnj1HXjf+WqHN0VeiftS/xwYvnZN5ptRj Soow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=GNoHkmqZpKx9Pktw11GIbNQ2bhjivWnkaFbnDxeXjko=; b=WcZeqXRebME6PaQUgQ6XrdTruF/6ZoHd/ZELr0zPlLXuWTkE/ofreLpqaHipD5777g qqG7uMpqWjuCDpjpf6wGWWGkjrEh5z/4DfDwkKvOZ6YvM9pPTv7ZPBfWALA/8lQFBtrp cuaVU0Tu3Qifs7KjsbS/S4/ZRZ77uEPpLL1aj5nWWyGBsVBntg+bKAn9WDeU3II2wWF1 iJcwll29EQoMLGKP7G98r0t5EV15k5gF3HMV7MpXI+1K1A8txKhAOMMlnSu51mmLHPjB VPnW5vnq+v43QNoED5QQbzqTxzNQOCDi+N/SithcfCxXmIBVSWc4QmNSQFKxkZEUQFrZ mL+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Udpqm0u/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 s22-20020a63dc16000000b00411ef13f705si15957340pgg.296.2022.08.02.11.15.34; Tue, 02 Aug 2022 11:15:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20210112 header.b="Udpqm0u/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237342AbiHBSDb (ORCPT + 99 others); Tue, 2 Aug 2022 14:03:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237414AbiHBSDV (ORCPT ); Tue, 2 Aug 2022 14:03:21 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB4CE62 for ; Tue, 2 Aug 2022 11:03:20 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id c185so17369259oia.7 for ; Tue, 02 Aug 2022 11:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=GNoHkmqZpKx9Pktw11GIbNQ2bhjivWnkaFbnDxeXjko=; b=Udpqm0u/iKCRrsXn0zwaQsyNbevqIDy0JDzIIAcMh0IK1K/IwgtExogFGRWKiWTGtI uFfjjNke+0eMux5masDyDxE8wI85IacWFitHG7istD/kZT4u5nGWrNT2MsvqaPsjeDeE oDj1nrKjgBWFF5lT0nE8EDsaoMJeW5ouqZ1zlDb2KbDmKyj0sUtFb2nZ2T4GFw2aIrya apox241/J0FPpHvJKf4/USJnw37uXh1wPG3DnsrVXW3FuIUREHbbI6THvb/sQwxE1o+9 A5/zD3/7GUypSEJVUVocU/5eWQgDnt5c4gtSzgAIBNCIL0r5kPKkpyVqAtnU+wFqiJf6 R0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=GNoHkmqZpKx9Pktw11GIbNQ2bhjivWnkaFbnDxeXjko=; b=1Iaiauz8uisChbSv7DCpFsn4u4WiEpWwiAbJObFOev06s9dkR1HFBDlRhzV5iYhvTr BXvObZK6i9AikAqipEyxUwg5+8L3H3xEVen0UbCeCQuPCY5xqDIYvSUXLDR+umYM6Gsf tDJ1SFg6/LCDo1wGO/jZ0xmUb+sbuDrIlY8/ECnoiVUJHhwocZooHetHuslfSHyuABvm k7eg2rpZk1sXRPE0u6baK3bq4uFDJQNlUXvrGECOhaCt95fvU9SE51pSXVhb9eCY1UzW 0qcgburDlH5Dx+R3OOblKGKRlOgrS3Uod+DKt9zDZWPkobm6nn6RQcOPLzt0Jr6knzjz OQ1A== X-Gm-Message-State: ACgBeo3GeXa2m6WfDSQbPZCnwYeZid924jmjdKQJp3rR2A1YC1YNeO89 WICQW5RdYft+RXMMKZhGK0U= X-Received: by 2002:a05:6808:bca:b0:33b:2275:27b8 with SMTP id o10-20020a0568080bca00b0033b227527b8mr290247oik.180.1659463399472; Tue, 02 Aug 2022 11:03:19 -0700 (PDT) Received: from [192.168.1.108] ([216.130.59.33]) by smtp.gmail.com with ESMTPSA id d13-20020a9d5e0d000000b006359cd3e3b0sm836323oti.77.2022.08.02.11.03.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Aug 2022 11:03:18 -0700 (PDT) Sender: Larry Finger Message-ID: Date: Tue, 2 Aug 2022 13:03:17 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] staging: r8188eu: add firmware dependency Content-Language: en-US To: Grzegorz Szymaszek , Greg KH , Phillip Potter , linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev References: From: Larry Finger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=no 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-kernel@vger.kernel.org On 8/2/22 12:18, Grzegorz Szymaszek wrote: > The old rtl8188eu module, removed in commit 55dfa29b43d2 ("staging: > rtl8188eu: remove rtl8188eu driver from staging dir") (Linux kernel > v5.15-rc1), required (through a MODULE_FIRMWARE call()) the > rtlwifi/rtl8188eufw.bin firmware file, which the new r8188eu driver no > longer requires. > > I have tested a few RTL8188EUS-based Wi-Fi cards and, while supported by > both drivers, they do not work when using the new one and the firmware > wasn't manually loaded. According to Larry Finger, the module > maintainer, all such cards need the firmware and the driver should > depend on it (see the linked mails). > > Add a proper MODULE_FIRMWARE() call, like it was done in the old driver. > > Thanks to Greg Kroah-Hartman and Larry Finger for quick responses to my > questions. > > Link: https://answers.launchpad.net/ubuntu/+source/linux-meta-hwe-5.15/+question/702611 > Link: https://lore.kernel.org/lkml/YukkBu3TNODO3or9@nx64de-df6d00/ > Signed-off-by: Grzegorz Szymaszek > --- > drivers/staging/r8188eu/os_dep/os_intfs.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c > index 891c85b088ca..5bd3022e4b40 100644 > --- a/drivers/staging/r8188eu/os_dep/os_intfs.c > +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c > @@ -18,6 +18,7 @@ MODULE_LICENSE("GPL"); > MODULE_DESCRIPTION("Realtek Wireless Lan Driver"); > MODULE_AUTHOR("Realtek Semiconductor Corp."); > MODULE_VERSION(DRIVERVERSION); > +MODULE_FIRMWARE("rtlwifi/rtl8188eufw.bin"); > > #define CONFIG_BR_EXT_BRNAME "br0" > #define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */ Acked-by: Larry Finger Thanks, Larry