lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 12 Feb 2022 17:17:27 +0100
From:   Martin Kaiser <martin@...ser.cx>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     Larry Finger <Larry.Finger@...inger.net>,
        Phillip Potter <phil@...lpotter.co.uk>,
        Michael Straube <straube.linux@...il.com>,
        linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Martin Kaiser <martin@...ser.cx>
Subject: [PATCH 00/10] remove rf register access for path b

This patch set removes rf register access to the registers of rf path b.

The r8188eu driver seems to use only rf path a. The private ioctls were
the only way to access rf path b registers. We limit these ioctls to rf
path a and we can then remove the code to read and write path b registers.

Martin Kaiser (10):
  staging: r8188eu: set path a explicitly
  staging: r8188eu: write only path a registers in rtw_dbg_port
  staging: r8188eu: remove path parameter from rtl8188e_PHY_SetRFReg
  staging: r8188eu: remove path parameter from phy_RFSerialWrite
  staging: r8188eu: clarify that bb_reg_dump uses only path a
  staging: r8188eu: limit rtw_wx_read_rf to path a
  staging: r8188eu: limit rtw_dbg_port to path a
  staging: r8188eu: remove path parameter from rtl8188e_PHY_QueryRFReg
  staging: r8188eu: remove path parameter from phy_RFSerialRead
  staging: r8188eu: we only need one struct bb_reg_def for path a

 drivers/staging/r8188eu/hal/HalPhyRf_8188e.c  | 34 ++++----
 drivers/staging/r8188eu/hal/odm.c             |  2 +-
 .../staging/r8188eu/hal/odm_RegConfig8188E.c  |  2 +-
 drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 85 ++++++-------------
 drivers/staging/r8188eu/hal/rtl8188e_rf6052.c |  6 +-
 drivers/staging/r8188eu/hal/usb_halinit.c     |  2 +-
 .../staging/r8188eu/include/Hal8188EPhyCfg.h  |  6 +-
 .../staging/r8188eu/include/rtl8188e_hal.h    |  2 +-
 drivers/staging/r8188eu/os_dep/ioctl_linux.c  | 27 ++++--
 9 files changed, 72 insertions(+), 94 deletions(-)

-- 
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ