mbox series

[0/4] mt76: mcu api clenups

Message ID 1540555229-28582-1-git-send-email-sgruszka@redhat.com (mailing list archive)
Headers show
Series mt76: mcu api clenups | expand

Message

Stanislaw Gruszka Oct. 26, 2018, noon UTC
Simplify mcu api and wait for response for mcu commands the same
as vendor driver.

This is on top of:
[PATCH] mt76x0: use band parameter for LC calibration

Stanislaw Gruszka (4):
  mt76: remove mcu_msg_alloc
  mt76: remove wait argument from mt76x02_mcu_calibrate
  mt76: remove wait argument from mt76x02_mcu_function_select
  mt76: remove wait argument from mt76x02_mcu_set_radio_state

 drivers/net/wireless/mediatek/mt76/mt76.h          |  6 +--
 drivers/net/wireless/mediatek/mt76/mt76x0/init.c   |  2 +-
 .../net/wireless/mediatek/mt76/mt76x0/pci_mcu.c    |  1 -
 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c    | 16 ++++----
 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c   | 43 ++++++++++------------
 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h   | 16 +++-----
 .../net/wireless/mediatek/mt76/mt76x02_usb_mcu.c   | 18 +++++----
 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c    | 22 ++++-------
 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h |  2 +-
 .../net/wireless/mediatek/mt76/mt76x2/pci_init.c   |  2 +-
 .../net/wireless/mediatek/mt76/mt76x2/pci_mcu.c    |  3 +-
 .../net/wireless/mediatek/mt76/mt76x2/pci_phy.c    | 24 ++++++------
 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c    |  4 +-
 .../net/wireless/mediatek/mt76/mt76x2/usb_init.c   |  2 +-
 .../net/wireless/mediatek/mt76/mt76x2/usb_mcu.c    |  4 +-
 .../net/wireless/mediatek/mt76/mt76x2/usb_phy.c    | 20 +++++-----
 16 files changed, 85 insertions(+), 100 deletions(-)

Comments

Felix Fietkau Nov. 5, 2018, 4:57 p.m. UTC | #1
On 2018-10-26 14:00, Stanislaw Gruszka wrote:
> Simplify mcu api and wait for response for mcu commands the same
> as vendor driver.
> 
> This is on top of:
> [PATCH] mt76x0: use band parameter for LC calibration
> 
> Stanislaw Gruszka (4):
>   mt76: remove mcu_msg_alloc
>   mt76: remove wait argument from mt76x02_mcu_calibrate
>   mt76: remove wait argument from mt76x02_mcu_function_select
>   mt76: remove wait argument from mt76x02_mcu_set_radio_state
Applied patches 1,3,4.

Thanks,

- Felix