mbox series

[00/17] use standard signature for mt7615 mcu api

Message ID cover.1556981521.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series use standard signature for mt7615 mcu api | expand

Message

Lorenzo Bianconi May 4, 2019, 3:28 p.m. UTC
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(-)

Comments

Felix Fietkau May 11, 2019, 2 p.m. UTC | #1
On 2019-05-04 17:28, Lorenzo Bianconi wrote:
> 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
Applied (including updated patch 12/17), thanks.

- Felix