Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp589642yba; Sat, 4 May 2019 08:32:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHLdK2rrYWftFthmbtCK9fjNbJu0ODs75E0TYYKsMnm43Yu6Ucq85S9TepC4Pro1egRb8o X-Received: by 2002:a63:3190:: with SMTP id x138mr7534533pgx.402.1556983945716; Sat, 04 May 2019 08:32:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556983945; cv=none; d=google.com; s=arc-20160816; b=u9V7sk173ma4RnAn2t04Y53OzkdbP6FYkST8lqkd2yScExPOwdOlghjcG3u2h1iBsH z13xRcFCkLSQSIrmRo6092bv6X9kXOgHq/fVvpqVX9/hGG5bdT23uvXbqfS5lj7woy5R olkqcpY88JG4x9K0vagTKzZxz6VUdC09kxNv0n+rF/sooixkcFKochz10yGg5d3jXAST R7a90gFUMexxpA5XCLhA3aLSbs2TVlg+4eIPd9/5DerNy8MSoqOVpsIdG6oJYGqMOR6R +X6jEap1reRuXO0btj4S2NAZaR+7oWR/wzzFc5DcZZdrTXOSbXqI0DgCQ6FYsZIeWCMB ORmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UUi2A89+D4jK3pxl9900/7UAFVGetvumNdtEDBH8LmM=; b=x9OnK/hpDTjEnvLG8JFMbsz/RKvKBSK226a4ZZ4u28XYdfohe2h8MnzsQUBb7TJ2vq KGeQ4qmaQUF41JVXOz6PohFTxGGT/nTbmcVbpLw4PrPTinVFmv4nQSHuI2Xc8bYiutKp HQ1S0l2Ll8YO5s0Dkta0XKvKriQpNtZRaL5ERMksORSI+4FWOm3PQRz1s3uVrA71jcNF Tu9RX8hvVjFtybs00MxKiL+LOolVlxGfudEw4/9cSvk2sjYSWZlLQfmvdJYB8E4oQ5ES y0aII0RS8Wjqo/ZKyJDEiD29ElDu+OUrlNud0XX06HSCQKStjyuiBbrL1MSCDXDV45aq YHbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bRa9oNJp; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2si7505372pgk.326.2019.05.04.08.32.11; Sat, 04 May 2019 08:32:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bRa9oNJp; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726445AbfEDP3X (ORCPT + 99 others); Sat, 4 May 2019 11:29:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:49312 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbfEDP3X (ORCPT ); Sat, 4 May 2019 11:29:23 -0400 Received: from lore-desk-wlan.lan (unknown [151.66.59.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 42EB620644; Sat, 4 May 2019 15:29:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556983762; bh=8UrpEQTy2iVjsoMcSg9OkGhUL4czwuxJIvchZ2ZGkrY=; h=From:To:Cc:Subject:Date:From; b=bRa9oNJp8zDAnmdfzB1SdVRYejwPu+SUOxNGp2CUWlP8r5zLXiU5LzoiXXNEBA5ZS RwXXWFURbL4E6KNze/JyhFHwqOjwZ44LBRhdt04zpgH9qK/w+thKV8aEmf1Nj9T3XQ NsHKBuTtWkmaia+glSGSqlD2HQIKo/IpMS7vQUmA= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, royluo@google.com Subject: [PATCH 00/17] use standard signature for mt7615 mcu api Date: Sat, 4 May 2019 17:28:52 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Introduce mt76_mcu_ops data structure in mt7615 mcu code in order to reuse the code with other bus types and unify the code with mt7603 driver Changes since RFC: - rebase ontop of https://patchwork.kernel.org/patch/10928753/ - fix net_type initialization in mt7615_mcu_set_bss_info Lorenzo Bianconi (17): mt7615: mcu: simplify __mt7615_mcu_set_wtbl mt7615: mcu: simplify __mt7615_mcu_set_sta_rec mt7615: mcu: remove bss_info_convert_vif_type routine mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl_bmc mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl mt7615: mcu: unify mt7615_mcu_add_wtbl_bmc and mt7615_mcu_del_wtbl_bmc mt7615: mcu: remove unused parameter in mt7615_mcu_del_wtbl mt7615: remove query from mt7615_mcu_msg_send signature mt7615: remove dest from mt7615_mcu_msg_send signature mt7615: mcu: remove skb_ret from mt7615_mcu_msg_send mt7615: mcu: unify __mt7615_mcu_set_dev_info and mt7615_mcu_set_dev_info mt7615: mcu: do not use function pointers whenever possible mt7615: mcu: remove unused structure in mcu.h mt7615: mcu: use standard signature for mt7615_mcu_msg_send mt7615: initialize mt76_mcu_ops data structure mt7615: mcu: init mcu_restart function pointer mt7615: mcu: run __mt76_mcu_send_msg in mt7615_mcu_send_firmware .../net/wireless/mediatek/mt76/mt7615/main.c | 17 +- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 1147 ++++++++--------- .../net/wireless/mediatek/mt76/mt7615/mcu.h | 49 +- .../wireless/mediatek/mt76/mt7615/mt7615.h | 11 +- 4 files changed, 556 insertions(+), 668 deletions(-) -- 2.20.1