mbox series

[0/9] unify tx power eeprom parsing for mt76x{0,2}

Message ID 20180922114537.24004-1-lorenzo.bianconi@redhat.com (mailing list archive)
Headers show
Series unify tx power eeprom parsing for mt76x{0,2} | expand

Message

Lorenzo Bianconi Sept. 22, 2018, 11:45 a.m. UTC
This is the second of two series that unify eeprom code between
mt76x2 and mt76x0 drivers. In particular this series unifies
tx power eeprom parsing. That patchset will be used to properly
support mt76x0e chipsets without duplicating the code.

Lorenzo Bianconi (9):
  mt76: move mt76_rate_power in mt76_dev
  mt76: add mt76x02_phy_set_txpower utility routine
  mt76: move rate_txpower handler in mt76 debugfs
  mt76: move mt76x02_rate_power_val in mt76x02-lib module
  mt76x0: remove mt76x0_phy_set_tx_power and mt76x0_extra_power_over_mac
  mt76x0: remove eeprom dependency from mt76x0_set_tx_power_per_rate
  mt76x0: remove eeprom dependency from mt76x0_get_power_info
  mt76x0: use shared debugfs implementation
  mt76x0: phy: introduce mt76x0_phy_set_txpower routine

 drivers/net/wireless/mediatek/mt76/Makefile   |   2 +-
 drivers/net/wireless/mediatek/mt76/debugfs.c  |  19 ++
 drivers/net/wireless/mediatek/mt76/mt76.h     |  30 ++-
 .../wireless/mediatek/mt76/mt76x0/debugfs.c   |  79 +-----
 .../wireless/mediatek/mt76/mt76x0/eeprom.c    | 253 ++++++++++--------
 .../wireless/mediatek/mt76/mt76x0/eeprom.h    |  43 +--
 .../net/wireless/mediatek/mt76/mt76x0/main.c  |   7 +
 .../wireless/mediatek/mt76/mt76x0/mt76x0.h    |   4 +-
 .../net/wireless/mediatek/mt76/mt76x0/phy.c   |  74 +----
 .../wireless/mediatek/mt76/mt76x02_eeprom.h   |  20 +-
 .../net/wireless/mediatek/mt76/mt76x02_phy.c  |  97 +++++++
 .../net/wireless/mediatek/mt76/mt76x02_phy.h  |  27 ++
 drivers/net/wireless/mediatek/mt76/mt76x2.h   |   3 -
 .../wireless/mediatek/mt76/mt76x2_debugfs.c   |  10 -
 .../wireless/mediatek/mt76/mt76x2_eeprom.c    |  77 ++----
 .../wireless/mediatek/mt76/mt76x2_eeprom.h    |   1 -
 .../mediatek/mt76/mt76x2_init_common.c        |   3 +-
 .../mediatek/mt76/mt76x2_mac_common.c         |   2 +-
 .../net/wireless/mediatek/mt76/mt76x2_main.c  |   8 +-
 .../mediatek/mt76/mt76x2_phy_common.c         |  64 +----
 .../wireless/mediatek/mt76/mt76x2_tx_common.c |  14 +-
 .../net/wireless/mediatek/mt76/mt76x2u_main.c |   4 +-
 22 files changed, 398 insertions(+), 443 deletions(-)
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h

Comments

Felix Fietkau Sept. 23, 2018, 3 p.m. UTC | #1
On 2018-09-22 13:45, Lorenzo Bianconi wrote:
> This is the second of two series that unify eeprom code between
> mt76x2 and mt76x0 drivers. In particular this series unifies
> tx power eeprom parsing. That patchset will be used to properly
> support mt76x0e chipsets without duplicating the code.
> 
> Lorenzo Bianconi (9):
>   mt76: move mt76_rate_power in mt76_dev
>   mt76: add mt76x02_phy_set_txpower utility routine
>   mt76: move rate_txpower handler in mt76 debugfs
>   mt76: move mt76x02_rate_power_val in mt76x02-lib module
>   mt76x0: remove mt76x0_phy_set_tx_power and mt76x0_extra_power_over_mac
>   mt76x0: remove eeprom dependency from mt76x0_set_tx_power_per_rate
>   mt76x0: remove eeprom dependency from mt76x0_get_power_info
>   mt76x0: use shared debugfs implementation
>   mt76x0: phy: introduce mt76x0_phy_set_txpower routine
Merged, thanks.

- Felix