From patchwork Wed Jul 20 13:51:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikanta Pubbisetty X-Patchwork-Id: 12924012 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 3031DC433EF for ; Wed, 20 Jul 2022 13:52:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240562AbiGTNwH (ORCPT ); Wed, 20 Jul 2022 09:52:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231922AbiGTNwG (ORCPT ); Wed, 20 Jul 2022 09:52:06 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BA355006E for ; Wed, 20 Jul 2022 06:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1658325126; x=1689861126; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ppRigJYhz5mnSLJkJnf7Ku1tYwyLVb2RypjqAh+CWfk=; b=RTpZJe60HlGsUpHIdSLx2ovNYouoo+Fw9X73RQHgxFa3ewVVj8t7rFgM MRuM+/aag9OQi1mclklZO1MVaQLVaGFLU5oRWQX1z5XrRPM9nEtNY7Uld ebQD9FPRhI4rwmWr2C2e3q9+J8oyi2q87OhbS+3Wic7WfPidO12xYvsxx E=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 20 Jul 2022 06:52:06 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2022 06:52:06 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 20 Jul 2022 06:52:05 -0700 Received: from mpubbise-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 20 Jul 2022 06:52:03 -0700 From: Manikanta Pubbisetty To: CC: , Manikanta Pubbisetty Subject: [PATCH 0/2] Add TWT debugfs support for STA interface Date: Wed, 20 Jul 2022 19:21:48 +0530 Message-ID: <20220720135150.22193-1-quic_mpubbise@quicinc.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Currently TWT debugfs interfaces are created only for AP iftypes, add TWT debugfs support for STA interface as well. This is needed for manually testing the TWT feature on STA interfaces. Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1 Manikanta Pubbisetty (2): ath11k: Add TWT debugfs support for STA interface ath11k: Fix hardware restart failure due to twt debugfs failure drivers/net/wireless/ath/ath11k/debugfs.c | 84 ++++++++++++++++------- drivers/net/wireless/ath/ath11k/debugfs.h | 5 +- drivers/net/wireless/ath/ath11k/mac.c | 22 ++++-- drivers/net/wireless/ath/ath11k/wmi.c | 68 +++++++++++------- drivers/net/wireless/ath/ath11k/wmi.h | 23 ++++++- 5 files changed, 143 insertions(+), 59 deletions(-)