mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 09:26:23 +07:00
rtw88: 8723d: Add mac/bb/rf/agc/power_limit tables
Add corresponding parameter tables for 8723D devices. Since 8723D devices currently have only one RFE type, there is only one entry in rtw8723d_rfe_defs. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200420055054.14592-6-yhchuang@realtek.com
This commit is contained in:
parent
e0c27cdbbd
commit
9874f6851e
@ -431,6 +431,11 @@ static const struct rtw_rf_sipi_addr rtw8723d_rf_sipi_addr[] = {
|
||||
.hssi_2 = 0x82c, .lssi_read_pi = 0x8bc},
|
||||
};
|
||||
|
||||
static const struct rtw_rfe_def rtw8723d_rfe_defs[] = {
|
||||
[0] = { .phy_pg_tbl = &rtw8723d_bb_pg_tbl,
|
||||
.txpwr_lmt_tbl = &rtw8723d_txpwr_lmt_tbl,},
|
||||
};
|
||||
|
||||
struct rtw_chip_info rtw8723d_hw_spec = {
|
||||
.ops = &rtw8723d_ops,
|
||||
.id = RTW_CHIP_TYPE_8723D,
|
||||
@ -456,6 +461,12 @@ struct rtw_chip_info rtw8723d_hw_spec = {
|
||||
.rf_sipi_addr = {0x840, 0x844},
|
||||
.rf_sipi_read_addr = rtw8723d_rf_sipi_addr,
|
||||
.fix_rf_phy_num = 2,
|
||||
.mac_tbl = &rtw8723d_mac_tbl,
|
||||
.agc_tbl = &rtw8723d_agc_tbl,
|
||||
.bb_tbl = &rtw8723d_bb_tbl,
|
||||
.rf_tbl = {&rtw8723d_rf_a_tbl},
|
||||
.rfe_defs = rtw8723d_rfe_defs,
|
||||
.rfe_defs_size = ARRAY_SIZE(rtw8723d_rfe_defs),
|
||||
};
|
||||
EXPORT_SYMBOL(rtw8723d_hw_spec);
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5,4 +5,11 @@
|
||||
#ifndef __RTW8723D_TABLE_H__
|
||||
#define __RTW8723D_TABLE_H__
|
||||
|
||||
extern const struct rtw_table rtw8723d_mac_tbl;
|
||||
extern const struct rtw_table rtw8723d_agc_tbl;
|
||||
extern const struct rtw_table rtw8723d_bb_tbl;
|
||||
extern const struct rtw_table rtw8723d_bb_pg_tbl;
|
||||
extern const struct rtw_table rtw8723d_rf_a_tbl;
|
||||
extern const struct rtw_table rtw8723d_txpwr_lmt_tbl;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user