mbox series

[00/13] add calibration logics for mt76x0e driver

Message ID cover.1539338611.git.lorenzo.bianconi@redhat.com (mailing list archive)
Headers show
Series add calibration logics for mt76x0e driver | expand

Message

Lorenzo Bianconi Oct. 12, 2018, 10:16 a.m. UTC
Introduce vga, temperature and phy calibration routines for
mt76x0e driver. Move phy shared code in mt76x02-lib module.
Moreover do not run calibration during channel switch

Changes since rfc:
- run vco calibration during freq scanning
- use mt76x0_phy as prefix for phy routines

Lorenzo Bianconi (13):
  mt76: move mt76x02_phy_set_bw in mt76x02-lib module
  mt76: move mt76x02_phy_set_band in mt76x02-lib module
  mt76x0: pci: rename mt76x0_phy_calibrate
  mt76x0: pci: introduce mt76x0_phy_calirate routine
  mt76x0: phy: update set_channel for mt76x0e devices
  mt76x0: eeprom: introduce mt76x0_tssi_enabled routine
  mt76x0: phy: add phy/vco temperature compensation
  mt76: move rssi_gain_thresh routines in mt76x02-lib module
  mt76: move mt76x02_phy_adjust_vga_gain in mt76/mt76x02_phy.c
  mt76: introduce mt76x02_init_agc_gain routine
  mt76x0: phy: align channel gain logic to mt76x2 one
  mt76x0: phy: do not run calibration during channel switch
  mt76x0: phy: use proper name convetion

 .../wireless/mediatek/mt76/mt76x0/eeprom.c    |   2 +-
 .../wireless/mediatek/mt76/mt76x0/eeprom.h    |   6 +
 .../net/wireless/mediatek/mt76/mt76x0/init.c  |   2 +-
 .../net/wireless/mediatek/mt76/mt76x0/main.c  |  22 +-
 .../net/wireless/mediatek/mt76/mt76x0/mcu.h   |   3 +
 .../wireless/mediatek/mt76/mt76x0/mt76x0.h    |   5 +-
 .../net/wireless/mediatek/mt76/mt76x0/pci.c   |   1 +
 .../net/wireless/mediatek/mt76/mt76x0/phy.c   | 449 ++++++++++--------
 drivers/net/wireless/mediatek/mt76/mt76x02.h  |   5 +-
 .../wireless/mediatek/mt76/mt76x02_eeprom.h   |  21 -
 .../net/wireless/mediatek/mt76/mt76x02_phy.c  |  78 +++
 .../net/wireless/mediatek/mt76/mt76x02_phy.h  |  31 ++
 .../wireless/mediatek/mt76/mt76x2/eeprom.c    |   4 +-
 .../wireless/mediatek/mt76/mt76x2/eeprom.h    |  21 +
 .../wireless/mediatek/mt76/mt76x2/mt76x2.h    |   2 -
 .../wireless/mediatek/mt76/mt76x2/pci_phy.c   |  72 +--
 .../net/wireless/mediatek/mt76/mt76x2/phy.c   |  44 --
 .../wireless/mediatek/mt76/mt76x2/usb_phy.c   |   6 +-
 18 files changed, 415 insertions(+), 359 deletions(-)

Comments

Felix Fietkau Oct. 12, 2018, 8:32 p.m. UTC | #1
On 2018-10-12 12:16, Lorenzo Bianconi wrote:
> Introduce vga, temperature and phy calibration routines for
> mt76x0e driver. Move phy shared code in mt76x02-lib module.
> Moreover do not run calibration during channel switch
> 
> Changes since rfc:
> - run vco calibration during freq scanning
> - use mt76x0_phy as prefix for phy routines
> 
> Lorenzo Bianconi (13):
>   mt76: move mt76x02_phy_set_bw in mt76x02-lib module
>   mt76: move mt76x02_phy_set_band in mt76x02-lib module
>   mt76x0: pci: rename mt76x0_phy_calibrate
>   mt76x0: pci: introduce mt76x0_phy_calirate routine
>   mt76x0: phy: update set_channel for mt76x0e devices
>   mt76x0: eeprom: introduce mt76x0_tssi_enabled routine
>   mt76x0: phy: add phy/vco temperature compensation
>   mt76: move rssi_gain_thresh routines in mt76x02-lib module
>   mt76: move mt76x02_phy_adjust_vga_gain in mt76/mt76x02_phy.c
>   mt76: introduce mt76x02_init_agc_gain routine
>   mt76x0: phy: align channel gain logic to mt76x2 one
>   mt76x0: phy: do not run calibration during channel switch
>   mt76x0: phy: use proper name convetion
Merged the series except for the last patch. I will send out the new
pull request tomorrow

Thanks,

- Felix