linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] wifi: rtw89: use struct to access register-based H2C/C2H and RX related info
@ 2023-05-22 12:25 Ping-Ke Shih
  2023-05-22 12:25 ` [PATCH 1/5] wifi: rtw89: add chip_ops::query_rxdesc() and rxd_len as helpers to support newer chips Ping-Ke Shih
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Ping-Ke Shih @ 2023-05-22 12:25 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless

Originally, access these fields by macros that needs casting and add
an offset, so it could hide some mistakes. Refine these macros by
accessing fields via struct.

Ping-Ke Shih (5):
  wifi: rtw89: add chip_ops::query_rxdesc() and rxd_len as helpers to
    support newer chips
  wifi: rtw89: use struct and le32_get_bits to access RX info
  wifi: rtw89: use struct and le32_get_bits() to access received PHY
    status IEs
  wifi: rtw89: use struct and le32_get_bits() to access RX descriptor
  wifi: rtw89: use struct to access register-based H2C/C2H

 drivers/net/wireless/realtek/rtw89/core.c     | 114 +++++++------
 drivers/net/wireless/realtek/rtw89/core.h     |  16 +-
 drivers/net/wireless/realtek/rtw89/fw.c       |  18 +-
 drivers/net/wireless/realtek/rtw89/fw.h       | 102 ++++++------
 drivers/net/wireless/realtek/rtw89/mac.c      |  23 +--
 drivers/net/wireless/realtek/rtw89/pci.c      |  12 +-
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |   1 +
 drivers/net/wireless/realtek/rtw89/txrx.h     | 157 +++++-------------
 11 files changed, 210 insertions(+), 236 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-26 11:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-22 12:25 [PATCH 0/5] wifi: rtw89: use struct to access register-based H2C/C2H and RX related info Ping-Ke Shih
2023-05-22 12:25 ` [PATCH 1/5] wifi: rtw89: add chip_ops::query_rxdesc() and rxd_len as helpers to support newer chips Ping-Ke Shih
2023-05-25 16:13   ` Kalle Valo
2023-05-22 12:25 ` [PATCH 2/5] wifi: rtw89: use struct and le32_get_bits to access RX info Ping-Ke Shih
2023-05-22 12:25 ` [PATCH 3/5] wifi: rtw89: use struct and le32_get_bits() to access received PHY status IEs Ping-Ke Shih
2023-05-22 12:25 ` [PATCH 4/5] wifi: rtw89: use struct and le32_get_bits() to access RX descriptor Ping-Ke Shih
2023-05-22 12:25 ` [PATCH 5/5] wifi: rtw89: use struct to access register-based H2C/C2H Ping-Ke Shih
2023-05-25 16:07   ` Kalle Valo
2023-05-26 11:46     ` Ping-Ke Shih
2023-05-26 11:49       ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).