From patchwork Mon Sep 7 10:14:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 11760549 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A834615AB for ; Mon, 7 Sep 2020 10:36:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7EBC220738 for ; Mon, 7 Sep 2020 10:36:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="ca/24v9R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728575AbgIGKPq (ORCPT ); Mon, 7 Sep 2020 06:15:46 -0400 Received: from mail-dm6nam11on2053.outbound.protection.outlook.com ([40.107.223.53]:35456 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728524AbgIGKPn (ORCPT ); Mon, 7 Sep 2020 06:15:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KBeO0sZHKNoVzq29xn4Bhgzp9yXEfC1l+UEyiHf/qsc8P/FblfNoVV8aT+gwfhgpKp5EJ/HVfx4EiJVvyxXwBqlpN59/d0HTPJ3uNZLDXNawh3M82wFyx1SUncvVaGo0foQsb3xJcKtuRULVZtniEOUUTdprHGnIqbnx0RhQMngVQVWg/+AjQzopM7Rzbs8J5dYn85K8hJiOAOWxoh3tS730I7xWDHBBYIJ8OFB+c0tMepO5FDcVFedLp6Q/xcjtpjL6QE6QO9310G9aogr/yUSv4Y4IWDd0tjyuW4qNVhXuiDZKTCFDynCFrRPckuzZTbWYsNlT43oMDZCItaCnqw== 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=scuCA7KFfCLOkLlGi6SkfHMG+rrexR9taSYwPDYhb38=; b=POaIJOjRzzLO0REhksTT70dnBeCD47LgoV7TEDjBcMHB8sXbUBj4aVWnTUE4ZSw2+ti01/gHw2f0gprvnx9UAOwxiePiQDDTBthnVmX+k54cyMqR3qpJtALJ1zHIhYsETacM5xa8xcftdHpoK9aXo/PRelT6NoHyzLaTgwNVhcht4mDsrTl6AdChSNYuxSAizKQ14RCBtnzViKkX1KiDqRksSpFhTpiDBj1DvpUVg6881FPRox4fhYFu3fMq0UCkW8awLcQEc3y+CLkZc8iZfCv65kJGKAa9+U5++33fIMydPNIM3QZgpxatul1b6ag9quBkXT7Gqk6t0L3QrMhXPw== 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=scuCA7KFfCLOkLlGi6SkfHMG+rrexR9taSYwPDYhb38=; b=ca/24v9RcHUJCdJrWyJavJkmrSVnDB0ys7C9R9VypQzZAAk29ssBvxJOcoHSO+RmI5YbJyBF3KzYSSpc1svWl+DziMD1URA2xOfzyuORSxVuRdjGanO9zgYvb8HGq6BkykIVtyE0J95AjbwPySBJYPsRDafLIFq+NW8wZSSN8ac= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none;driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SN6PR11MB2606.namprd11.prod.outlook.com (2603:10b6:805:55::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.17; Mon, 7 Sep 2020 10:15:39 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::85c9:1aa9:aeab:3fa6]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::85c9:1aa9:aeab:3fa6%4]) with mapi id 15.20.3348.019; Mon, 7 Sep 2020 10:15:39 +0000 From: Jerome Pouiller To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 00/31] staging: wfx: fix last items of the TODO list Date: Mon, 7 Sep 2020 12:14:50 +0200 Message-Id: <20200907101521.66082-1-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.28.0 X-ClientProxiedBy: PR0P264CA0109.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::25) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc-42.silabs.com (37.71.187.125) by PR0P264CA0109.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.16 via Frontend Transport; Mon, 7 Sep 2020 10:15:37 +0000 X-Mailer: git-send-email 2.28.0 X-Originating-IP: [37.71.187.125] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f8a4d3a3-f51c-4395-6db3-08d85316f820 X-MS-TrafficTypeDiagnostic: SN6PR11MB2606: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1850; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3jsVrigSibZsyzgntpe58Y9onb/MjTL88EUEBQAxbLlKDOwiRKicHkiRjEsaKOuSgXlvsMrwy/TJVUl4wHRT9eD4HRvs+sWSfVY6wNNgS5ybGwC6FmNRYmwmh8/jSfFAB6velzera3fOiFS/P7VYJgzX6vZmpqXQFmhJ6QIAusiOSkPoeKdG96ctN+rPitSJDgYfCU0pPtL43ImB74JQa6hbPWjtcShSNoxQpqt6fIzdfU+uG48ys+7Sx2Gy1TZzxmuHD5VMq8dUOHShoe6xlwcSa7ZT00fkRnKGjbktpU1BPX8BBYhnpXotc51do5H3 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB2718.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(396003)(376002)(346002)(366004)(136003)(39850400004)(66946007)(4326008)(5660300002)(2616005)(66476007)(316002)(956004)(478600001)(6666004)(54906003)(52116002)(2906002)(66556008)(1076003)(36756003)(8676002)(86362001)(6486002)(8936002)(7696005)(66574015)(83380400001)(26005)(107886003)(16526019)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: GZk2FmOEjXdi5d5qRPjuuCTrOd69f3ytJxR+0Y9S/W7cpPN92kSZ6kQxuVlMIl60BHnNdxaX/wzezUt/94r6ktquwUPbq156fkbpS9IVwmaVy3l/Vv6cc+JJp37iJAlHkH9EcTWLnSeJzZfKeBZya/RCoVXyCyOR8MoPOb2W/VwIyFudmo59ld2a82OeLzE60D1V3uSh5GIkkehkGtRtd1Tf2GSM0E39lp5JyvSjBR7G1Fi245F3sX0ZUQI+kWs58dlgWvquo1Jq8X83tOi4PeCJE6vgimWLcdlzDffcLEpeRumdnf+LqWI7EMeDJ/FiprNOMCZSnYm5n43RN1z9imyC1JUat5QHn0FTCtUPDcIXiATwk0J0Gr/oeJb9kL7+1rbm3GuiDcJovIc4+PGBVdjwcS3uvfvQRf/JGR4RDPNqB3t+kNcU/SCBgaAaaR0PTtPfkotkdGiwieqguCwdLwlCtEQIjMYp/5Q4pRwF1Qail2vKlo2+hMKJ6k/WsBGJzj1ocX0Vd2p2OMCGqyPFvkt15cZsTFNpHdKyLwYPvftV8EMOdMREjYKe7LsncMfkj85zQTU3KvINFaLrwCMFQi5RI1gOiZGIdpgryMAJT4en2H3/RBX9bmSwmpyp/sqzV8U4CmjLlIM1rLuY5AU5iA== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: f8a4d3a3-f51c-4395-6db3-08d85316f820 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2020 10:15:39.2414 (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: uBOeXiRju5ljNS6i/Z6rz4YAjelYBLM8aaLNAsOPQ6eq5ixoe78WOc9LEjXb1EhfMexcnhNdorsIDR5l5Xnv4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2606 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller Hello folks, This PR fixes most of the items of the TODO list associated to the wfx driver. Normally, my next PR will ask to move the wfx driver out of the staging area. Jérôme Pouiller (31): staging: wfx: improve readability of association processing staging: wfx: relocate wfx_join() beside wfx_join_finalize() staging: wfx: simplify hif_set_association_mode() staging: wfx: keep API error list up-to-date staging: wfx: drop 'secure link' feature staging: wfx: drop multicast filtering staging: wfx: drop useless function staging: wfx: drop useless enum hif_beacon staging: wfx: drop useless union hif_commands_ids staging: wfx: drop useless struct hif_reset_flags staging: wfx: drop useless struct hif_ie_flags staging: wfx: drop useless struct hif_join_flags staging: wfx: drop useless struct hif_bss_flags staging: wfx: drop useless struct hif_map_link_flags staging: wfx: drop useless struct hif_suspend_resume_flags staging: wfx: drop useless struct hif_pm_mode staging: wfx: drop useless struct hif_rx_flags staging: wfx: drop useless struct hif_tx_result_flags staging: wfx: drop useless structs only used in hif_req_tx staging: wfx: drop useless stricts only used in hif_req_start_scan_alt staging: wfx: drop useless structs only used in hif_ind_startup staging: wfx: drop useless union hif_privacy_key_data staging: wfx: drop useless union hif_event_data staging: wfx: drop useless union hif_indication_data staging: wfx: drop struct hif_ie_tlv staging: wfx: drop macro API_SSID_SIZE staging: wfx: fix naming of hif_tx_rate_retry_policy staging: wfx: fix spaces staging: wfx: uniformize naming rules in hif_tx_mib.c staging: wfx: drop async field from struct hif_cmd staging: wfx: update TODO list drivers/staging/wfx/TODO | 19 -- drivers/staging/wfx/bh.c | 48 +---- drivers/staging/wfx/data_rx.c | 2 +- drivers/staging/wfx/data_tx.c | 42 ++--- drivers/staging/wfx/hif_api_cmd.h | 254 ++++++++------------------ drivers/staging/wfx/hif_api_general.h | 129 ++----------- drivers/staging/wfx/hif_api_mib.h | 48 +---- drivers/staging/wfx/hif_rx.c | 45 ++--- drivers/staging/wfx/hif_tx.c | 109 ++--------- drivers/staging/wfx/hif_tx.h | 7 - drivers/staging/wfx/hif_tx_mib.c | 122 +++---------- drivers/staging/wfx/hif_tx_mib.h | 11 +- drivers/staging/wfx/main.c | 17 +- drivers/staging/wfx/secure_link.h | 59 ------ drivers/staging/wfx/sta.c | 229 ++++++++++------------- drivers/staging/wfx/sta.h | 2 - drivers/staging/wfx/wfx.h | 5 - 17 files changed, 280 insertions(+), 868 deletions(-) delete mode 100644 drivers/staging/wfx/secure_link.h