/******************************************************************************
|
*
|
* Copyright(c) 2007 - 2020 Realtek Corporation.
|
*
|
* This program is free software; you can redistribute it and/or modify it
|
* under the terms of version 2 of the GNU General Public License as
|
* published by the Free Software Foundation.
|
*
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
* more details.
|
*
|
* The full GNU General Public License is included in this distribution in the
|
* file called LICENSE.
|
*
|
* Contact Information:
|
* wlanfae <wlanfae@realtek.com>
|
* Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
|
* Hsinchu 300, Taiwan.
|
*
|
* Larry Finger <Larry.Finger@lwfinger.net>
|
*
|
*****************************************************************************/
|
#ifndef __HALBB_RUA_TBL_L_ENDIAN_H__
|
#define __HALBB_RUA_TBL_L_ENDIAN_H__
|
|
#ifdef HALBB_RUA_SUPPORT
|
/*@--------------------------[Define] ---------------------------------------*/
|
/*[IO Reg]*/
|
|
/*@--------------------------[Enum]------------------------------------------*/
|
|
|
|
/*@--------------------------[Structure]-------------------------------------*/
|
|
struct halbb_rua_tbl_hdr_info {
|
u8 rw:1;
|
u8 idx:7;
|
|
u8 offset:5;
|
u8 len_l:3;
|
|
u8 len_m:7;
|
u8 type:1;
|
|
u8 tbl_class:6;
|
u8 band:2;
|
};
|
|
struct halbb_ru_rate_info {
|
u8 dcm:1;
|
u8 ss:3;
|
u8 mcs:4;
|
};
|
|
struct halbb_tf_ba_tbl_info {
|
u8 fix_ba:1;
|
u8 ru_psd_l:7;
|
|
u8 ru_psd_m:2;
|
u8 tf_rate_l:6;
|
|
u8 tf_rate_m:3;
|
u8 rf_gain_fix:1;
|
u8 rf_gain_idx_l:4;
|
|
u8 rf_gain_idx_m:6;
|
u8 tb_ppdu_bw:2;
|
|
struct halbb_ru_rate_info rate;
|
|
u8 gi_ltf:3;
|
u8 doppler:1;
|
u8 stbc:1;
|
u8 sta_coding:1;
|
u8 tb_t_pe_nom:2;
|
|
u8 pr20_bw_en:1;
|
u8 ma_type: 1;
|
u8 rsvd1: 6;
|
|
u8 rsvd2;
|
};
|
|
struct halbb_dlru_grptbl_info_ext {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
|
u8 tx_mode: 2;
|
u8 ppdu_bw: 3;
|
u8 rsvd0:3;
|
|
u8 fix_mode_flag: 1;
|
u8 txpwr_ofld_en: 1;
|
u8 pwrlim_dis: 1;
|
u8 rsvd1: 5;
|
|
u8 tx_pwr_l: 8;
|
|
u8 tx_pwr_m: 1;
|
u8 pwr_boost_fac: 5;
|
u8 rsvd2: 2;
|
|
u8 rsvd3[4];
|
struct halbb_tf_ba_tbl_info tf;
|
};
|
|
struct halbb_dlru_grptbl_info {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
|
u8 ppdu_bw:2;
|
u8 tx_pwr_l:6;
|
|
u8 tx_pwr_m:3;
|
u8 pwr_boost_fac:5;
|
|
u8 fix_mode_flag:1;
|
u8 txpwr_ofld_en:1;
|
u8 pwrlim_dis:1;
|
u8 rsvd1:5;
|
|
u8 rsvd2;
|
|
struct halbb_tf_ba_tbl_info tf;
|
};
|
|
struct halbb_ulru_grptbl_info_ext {
|
//DWORD 0
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
//DWORD 1
|
u8 tx_mode: 2;
|
u8 ppdu_bw: 3;
|
u8 rsvd0: 3;
|
|
u8 fix_mode_flag: 1;
|
u8 fix_tf_rate: 1;
|
u8 rf_gain_fix: 1;
|
u8 rsvd1: 5;
|
|
u8 rsvd2[2];
|
|
//DWORD 2
|
u8 grp_psd_max_l;
|
u8 grp_psd_max_m:1;
|
u8 grp_psd_min_l:7;
|
|
u8 grp_psd_min_m:2;
|
u8 tf_rate_l:6;
|
|
u8 tf_rate_m:3;
|
u8 rsvd3: 5;
|
|
//DWORD 3
|
u8 rf_gain_idx_l;
|
u8 rf_gain_idx_m:2;
|
u8 rsvd4:6;
|
|
u8 rsvd5[2];
|
};
|
|
struct halbb_ulru_grptbl_info {
|
//DWORD 0
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
//DWORD 1
|
u8 grp_psd_max_l;
|
|
u8 grp_psd_max_m:1;
|
u8 grp_psd_min_l:7;
|
|
u8 grp_psd_min_m:2;
|
u8 tf_rate_l:6;
|
|
u8 tf_rate_m:3;
|
u8 fix_tf_rate:1;
|
u8 rsvd2:4;
|
|
//DWORD 2
|
u8 ppdu_bw:2;
|
u8 rf_gain_fix:1;
|
u8 rf_gain_idx_l:5;
|
|
u8 rf_gain_idx_m:5;
|
u8 fix_mode_flag: 1;
|
u8 rsvd1: 2;
|
|
u8 rsvd3;
|
|
u8 rsvd4;
|
};
|
|
struct halbb_hecap {
|
u8 dev_cls: 1;
|
u8 ldpc: 1;
|
u8 gi_ltf_1x0p8: 1;
|
u8 gi_ltf_4x0p8: 1;
|
u8 ul_mu:1;
|
u8 prtl_ul_mu:1;
|
u8 prtl_dl_mu:1;
|
u8 pwr_bst_fac: 1;
|
|
u8 tx_1024_le242: 1;
|
u8 rx_1024_le242: 1;
|
u8 rsvd0: 6;
|
|
u8 rsvd1;
|
|
u8 rsvd2;
|
};
|
|
struct halbb_ehtcap {
|
u8 rx_242_20only: 1;
|
u8 gi_ltf_4x0p8: 1;
|
u8 tx1024_4096_le242: 1;
|
u8 rx1024_4096_le242: 1;
|
u8 prtl_ul_mu: 1;
|
u8 prtl_dl_mu: 1;
|
u8 pwr_bst_fac: 1;
|
u8 rsvd1: 1;
|
|
u8 rx1024_prtlbw_only: 1;
|
u8 rx4096_prtlbw_only: 1;
|
u8 rsvd2: 6;
|
|
u8 mcs15:4;
|
u8 mcs14_6g:1;
|
u8 rsvd3:3;
|
|
u8 rsvd4;
|
};
|
|
struct halbb_macid_info {
|
|
u8 macid_l;
|
u8 macid_m;
|
u8 rsvd0;
|
u8 rsvd1;
|
|
u8 sta_typ:3;
|
u8 is_mlo:1;
|
u8 band:2;
|
u8 rsvd2:2;
|
|
u8 ldpc:1;
|
u8 nss:3;
|
u8 bw:3;
|
u8 rsvd3:1;
|
|
u8 rsvd4;
|
u8 rsvd5;
|
|
struct halbb_hecap he;
|
struct halbb_ehtcap eht;
|
};
|
|
struct halbb_ru_sta_info {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
/* sta capability */
|
u8 gi_ltf_48spt:1;
|
u8 gi_ltf_18spt:1;
|
u8 rsvd0:6;
|
|
/* dl su */
|
u8 dlsu_info_en:1;
|
u8 dlsu_bw:2;
|
u8 dlsu_gi_ltf:3;
|
u8 dlsu_doppler_ctrl:2;
|
|
u8 dlsu_coding:1;
|
u8 dlsu_txbf:1;
|
u8 dlsu_stbc:1;
|
u8 dl_fwcqi_flag:1;
|
u8 dlru_ratetbl_ridx:4;
|
|
u8 csi_info_bitmap;
|
|
u8 dl_swgrp_bitmap[4];
|
|
u8 dlsu_dcm:1;
|
u8 rsvd1:6;
|
u8 dlsu_rate_l:1;
|
|
u8 dlsu_rate_m;
|
|
u8 dlsu_pwr:6;
|
u8 rsvd2:2;
|
|
u8 rsvd4;
|
/* ul su */
|
u8 ulsu_info_en:1;
|
u8 ulsu_bw:2;
|
u8 ulsu_gi_ltf:3;
|
u8 ulsu_doppler_ctrl:2;
|
|
u8 ulsu_dcm:1;
|
u8 ulsu_ss:3;
|
u8 ulsu_mcs:4;
|
|
u8 ul_fwcqi_flag:1;
|
u8 ulru_ratetbl_ridx:4;
|
u8 ulsu_stbc:1;
|
u8 ulsu_coding:1;
|
u8 ulsu_rssi_m_l:1;
|
|
u8 ulsu_rssi_m_m;
|
|
u8 ul_swgrp_bitmap[4];
|
/* tb info */
|
};
|
|
struct halbb_dl_fix_sta_info {
|
u8 mac_id;
|
u8 ru_pos[3];
|
|
u8 fix_rate:1;
|
u8 fix_coding:1;
|
u8 fix_txbf:1;
|
u8 fix_pwr_fac:1;
|
u8 rsvd0: 4;
|
|
struct halbb_ru_rate_info rate;
|
|
u8 txbf:1;
|
u8 coding:1;
|
u8 pwr_boost_fac:5;
|
u8 rsvd1: 1;
|
u8 rsvd2;
|
};
|
|
struct halbb_dl_fix_sta_info_8ru {
|
u8 mac_id;
|
u8 ru_position[7];
|
|
u8 fix_rate_flag:1;
|
u8 fix_coding_flag:1;
|
u8 fix_txbf_flag:1;
|
u8 fix_pwr_fac:1;
|
u8 rsvd0: 4;
|
|
struct halbb_ru_rate_info rate;
|
|
u8 txbf:1;
|
u8 coding:1;
|
u8 pwr_boost_factor:5;
|
u8 rsvd1: 1;
|
u8 rsvd2;
|
};
|
|
struct halbb_dl_ru_fix_tbl_info {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
u8 max_sta_num:3;
|
u8 min_sta_num:3;
|
u8 ru_swp_flg:1;
|
u8 rsvd0:1;
|
|
u8 doppler:1;
|
u8 stbc:1;
|
u8 gi_ltf:3;
|
u8 ma_type:1;
|
u8 fixru_flag:1;
|
u8 rupos_csht_flag:1;
|
|
u8 rsvd2;
|
u8 rsvd3;
|
struct halbb_dl_fix_sta_info sta[HALBB_AX4RU_STA_NUM];
|
|
};
|
|
struct halbb_dl_ru_fix_tbl_info_8ru {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
u8 max_sta_num:4;
|
u8 min_sta_num:4;
|
|
u8 doppler:1;
|
u8 stbc:1;
|
u8 gi_ltf:3;
|
u8 ma_type:1;
|
u8 fix_ru_flag:1;
|
u8 rupos_csht_flg:1;
|
|
u8 ru_swp_flg:1;
|
u8 rsvd0:7;
|
|
u8 rsvd1;
|
|
struct halbb_dl_fix_sta_info_8ru sta[HALBB_AX8RU_STA_NUM];
|
};
|
|
struct halbb_rupos_i {
|
u8 ru_pos:8;
|
u8 ps160:1;
|
u8 tgt_rssi:7;
|
};
|
|
struct halbb_rupos_fixtbl{
|
struct halbb_rupos_i aloc2ru[2];
|
struct halbb_rupos_i aloc3ru[3];
|
u16 rsvd0;
|
struct halbb_rupos_i aloc4ru[4];
|
struct halbb_rupos_i aloc5ru[5];
|
u16 rsvd1;
|
struct halbb_rupos_i aloc6ru[6];
|
struct halbb_rupos_i aloc7ru[7];
|
u16 rsvd2;
|
struct halbb_rupos_i aloc8ru[8];
|
struct halbb_rupos_i aloc9ru[9];
|
u16 rsvd3;
|
struct halbb_rupos_i aloc10ru[10];
|
struct halbb_rupos_i aloc11ru[11];
|
u16 rsvd4;
|
struct halbb_rupos_i aloc12ru[12];
|
struct halbb_rupos_i aloc13ru[13];
|
u16 rsvd5;
|
struct halbb_rupos_i aloc14ru[14];
|
struct halbb_rupos_i aloc15ru[15];
|
u16 rsvd6;
|
struct halbb_rupos_i aloc16ru[16];
|
};
|
|
struct halbb_dlfix_sta_i_ext {
|
u8 mac_id;
|
|
u8 fix_rate: 1;
|
u8 fix_coding: 1;
|
u8 fix_txbf: 1;
|
u8 fix_pwr_fac: 1;
|
u8 macid_unspecified:1;
|
u8 rsvd0: 3;
|
|
u8 txbf: 1;
|
u8 coding: 1;
|
u8 pwr_boost_fac: 5;
|
u8 rsvd1: 1;
|
|
struct halbb_ru_rate_info rate;
|
|
u32 rsvd2;
|
};
|
|
|
struct halbb_dlru_fixtbl_info_univrsl {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
u8 max_sta_num;
|
|
u8 min_sta_num;
|
|
u8 doppler: 1;
|
u8 stbc: 1;
|
u8 gi_ltf: 3;
|
u8 ma_type: 1;
|
u8 fixru_flag: 1;
|
u8 rupos_csht_flag: 1;
|
|
u8 ru_swp_flg: 1;
|
u8 rsvd0: 7;
|
|
u16 ch20_with_data;
|
u16 rsvd3;
|
struct halbb_dlfix_sta_i_ext sta[HALBB_MAX_RU_STA_NUM];
|
|
struct halbb_rupos_fixtbl rupos_tbl;
|
};
|
|
struct halbb_ul_fix_sta_info {
|
u8 mac_id;
|
u8 ru_pos[3];
|
u8 tgt_rssi[3];
|
u8 fix_tgt_rssi: 1;
|
u8 fix_rate: 1;
|
u8 fix_coding: 1;
|
u8 coding: 1;
|
u8 rsvd1: 4;
|
struct halbb_ru_rate_info rate;
|
};
|
|
struct halbb_ul_fix_sta_info_8ru {
|
u8 mac_id;
|
u8 ru_position[7];
|
u8 rsvd1;
|
u8 target_rssi[7];
|
u8 fix_target_rssi_flag: 1;
|
u8 fix_rate_flag: 1;
|
u8 fix_coding_flag: 1;
|
u8 coding: 1;
|
u8 rsvd2: 4;
|
struct halbb_ru_rate_info rate;
|
u8 rsvd3;
|
u8 rsvd4;
|
};
|
|
struct halbb_ul_ru_fix_tbl_info {
|
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
u8 max_sta_num:3;
|
u8 min_sta_num:3;
|
u8 doppler:1;
|
u8 ma_type:1;
|
u8 gi_ltf:3;
|
u8 stbc:1;
|
u8 fix_tb_t_pe_nom: 1;
|
u8 tb_t_pe_nom: 2;
|
u8 fixru_flag: 1;
|
|
struct halbb_ul_fix_sta_info sta[HALBB_AX4RU_STA_NUM];
|
|
};
|
|
|
struct halbb_ul_ru_fix_tbl_info_8ru {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
u8 max_sta_num:4;
|
u8 min_sta_num:4;
|
|
u8 gi_ltf:3;
|
u8 stbc:1;
|
u8 fix_tb_t_pe_nominal_flag:1;
|
u8 tb_t_pe_nominal:2;
|
u8 fix_ru_flag: 1;
|
|
u8 doppler:1;
|
u8 ma_type:1;
|
u8 rsvd1:6;
|
|
u8 rsvd2;
|
|
struct halbb_ul_fix_sta_info_8ru sta[HALBB_AX8RU_STA_NUM];
|
|
};
|
|
struct halbb_ulfix_sta_i_ext {
|
u8 mac_id;
|
|
u8 fix_tgt_rssi: 1;
|
u8 fix_rate: 1;
|
u8 fix_coding: 1;
|
u8 coding: 1;
|
u8 macid_unspecified: 1;
|
u8 rsvd2: 3;
|
|
u8 rsvd1;
|
|
struct halbb_ru_rate_info rate;
|
|
u8 rsvd3[4];
|
};
|
|
struct halbb_ulru_fixtbl_info_univrsl {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
|
u8 max_sta_num;
|
u8 min_sta_num;
|
|
u8 gi_ltf: 3;
|
u8 stbc: 1;
|
u8 fix_tb_t_pe_nom: 1;
|
u8 tb_t_pe_nom: 2;
|
u8 fixru_flag: 1;
|
|
u8 doppler: 1;
|
u8 ma_type: 1;
|
u8 rsvd1: 6;
|
|
u32 rsvd2;
|
|
struct halbb_ulfix_sta_i_ext sta[HALBB_MAX_RU_STA_NUM];
|
struct halbb_rupos_fixtbl rupos_tbl;
|
};
|
|
|
struct halbb_rua_tbl {
|
struct halbb_dlru_grptbl_info dl_ru_gp_tbl_i;
|
struct halbb_ulru_grptbl_info ul_ru_gp_tbl_i;
|
struct halbb_ru_sta_info ru_sta_i;
|
struct halbb_dl_ru_fix_tbl_info dl_ru_fix_tbl_i;
|
struct halbb_ul_ru_fix_tbl_info ul_ru_fix_tbl_i;
|
struct halbb_tf_ba_tbl_info tf_ba_tbl_i;
|
};
|
|
struct halbb_sw_grp_bitmap {
|
u8 macid;
|
|
u8 en_upd_dl_swgrp:1;
|
u8 en_upd_ul_swgrp:1;
|
u8 cmdend:1; // add for determine whether last user or not
|
u8 rsvd1:5;
|
|
u8 rsvd2;
|
u8 rsvd3;
|
|
u8 dl_sw_grp_bitmap[4];
|
u8 ul_sw_grp_bitmap[4];
|
};
|
|
struct halbb_sw_grp_set {
|
struct halbb_sw_grp_bitmap swgrp_bitmap[8];
|
};
|
|
struct dl_macid_cfg {
|
u8 macid;
|
|
u8 dl_su_rate_cfg:1;
|
u8 dl_su_rate_l:7;
|
|
u8 dl_su_rate_m:2;
|
u8 dl_su_bw:2;
|
u8 dl_su_pwr_cfg:1;
|
u8 dl_su_pwr_l:3;
|
|
u8 dl_su_pwr_m:3;
|
u8 rsvd0:5;
|
|
u8 gi_ltf_4x8_support:1;
|
u8 gi_ltf_1x8_support:1;
|
u8 rsvd1:6;
|
|
u8 dl_su_info_en:1;
|
u8 rsvd2:2;
|
u8 dl_su_gi_ltf:3;
|
u8 dl_su_doppler_ctrl:2;
|
|
u8 dl_su_coding:1;
|
u8 dl_su_txbf:1;
|
u8 dl_su_stbc:1;
|
u8 dl_su_dcm:1;
|
u8 rsvd3:4;
|
|
u8 rsvd4;
|
|
//HE cap
|
u8 he_cap_update_en : 1;
|
u8 gi_ltf_1x0p8_cap : 1;
|
u8 gi_ltf_4x0p8_cap : 1;
|
u8 tx_1024_le_242ru_cap : 1;
|
u8 rx_1024_le_242ru_cap : 1;
|
u8 ldpc_cap : 1;
|
u8 stbc_tx_leq_80_cap : 1;
|
u8 stbc_rx_leq_80_cap : 1;
|
|
u8 stbc_tx_ge_80_cap : 1;
|
u8 stbc_rx_ge_80_cap : 1;
|
u8 dcm_max_cst_tx_cap : 2;
|
u8 dcm_max_ru_cap : 2;
|
u8 nominal_pakt_padding_cap : 2;
|
|
u8 he_20m_in_40m_2p4g_band_cap : 1;
|
u8 he_20m_in_160m_cap : 1;
|
u8 he_80m_in_160m_cap : 1;
|
u8 rsvd5 : 5;
|
|
u8 rsvd6;
|
};
|
|
struct halbb_ul_macid_cfg {
|
|
u8 macid;
|
|
u8 endcmd: 1;
|
u8 rsvd0: 7;
|
|
u8 rsvd1;
|
u8 rsvd2;
|
|
u8 ul_su_info_en: 1;
|
u8 ul_su_bw: 2;
|
u8 ul_su_gi_ltf: 3;
|
u8 ul_su_doppler_ctrl: 2;
|
|
u8 ul_su_dcm: 1;
|
u8 ul_su_ss: 3;
|
u8 ul_su_mcs: 4;
|
|
u8 rsvd3: 5;
|
u8 ul_su_stbc: 1;
|
u8 ul_su_coding: 1;
|
u8 ul_su_rssi_m_l: 1;
|
|
u8 ul_su_rssi_m_m;
|
|
};
|
|
struct halbb_ul_macid_set {
|
struct halbb_ul_macid_cfg ul_macid_cfg[8];
|
};
|
|
|
struct halbb_ul_macid_cfg_ext {
|
u8 macid_l;
|
|
u8 macid_m;
|
|
u8 endcmd: 1;
|
u8 rsvd0: 7;
|
|
u8 rsvd1;
|
|
u8 ul_su_info_en: 1;
|
u8 ul_su_gi_ltf: 3;
|
u8 rsvd2: 2;
|
u8 ul_su_doppler_ctrl: 2;
|
|
u8 ul_su_dcm: 1;
|
u8 ul_su_ss: 3;
|
u8 ul_su_mcs: 4;
|
|
u8 ul_su_bw: 3;
|
u8 ul_su_stbc: 1;
|
u8 ul_su_coding: 1;
|
u8 rsvd3: 2;
|
u8 ul_su_rssi_m_l: 1;
|
|
u8 ul_su_rssi_m_m;
|
|
u8 fix_ru_pos: 1;
|
u8 fix_rate: 1;
|
u8 fix_dbw: 1;
|
u8 fix_giltf: 1;
|
u8 fix_tgt_rssi: 1;
|
u8 fix_coding: 1;
|
u8 rsvd4: 2;
|
|
u8 rsvd5;
|
|
u8 tx_mode_ul: 2;
|
u8 rsvd6: 2;
|
u8 rsvd7: 3;
|
u8 ps160: 1;
|
|
u8 ru_pos;
|
|
};
|
|
struct halbb_ul_macid_set_ext {
|
struct halbb_ul_macid_cfg_ext ul_macid_cfg[8];
|
};
|
|
struct halbb_ba_tbl_info {
|
struct halbb_rua_tbl_hdr_info tbl_hdr;
|
struct halbb_tf_ba_tbl_info tf_i;
|
};
|
|
struct csiinfo_cfg{
|
u8 macid;
|
u8 csi_info_bitmap;
|
|
u8 rsvd0;
|
u8 rsvd1;
|
};
|
|
struct halbb_cqi_info {
|
u8 macid;
|
|
u8 fw_cqi_flag: 1; /* UL or DL*/
|
u8 ru_rate_table_row_idx: 4; /* UL or DL*/
|
u8 ul_dl: 1; /*1'b0 means UL, 1'b1 means DL */
|
u8 endcmd: 1;
|
u8 rsvd0: 1;
|
|
u8 rsvd1;
|
u8 rsvd2;
|
|
s8 cqi_diff_table[19]; /* UL or DL*/
|
u8 rsvd3;
|
};
|
|
struct halbb_cqi_set{
|
struct halbb_cqi_info cqi_info[8];
|
};
|
|
struct halbb_rua_rawread_cfg{
|
u8 src_sel;
|
u8 id;
|
u8 ofst32;
|
u8 band;
|
};
|
|
|
struct halbb_rua_rawwrite_cfg{
|
u8 src_sel;
|
u8 id;
|
u8 ofst32;
|
u8 ofst8;
|
|
u8 w_val_0;
|
u8 w_val_1;
|
u8 w_val_2;
|
u8 w_val_3;
|
|
u8 band;
|
u8 rsvd[3];
|
};
|
|
|
struct halbb_bb_info_cfg {
|
//ch_bw info update
|
u8 chbw_upd_en:1;
|
u8 rsvd0:7;
|
u8 band_idx:4;
|
u8 band_type:4;
|
u8 pri_ch;
|
u8 central_ch;
|
|
u8 cbw;
|
u8 rsvd1[3];
|
|
//trx path info update
|
u8 trxpath_upd_en:1;
|
u8 rsvd2:7;
|
u8 txpath_num:4;
|
u8 rxpath_num:4;
|
u8 rsvd3[2];
|
|
//txsc info update
|
u8 txsc_upd_en:1;
|
u8 rsvd4:7;
|
u8 rsvd5[3];
|
|
u8 txsc_20;
|
u8 txsc_40;
|
u8 txsc_80;
|
u8 txsc_160;
|
|
//txsb info update
|
};
|
|
|
struct halbb_txpwr_tbl{
|
s8 byrate[32];
|
|
s8 lim_bw20_1t[8];
|
s8 lim_bw40_1t[4];
|
s8 lim_bw80_1t[2];
|
s8 lim_bw160_1t[1];
|
s8 rsvd0[1];
|
|
s8 lim_bw20_2t[8];
|
s8 lim_bw40_2t[4];
|
s8 lim_bw80_2t[2];
|
s8 lim_bw160_2t[1];
|
s8 rsvd1[1];
|
|
s8 lim_bw20_bf_1t[8];
|
s8 lim_bw40_bf_1t[4];
|
s8 lim_bw80_bf_1t[2];
|
s8 lim_bw160_bf_1t[1];
|
s8 rsvd2[1];
|
|
s8 lim_bw20_bf_2t[8];
|
s8 lim_bw40_bf_2t[4];
|
s8 lim_bw80_bf_2t[2];
|
s8 lim_bw160_bf_2t[1];
|
s8 rsvd3[1];
|
};
|
|
|
struct halbb_pwrtbl_notif{
|
u8 txpwrtbl_ofld_en:1;
|
u8 rsvd0:7;
|
u8 band_idx:4;
|
u8 rsvd1:4;
|
u8 rsvd2[2];
|
|
struct halbb_txpwr_tbl txpwr_tbl;
|
};
|
|
struct halbb_pwr_by_rt_tbl{
|
u8 pwr_by_rt[64];
|
};
|
|
struct halbb_ra_masking{
|
u8 macid_l;
|
u8 macid_m;
|
|
u8 ra_sel:4;
|
u8 rsvd1:4;
|
|
u8 op_sel:4;
|
u8 rsvd2:4;
|
|
u32 mask_1ss;
|
|
u32 mask_2ss;
|
|
u32 mask_3ss;
|
|
u32 mask_4ss;
|
};
|
/*@--------------------------[Prptotype]-------------------------------------*/
|
|
#endif /* HALBB_RUA_SUPPORT */
|
|
#endif
|