wifi: rtw89: pci: concentrate control function of TX DMA channel

Different chips use different register and mask for
tx dma channels, so concentrate them.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220912071706.13619-4-pkshih@realtek.com
This commit is contained in:
Chin-Yen Lee 2022-09-12 15:17:06 +08:00 • committed by Kalle Valo
commit 5280e4813a
4 changed files with 39 additions and 14 deletions