Message ID | 20200406111756.154086-1-Jerome.Pouiller@silabs.com |
---|---|
Headers | show
Return-Path: <SRS0=FAUf=5W=vger.kernel.org=linux-wireless-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B101DC2BA19 for <linux-wireless@archiver.kernel.org>; Mon, 6 Apr 2020 11:19:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 78C672072A for <linux-wireless@archiver.kernel.org>; Mon, 6 Apr 2020 11:19:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="E6AzDXSN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727998AbgDFLTL (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Mon, 6 Apr 2020 07:19:11 -0400 Received: from mail-eopbgr690076.outbound.protection.outlook.com ([40.107.69.76]:20110 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726873AbgDFLS4 (ORCPT <rfc822; linux-wireless@vger.kernel.org>); Mon, 6 Apr 2020 07:18:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CQv7aJVxoI6LjWYBHMVcVfrO/O6hg2vgVr8IgWcy+m5LOAwGoeRm/SxFe/yUdLJ9k9OrmzESNZQQEgAUVH6a6wvnXjapg2sdywggTYV7Ko4EB3ZV2hJCHwZzUpBEMbBiv3ixfzIQBhYuIsGubU6LW9m+DovRjZl3HTGz1Drd7NaEJgmgCwVFY81nipA3KMqLdkQizLLJ7stnlQf5M94alDIzl7F5bLiFEoT7yE1Va/W34xCV98OeLaB6bYGq3uGq/IpTZSBYucDc2wLehfv/ABPfGXdXHI3a6yzRwsU1fGodGHQ6aRjs4fUyoO5R1No+fmaQog0IA58Nb5U4w87NiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rCfg3DeG9nVcwyxoXOblYQwsAn9E/l2Q6VO1zJZcd4w=; b=Ce2QKLojCSadVJidtt6GyHAZulYQMq2HtyKXuzUQguNad+8lKLavr9dpPyH363VpycAgx3qPRARuZeoPN3xpJUdDgXbNZuNovLnMjWS+YzkFYJd8tC3an8OwgbztkJ7bNiQh9IcYnd5jjavRhnfo7IMAXgAbk5DDaPBu5fbgB3mrcv9RwJWbXOwSgG9UchLTxxsO3YmAdsLuo7+BkZLX9HKonc6IUbmxhzLDOm+QhPPCKb7NmJsoRHGQtXot+apzrQi/5ebL5mLTWWG8FUlwL7F5qynwhH5oCyREfeUccIw40tr2DZtxD+qQ6fRys95EMALnIIYA3DTQhz6ycY6XXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rCfg3DeG9nVcwyxoXOblYQwsAn9E/l2Q6VO1zJZcd4w=; b=E6AzDXSN93xRlIP4LA8/3AxY34vp60Jsy+xhDPN4dX5ovA4txTy/htLDWscqqKwMRysLugImoWAly5zdSNys/iBKW1vHFC0SzASTG4U5KLMLKomj8eXFxYUovj0dmfweqnaO3t5Ti+p0Ab5oTT3iRJVEutf36AuMF0bE51s4Zts= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; Received: from BN6PR11MB4052.namprd11.prod.outlook.com (2603:10b6:405:7a::37) by BN6PR11MB3860.namprd11.prod.outlook.com (2603:10b6:405:77::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15; Mon, 6 Apr 2020 11:18:13 +0000 Received: from BN6PR11MB4052.namprd11.prod.outlook.com ([fe80::e0af:e9de:ffce:7376]) by BN6PR11MB4052.namprd11.prod.outlook.com ([fe80::e0af:e9de:ffce:7376%3]) with mapi id 15.20.2878.018; Mon, 6 Apr 2020 11:18:13 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 00/11] staging: wfx: clean up HIF API Date: Mon, 6 Apr 2020 13:17:45 +0200 Message-Id: <20200406111756.154086-1-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.25.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: DM5PR05CA0010.namprd05.prod.outlook.com (2603:10b6:3:d4::20) To BN6PR11MB4052.namprd11.prod.outlook.com (2603:10b6:405:7a::37) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc-42.silabs.com (2a01:e35:2435:66a0:544b:f17b:7ae8:fb7) by DM5PR05CA0010.namprd05.prod.outlook.com (2603:10b6:3:d4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.13 via Frontend Transport; Mon, 6 Apr 2020 11:18:11 +0000 X-Mailer: git-send-email 2.25.1 X-Originating-IP: [2a01:e35:2435:66a0:544b:f17b:7ae8:fb7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d6e2bc58-1cf5-41e3-71ea-08d7da1c321a X-MS-TrafficTypeDiagnostic: BN6PR11MB3860: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <BN6PR11MB38602A2E895F8D18385A91A693C20@BN6PR11MB3860.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2276; X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB4052.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(396003)(39850400004)(346002)(366004)(136003)(376002)(186003)(16526019)(7696005)(52116002)(36756003)(5660300002)(107886003)(316002)(54906003)(66946007)(66476007)(4326008)(2616005)(66556008)(1076003)(66574012)(81166006)(6666004)(6486002)(8936002)(2906002)(86362001)(81156014)(8676002)(478600001); DIR:OUT; SFP:1101; Received-SPF: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Dnu3Doaw4wceTVYieOvg19ClMhb2sb2P04SepSzpM6CHmtO7O4TbbZMbN1YaiuUgNNZWuQCymHtBfxW9h/zDK4ZTVWvGPD9GL5/wPuXLJE2mqPqeRabNxtkTc+hMdmqpCDKrSTVO+nfNmoQ/SnqYGDiHu+M8beIC48Bss2JOjjjLc+FKEMtFXMTT9ElUEWpv7skkDhNKqlBitkd+pmA+dCBxFtFFvoEOHCU/3F+6G7xz8R+/4U8WWwzSxE3SG41IVAiaU6SSNSAaDvFT+7HkHeObi+au1JyTolBehAZS8HzfhMaDpH3ye5uGPHJ0uiyvU4bXPrdFniAnA2YTglHrdAKfRSA77OU9qL3CKbWXzlolx2q4QNVkf+kBrOB0ngjwk2agd4CcK4zuxVv+WjTxlj7mF7fm51EcJLt69Q9ZxCMuepZ64RusghADRbQ+WrrQ X-MS-Exchange-AntiSpam-MessageData: 9fB274sGGN8tVHqcPC25WqntnvTJggXjcNBTYbuL0jqHkhHE9FjQkSrcnUa86890hrkyjvdUlXrrTA6SNlEhZulCv2/GKEVF+83ArLkAJm2rQmyq0dZHPuOvg8vb0vESaH6JL7pAB3+r/FrLU4l9eGDy6y/hWq0RPMkRdlLvQV2r1On898iNfS4ysykj/viAxTBLH5myH0Y4SW1jcTzpuA== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6e2bc58-1cf5-41e3-71ea-08d7da1c321a X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2020 11:18:13.6154 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ptHsPmEyn+PAR5l4M6LbIVnBW7VpKKnYXzvsPO0PR9epHXOGycO4b9ON0Rowb2o9VhAD0NKThkotagaz/jTqiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB3860 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
staging: wfx: clean up HIF API
|
expand
|
From: Jérôme Pouiller <jerome.pouiller@silabs.com> Hello all, This series try to clean up the Hardware InterFace (HIF) API of the wfx driver. Notice it intended to be applied on top of Pull-Request named "staging: wfx: rework the Tx queue". Jérôme Pouiller (11): staging: wfx: drop unused WFX_LINK_ID_GC_TIMEOUT staging: wfx: relocate LINK_ID_NO_ASSOC and MAX_STA_IN_AP_MODE to hif API staging: wfx: relocate TX_RETRY_POLICY_MAX and TX_RETRY_POLICY_INVALID to hif API staging: wfx: remove unused definitions from the hif API staging: wfx: remove useless defines staging: wfx: fix endianness of hif API staging: wfx: align members declarations in hif API staging: wfx: place hif_tx_mib functions into a .c file staging: wfx: allow to connect an IBSS with an existing SSID staging: wfx: make hif_ie_table_entry const staging: wfx: send just necessary bytes drivers/staging/wfx/Makefile | 1 + drivers/staging/wfx/data_tx.c | 20 +- drivers/staging/wfx/data_tx.h | 2 +- drivers/staging/wfx/hif_api_cmd.h | 625 ++++++++++++------------ drivers/staging/wfx/hif_api_general.h | 429 +++++++--------- drivers/staging/wfx/hif_api_mib.h | 671 ++++++++++---------------- drivers/staging/wfx/hif_tx.c | 2 +- drivers/staging/wfx/hif_tx_mib.c | 397 +++++++++++++++ drivers/staging/wfx/hif_tx_mib.h | 435 ++--------------- drivers/staging/wfx/key.c | 1 + drivers/staging/wfx/main.c | 2 +- drivers/staging/wfx/queue.h | 3 - drivers/staging/wfx/sta.c | 5 +- 13 files changed, 1185 insertions(+), 1408 deletions(-) create mode 100644 drivers/staging/wfx/hif_tx_mib.c