Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp851994rdb; Fri, 19 Jan 2024 00:15:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEK4zR/hvzEu5DfliWG5WgFOLLVFn6nEMKwXClm4LBAItDwQ+jdRj6HNKifd7cwtT/lts30 X-Received: by 2002:a17:902:db10:b0:1d5:ee05:22b9 with SMTP id m16-20020a170902db1000b001d5ee0522b9mr2706120plx.60.1705652142886; Fri, 19 Jan 2024 00:15:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705652142; cv=pass; d=google.com; s=arc-20160816; b=FnQBAhYe8DW3A4+DXl7QYcC1zVxclZPOIO1uxrrgHIQoN0H9OqMo9czLOIWvNtayN+ AGplGIttf7uLUUIlV7o0iEZyYCBgdmwLLqMZQJgnvv68Trvyi0z0aBj47Q5s69Brfkjk WUITINFehNFTWZA8OLWdERgTUzpa0/GlE9x+jQpWFKNsGpW9baKhEFb27iKeXSyA+TmH 5ZNT4jIKFBqPsMPpL+6kmF08pkDDqd5+07FtctxHacxHSUKfizZTzNvsN283e6jVanps 0XWI24BZ+FgF+tCKJRY1yKQQA/c6J89E74puJ0gie3u8nAnRRXrXnZ2CVvkW0ru4AHj3 xmNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=zTxKVu2y4tXTE7tr35HenfZ3kuqv4qLM1v1xzu/Qbl4=; fh=2Cp/Gdxi3trmHW/e0czf3mtBmMOgoyiOX6gjn9A+gQc=; b=H5xIoy0OkG1SsNB6sQZ7oK+FlcEubLQk3Cr5+ySU2iCzTolqYVI9EG5mvJ1unFi7bz 21F16o83LzV5+KENh81KqoYyJVFKg56ZOUM4DTCbuCJTNG6bsB3Ey9hvSHTxV9uM/rds kHF/ahMAgQ1fYCpQyJYyTeg1qT5TK1A/1llvzMTUH9cs3vK+ymFGT2tYGlmI0sD5a+Vv YSBEPUjAVpZKdfCL/wCAtARtqK5fV6sd4cF8m+VaHjPhYWZnKyxjQ+/RH61tDwEoH0X6 zapQgXSETWgj+58d+XV3kU+F7y+L4ErhkP0MfxJXB0rkGJTIXMeloaKUla8tVh9Hi+v9 BDpA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2224-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2224-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y14-20020a1709027c8e00b001d58d341dd7si2847792pll.122.2024.01.19.00.15.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 00:15:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2224-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2224-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2224-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5E0E5283A67 for ; Fri, 19 Jan 2024 08:15:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A03EC24B44; Fri, 19 Jan 2024 08:15:39 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5637224B2F for ; Fri, 19 Jan 2024 08:15:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705652139; cv=none; b=moT/9KZjFQKOsBj7vKMLqT4p0uJd23ifZtxz+G8ISSwpPe8ovzYjltKrxbS7NAEsulp6slXqoIfzfr9rahPHHvvawxExw05TfPAgbaJ09YwBVuTmjTL1CCywqIqW1P2LxCPkKWYO1HXZHu1X/s/VDdi671y+Uy+Q8LQRPQcJViQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705652139; c=relaxed/simple; bh=AF7rBnYDFObYUggWbJazgythpr5RrX5Kir3nm7pr1RY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=mJSNvtRS7YgYDb0H+1HUL0G78Ue4nvff5RQtcfQdvR6VVBNF5zhvlg3sQ1xIX1YuafxVBX+fBHlv5X+KjP5+Ml785qAooWsYkmvPv4smBUpa4Vl7omO87pXv/SDN7VsV+Hm4Yor+L4rThFfiD4hEB/wUzUc/SqTTuYqESJlisls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 40J8FOXo82212399, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 40J8FOXo82212399 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Jan 2024 16:15:24 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.17; Fri, 19 Jan 2024 16:15:24 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 19 Jan 2024 16:15:24 +0800 From: Ping-Ke Shih To: CC: , , Subject: [PATCH 0/8] wifi: rtw89: refine hardware scan and concurrent Date: Fri, 19 Jan 2024 16:14:53 +0800 Message-ID: <20240119081501.25223-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) First two patches are to use struct to access H2C/C2H command formats related to hardware scan, and patches 5/8 and 6/8 are to refine scan abort to make abort operation safely stop. Patch 7/8 to stop hardware TSF function during scanning to make hardware scan smooth. Patches 3/8 and 4/8 are two problems we found during testing as their commit messages. The last patch is to correct mistakes that uses wrong delay unit, so hardware work improperly. Chih-Kang Chang (2): wifi: rtw89: fix HW scan timeout due to TSF sync issue wifi: rtw89: fix disabling concurrent mode TX hang issue Po-Hao Huang (6): wifi: rtw89: refine add_chan H2C command to encode_bits wifi: rtw89: refine hardware scan C2H events wifi: rtw89: Set default CQM config if not present wifi: rtw89: disable RTS when broadcast/multicast wifi: rtw89: fix null pointer access when abort scan wifi: rtw89: add wait/completion for abort scan drivers/net/wireless/realtek/rtw89/core.c | 8 +- drivers/net/wireless/realtek/rtw89/core.h | 1 + drivers/net/wireless/realtek/rtw89/fw.c | 108 +++++---- drivers/net/wireless/realtek/rtw89/fw.h | 221 +++++++----------- drivers/net/wireless/realtek/rtw89/mac.c | 64 +++-- drivers/net/wireless/realtek/rtw89/mac.h | 5 +- drivers/net/wireless/realtek/rtw89/mac80211.c | 4 +- 7 files changed, 205 insertions(+), 206 deletions(-) -- 2.25.1