Search Linux Wireless

[PATCH 0/5] wifi: rtw89: use struct to access register-based H2C/C2H and RX related info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux