From patchwork Mon Jul 10 21:02:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bitterblue Smith X-Patchwork-Id: 13307654 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A791FEB64D9 for ; Mon, 10 Jul 2023 21:02:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232760AbjGJVCw (ORCPT ); Mon, 10 Jul 2023 17:02:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231851AbjGJVCu (ORCPT ); Mon, 10 Jul 2023 17:02:50 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DED3A8 for ; Mon, 10 Jul 2023 14:02:49 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-31441dfbf97so5712531f8f.1 for ; Mon, 10 Jul 2023 14:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689022968; x=1691614968; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=B+D+4zoQ0B9tHUKwZdibD1400scNbLYMmekMtFdpiw4=; b=ovtOxPqKXZ70vzrl7GNcKTGHOx0rDToaxsbsatYiRsX6T9PCdr4CKkUVBFDH010eHp kmzr/Qr/4Ku2KlsSZao5ybUzaYjHIENYq2fe6ZVeOHqbkwQGJBTtlMGG893aMePThSOj HZUx+vxyaUJ1UQBcIvjszYmFFrLUbviUwZX0qbnpK0ELlz5LPI3F/J48lXibg2HZzvbn yhw6bJ9VSLm8HmS98M5mtQs9mPS1x2I8qx4DBPbeptvlw86g5VYrtooNJUlNqXGN/uTs OspQ/nJ32imRdLdXtrlPZ/Qm6Gi8M5QpCZSp+rzKBpOtlt/6obFiYSXFRVF85HhnugGP MqaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689022968; x=1691614968; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=B+D+4zoQ0B9tHUKwZdibD1400scNbLYMmekMtFdpiw4=; b=h8AdM/a5A18/hqYb6nOMOg/yDWukFxNhKvOGOyI/P9nV8wQlq+WHkkH/LgktHZBZjo OaRO1VcvuEkpvsItPx9fr7PuKYzi/+z3Z4k/0UpsaAda7l16yOlQTrSdgNP1IJFz9zkZ blYbbTXYyJqxbm5bm/lUbFEqb6Bd5P038Ht8W8ELYqsuFTKOpGWHPXjL/wwwKItIG8kn EeYK2LJ8hyxdQv84Z3csifdKczoPvf8ddf0TBpBH5FloO0e4JTGDAi4bAHJoBUGvpG4b NRQI69VAqDfWkrJ1+0UZ+vF7HklKTfcAG+aPAa2dQAp+fHN79ZgbEaTBPpYx5Wx9jtls U/Qg== X-Gm-Message-State: ABy/qLbhfe1/Qt7pZJm7x4vKoM7rfr/kQuOlz4Ng5peC5m2b7TjMGXeP H2hsJRxK5XIp7EWTi0Y8f07YYwumrzQ= X-Google-Smtp-Source: APBJJlG7F1bY9+HSbhdw0X6yfwFOHYrqsZKviVztWsfJxz/JRnp5N7lah2FcTIlpWBybxTOVH324xQ== X-Received: by 2002:a05:6000:1081:b0:315:96e2:d73b with SMTP id y1-20020a056000108100b0031596e2d73bmr5220529wrw.37.1689022967844; Mon, 10 Jul 2023 14:02:47 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.57]) by smtp.gmail.com with ESMTPSA id i17-20020adff311000000b003143853590csm357501wro.104.2023.07.10.14.02.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 14:02:47 -0700 (PDT) Message-ID: Date: Tue, 11 Jul 2023 00:02:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: "linux-wireless@vger.kernel.org" Cc: Jes Sorensen , Ping-Ke Shih From: Bitterblue Smith Subject: [PATCH 1/4] wifi: rtl8xxxu: Enable AP mode for RTL8192FU Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Theoretically this chip can handle 127 clients. Tested only very briefly but it should work as well as the RTL8188FU. Signed-off-by: Bitterblue Smith Reviewed-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c index 18dc5221a9c0..28e93835e05a 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c @@ -2079,6 +2079,8 @@ struct rtl8xxxu_fileops rtl8192fu_fops = { .ampdu_max_time = 0x5e, .ustime_tsf_edca = 0x50, .max_aggr_num = 0x1f1f, + .supports_ap = 1, + .max_macid_num = 128, .trxff_boundary = 0x3f3f, .pbp_rx = PBP_PAGE_SIZE_256, .pbp_tx = PBP_PAGE_SIZE_256, From patchwork Mon Jul 10 21:04:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bitterblue Smith X-Patchwork-Id: 13307655 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 531FDEB64DC for ; Mon, 10 Jul 2023 21:04:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232355AbjGJVEK (ORCPT ); Mon, 10 Jul 2023 17:04:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232174AbjGJVEK (ORCPT ); Mon, 10 Jul 2023 17:04:10 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E74DA8 for ; Mon, 10 Jul 2023 14:04:09 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3fbc63c2e84so55376165e9.3 for ; Mon, 10 Jul 2023 14:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689023047; x=1691615047; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dFAzc1w8baHJrsHv/ZtPxtkuSiUzObgs+BRZ7PhBYlg=; b=CrhlGwXi3+l/GF1L+PDfDx8BsyZ34tplTvlzkCRFm6hkWaqerImuMa+tPG9hqeGe8n NtlVEdHKKDKjNfCD2J29/sSAkpdrmpB4u0C6Ag4YSsdhIRt0xe56x8D7lALEzaCcpVw+ J+hZ8kYiPT+13qiQPdnhNjy+ij+2z3DT21ZskWsAXBK2ITtXZYGCzEzyk9xjtkVm32Wt h2AjYPXoj1vto4lMMFlUQC04Ecou0U0gVz0184IC7vKKbfBZ48z4KfZYB8hjJ6C2JDT9 LQx7Q+LrSBDTcXJ5kanQzIbw4cbmgdORlhgqyT1E27zLI3frurYztBOXAz3h6sRfJx9v z+fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689023047; x=1691615047; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dFAzc1w8baHJrsHv/ZtPxtkuSiUzObgs+BRZ7PhBYlg=; b=IobqXilGkZR4FESEu2GuyFDUocMr85VDu73jT2IcbA04c82oByqBJ4dCAu59BzGIGq SpnCWS2uI2KZFqY4SwGUjz/pwdIUo0k8qlKNfmxkRtiJK2lrgNVnMhT2QDnq0Yt3e5/3 3YrOEeuv5TuSWjtDmXuqHSSnKpjlHzaM+rvmgGypwEgUb7DR5bvmgAwvrfytJFZNkeRA akTZXv5LgTPhQ1cuOOi/aqcUIVp8KIh8jQkQUyNrrvGy2AIgfu+56rr7nNdfQIvts140 qsXH2bX8UO3h1wBcsE3z4gMp2ktNNgCgsgKykpzgywLQ+QL44wCDg3V97JsUWy26S/pl so2g== X-Gm-Message-State: ABy/qLaKijZO/Nr2Nxd/NvOmR9DZlcjRHHGIijPKw0OMqJR0uVuWj3MF 1dtG3Lx6n6EC90DaX9rMF3gLkr4RK18= X-Google-Smtp-Source: APBJJlH/685H13s2z54KKhPxM2dALPNvl1wrnMCwQdnwgKF/Pxwxm5SGrlOirV0Nm9WmYS633sTt5A== X-Received: by 2002:a05:6000:36a:b0:314:4473:5bad with SMTP id f10-20020a056000036a00b0031444735badmr14743614wrf.65.1689023047629; Mon, 10 Jul 2023 14:04:07 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.57]) by smtp.gmail.com with ESMTPSA id g15-20020a5d554f000000b0031411e46af3sm363507wrw.97.2023.07.10.14.04.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 14:04:06 -0700 (PDT) Message-ID: Date: Tue, 11 Jul 2023 00:04:05 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: [PATCH 2/4] wifi: rtl8xxxu: Enable AP mode for RTL8710BU (RTL8188GU) Content-Language: en-US From: Bitterblue Smith To: "linux-wireless@vger.kernel.org" Cc: Jes Sorensen , Ping-Ke Shih References: In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Theoretically this chip can handle 15 clients. Tested only very briefly but it should work as well as the RTL8188FU. Signed-off-by: Bitterblue Smith --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c index f0d17b75c5f1..871b8cca8a18 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c @@ -1875,6 +1875,8 @@ struct rtl8xxxu_fileops rtl8710bu_fops = { */ .ustime_tsf_edca = 0x28, .max_aggr_num = 0x0c14, + .supports_ap = 1, + .max_macid_num = 16, .adda_1t_init = 0x03c00016, .adda_1t_path_on = 0x03c00016, .trxff_boundary = 0x3f7f, From patchwork Mon Jul 10 21:04:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bitterblue Smith X-Patchwork-Id: 13307656 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2004EB64D9 for ; Mon, 10 Jul 2023 21:04:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230385AbjGJVEp (ORCPT ); Mon, 10 Jul 2023 17:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbjGJVEo (ORCPT ); Mon, 10 Jul 2023 17:04:44 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16A1CBC for ; Mon, 10 Jul 2023 14:04:43 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f766777605so7775500e87.1 for ; Mon, 10 Jul 2023 14:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689023081; x=1691615081; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AljlMmjXrKm4FJYukYxs1FJPNHeca4F3lkP2SD3zF4M=; b=O8CJAAUaEyllZf/xCZjZZpJiV77pZse+AJxrgVIBUVlHcJiz6pqmDWd0OG63gEudJ/ l4j6KN5FNOMNQn4TNfZF4/3jG/XhAhAM6tjTc7GjMabzk9njCSFGi2NiJL8Pou6TLwav 5BOe/5NFGGkeawNZW/fAe97f2/pVlX0OkzPboON02db5/4J+tC17ZVi5ucrq5qJCKS43 BMJSpD/m7vtGRo7CzuC7Dv3ql5UbJZXHugaYXb0tp8R6lSTHEOgsjRtyH/TTQxOwT8l4 hRqCXevNcaaXETO5h9QUQ3TMoN4ZuIJxK0TB9Ppd10dCFfpEW3fwAdVBZ7LJsrjxgb7n mtRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689023081; x=1691615081; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AljlMmjXrKm4FJYukYxs1FJPNHeca4F3lkP2SD3zF4M=; b=BNbpOmnd4+I9bG318Dl8laasIoW5EoXhjDJe0l5FjgkKJppKM2s5nBuXSHLoeD72v9 Nm5EnCB99X8kVQnUrQsuFdUk1vEkfXzwlyWWWIM6v6HiSr7Ahsg3FWsQYK9gbvXL9yb1 GpAw2KrWevzRb3kWwrx6LhSNkqyCXdRJqNfXKug8Kyh/mlvchUa3Tta0w08I79h8vx87 wqvStGgiM0OWxD1fHnBUQPS2Z+nWuv/Q9kdw2ROpuLjAbqnEufyojpkmemhYQlU7pE6n z+yLnOByXUyFTs3BnmVGGZ8h9o1Z3qUfscmQL2KCuvz8YVA5hZEeGzMxovUaG/fKx8ac 7tSQ== X-Gm-Message-State: ABy/qLbqcQdhKcGhqpnkFkHGdlZNzvtoGbDnR/3a3FwUkT8huPVubu/3 6NDC+jt/RCgGFaYqT3v3UPDbiQ6UlDE= X-Google-Smtp-Source: APBJJlGt0c6TtgEu6sKduRsx0KPTBKp+JdNCEhLOb/aAcocQx/xfpaX2jFKSLj/aUCk1cbi3YYG6Xg== X-Received: by 2002:a19:7106:0:b0:4f8:69f8:47a0 with SMTP id m6-20020a197106000000b004f869f847a0mr9807042lfc.29.1689023081077; Mon, 10 Jul 2023 14:04:41 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.57]) by smtp.gmail.com with ESMTPSA id r19-20020aa7d593000000b0051e166f342asm167600edq.66.2023.07.10.14.04.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 14:04:40 -0700 (PDT) Message-ID: <56c9b186-ba9a-8469-652d-ce1709813e9e@gmail.com> Date: Tue, 11 Jul 2023 00:04:39 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: [PATCH 3/4] wifi: rtl8xxxu: Enable AP mode for RTL8192EU Content-Language: en-US From: Bitterblue Smith To: "linux-wireless@vger.kernel.org" Cc: Jes Sorensen , Ping-Ke Shih References: In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Theoretically this chip can handle 127 clients. Tested only very briefly but it should work as well as the RTL8188FU. Signed-off-by: Bitterblue Smith --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c index f673aa9ba15a..47bcaec6f2db 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c @@ -1767,6 +1767,8 @@ struct rtl8xxxu_fileops rtl8192eu_fops = { .has_s0s1 = 0, .gen2_thermal_meter = 1, .needs_full_init = 1, + .supports_ap = 1, + .max_macid_num = 128, .adda_1t_init = 0x0fc01616, .adda_1t_path_on = 0x0fc01616, .adda_2t_path_on_a = 0x0fc01616, From patchwork Mon Jul 10 21:05:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bitterblue Smith X-Patchwork-Id: 13307657 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25BF2EB64D9 for ; Mon, 10 Jul 2023 21:05:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbjGJVFX (ORCPT ); Mon, 10 Jul 2023 17:05:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231420AbjGJVFV (ORCPT ); Mon, 10 Jul 2023 17:05:21 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F0F41A7 for ; Mon, 10 Jul 2023 14:05:18 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-99357737980so647882366b.2 for ; Mon, 10 Jul 2023 14:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689023116; x=1691615116; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=c2QOZ4p9y9licAqcmEwdS8OXFAh7Q+nEgiRJis+2CAw=; b=Hto1kQVE0Z/k7NCbb4cZrhvGnw/jJUWTtI9jjSmfDuB5PwPr5tXfZgyL4LsvQ/ncgb LvPcCX9abRhrrZbJp0BhlXgwNjd43y26rdYZgOuAoXUZbdcTm835vASZZvUBEMRvTkPj QJPHWSG3ts3VCsEx8QdnOABLAiOARxd/swUr/53/sMKIkyPa7t6cPBpPK2bUxFlbUm1m Pv5s34AO3u6Yb1nTC8NdFc+so30sRUo32F7eVHxInJFQPGHilnY00r9ixLg8xJkuzTLc ow5kEunhiMi7rkKALnchmYOsIkW/QxhIFwrZapy/hs0yknDU1kINMaZmnOFvUYiV524p aiNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689023116; x=1691615116; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c2QOZ4p9y9licAqcmEwdS8OXFAh7Q+nEgiRJis+2CAw=; b=IMiB2/Tmyzg7NWVqJwZ7o/qYTdNMl0Cbi0FiX6d0u4Q3ElrJDkMRALOvu+b71WoRNE uKkaDSq5DAT9Qp7w2MRdTtYa4g5DY/LdaAhbPTTe87XYw5SWKiSfx+njQW3bFH3RRUNz 5+XAW/xdPD0KlYtZ3hlzSi/SJNq9f3P8IyOEaMzFAw10d3YLIv5eAncgR6EmU+w9Dsqg HAAUXC15XMrL1nUmNLQB4OM3H13nr/DcLwpg8xeS1ECM7kaAUmCdG+w9DW8WIb+XsOG+ hRAT3KhambhCxcmRoIHVCn23H7nHg7OAJa/yHVD+BPOVtY7EH95I5fXqY6dDp8RFu4OG zdfA== X-Gm-Message-State: ABy/qLYOA+GyumfLDpz1tS4t2pLNCLB3wIyzRdpUsNvJZ1B55YgG9x2V bjaDSdPlJWTygcwHYaBbGf6tbf1MLlk= X-Google-Smtp-Source: APBJJlGVHWko7eQfk+azVIZAHzJp/miP6P1HXLCij7AEJ2ExkoJAH9Ara2BI0YfgAXR+C/eHrq5lgQ== X-Received: by 2002:a17:907:3ad1:b0:982:79fa:4532 with SMTP id fi17-20020a1709073ad100b0098279fa4532mr12561862ejc.53.1689023116449; Mon, 10 Jul 2023 14:05:16 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.57]) by smtp.gmail.com with ESMTPSA id g23-20020a170906395700b00992a9bd70dasm228274eje.10.2023.07.10.14.05.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 14:05:16 -0700 (PDT) Message-ID: Date: Tue, 11 Jul 2023 00:05:14 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: [PATCH 4/4] wifi: rtl8xxxu: Enable AP mode for RTL8723BU Content-Language: en-US From: Bitterblue Smith To: "linux-wireless@vger.kernel.org" Cc: Jes Sorensen , Ping-Ke Shih References: In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Theoretically this chip can handle 127 clients. Only compile tested but it should work as well as the RTL8188FU. Signed-off-by: Bitterblue Smith --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c index 13ad5d5b73f4..954369ed6226 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c @@ -1742,6 +1742,8 @@ struct rtl8xxxu_fileops rtl8723bu_fops = { .ampdu_max_time = 0x5e, .ustime_tsf_edca = 0x50, .max_aggr_num = 0x0c14, + .supports_ap = 1, + .max_macid_num = 128, .adda_1t_init = 0x01c00014, .adda_1t_path_on = 0x01c00014, .adda_2t_path_on_a = 0x01c00014,