Search Linux Wireless

RE: [PATCH 17/20] wifi: rtw88: Add rtw8821a_table.{c,h}

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

 



Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote:
> These contain various arrays for initialising RTL8821AU. Also TX power
> limits.
> 
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx>
> ---
>  .../wireless/realtek/rtw88/rtw8821a_table.c   | 2350 +++++++++++++++++
>  .../wireless/realtek/rtw88/rtw8821a_table.h   |   21 +
>  2 files changed, 2371 insertions(+)
>  create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8821a_table.c
>  create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8821a_table.h
> 
> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821a_table.c
> b/drivers/net/wireless/realtek/rtw88/rtw8821a_table.c
> new file mode 100644
> index 000000000000..32ddd460e7bb
> --- /dev/null
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8821a_table.c
> @@ -0,0 +1,2350 @@
> +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
> +/* Copyright(c) 2018-2019  Realtek Corporation

year 2024

[...]

> +
> +const struct rtw_pwr_seq_cmd *card_enable_flow_8821a[] = {
> +       trans_carddis_to_cardemu_8821a,
> +       trans_cardemu_to_act_8821a,
> +       NULL
> +};
> +
> +const struct rtw_pwr_seq_cmd *enter_lps_flow_8821a[] = {
> +       trans_act_to_lps_8821a,
> +       NULL
> +};
> +
> +const struct rtw_pwr_seq_cmd *card_disable_flow_8821a[] = {
> +       trans_act_to_cardemu_8821a,
> +       trans_cardemu_to_carddis_8821a,
> +       NULL
> +};

The same as 8812A.

$ objdump  -t rtw8821a_table.o | grep "\.data"
0000000000000000 g     O .data  0000000000000018 card_disable_flow_8821a
0000000000000020 g     O .data  0000000000000010 enter_lps_flow_8821a
0000000000000030 g     O .data  0000000000000018 card_enable_flow_8821a

[...]

> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821a_table.h
> b/drivers/net/wireless/realtek/rtw88/rtw8821a_table.h
> new file mode 100644
> index 000000000000..070ffdbcd271
> --- /dev/null
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8821a_table.h
> @@ -0,0 +1,21 @@
> +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
> +/* Copyright(c) 2018-2019  Realtek Corporation

year 2024

> + */
> +
> +#ifndef __RTW8821A_TABLE_H__
> +#define __RTW8821A_TABLE_H__
> +
> +extern const struct rtw_table rtw8821a_mac_tbl;
> +extern const struct rtw_table rtw8821a_agc_tbl;
> +extern const struct rtw_table rtw8821a_bb_tbl;
> +extern const struct rtw_table rtw8821a_bb_pg_tbl;
> +extern const struct rtw_table rtw8821a_rf_a_tbl;
> +extern const struct rtw_table rtw8821a_txpwr_lmt_tbl;
> +
> +extern const struct rtw_pwr_seq_cmd *card_enable_flow_8821a[];
> +extern const struct rtw_pwr_seq_cmd *enter_lps_flow_8821a[];
> +extern const struct rtw_pwr_seq_cmd *card_disable_flow_8821a[];
> +
> +extern const struct rtw_pwr_track_tbl rtw8821a_rtw_pwr_track_tbl;
> +
> +#endif
> --
> 2.46.0





[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