Lines Matching refs:pwrinfo24g
2580 struct txpower_info_2g *pwrinfo24g, in _rtl8821ae_read_power_value_fromprom() argument
2600 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2601 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2605 pwrinfo24g->bw20_diff[rfpath][0] = 0x02; in _rtl8821ae_read_power_value_fromprom()
2606 pwrinfo24g->ofdm_diff[rfpath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2608 pwrinfo24g->bw20_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2609 pwrinfo24g->bw40_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2610 pwrinfo24g->cck_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2611 pwrinfo24g->ofdm_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2641 pwrinfo24g->index_cck_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2642 if (pwrinfo24g->index_cck_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2643 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2646 pwrinfo24g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2647 if (pwrinfo24g->index_bw40_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2648 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2652 pwrinfo24g->bw40_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2654 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2655 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2656 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2658 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2659 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2660 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2662 pwrinfo24g->cck_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2665 pwrinfo24g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2666 if (pwrinfo24g->bw40_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2667 pwrinfo24g->bw40_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2669 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2670 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2671 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2675 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2676 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2677 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2679 pwrinfo24g->cck_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2680 if (pwrinfo24g->cck_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2681 pwrinfo24g->cck_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2754 struct txpower_info_2g pwrinfo24g;
2759 _rtl8821ae_read_power_value_fromprom(hw, &pwrinfo24g,
2768 pwrinfo24g.index_cck_base[rf_path][5];
2770 pwrinfo24g.index_bw40_base[rf_path][index];
2773 pwrinfo24g.index_cck_base[rf_path][index];
2775 pwrinfo24g.index_bw40_base[rf_path][index];
2794 pwrinfo24g.cck_diff[rf_path][i];
2796 pwrinfo24g.ofdm_diff[rf_path][i];
2798 pwrinfo24g.bw20_diff[rf_path][i];
2800 pwrinfo24g.bw40_diff[rf_path][i];
2832 struct txpower_info_2g pwrinfo24g; in _rtl8821ae_read_txpower_info_from_hwpg() local
2837 _rtl8821ae_read_power_value_fromprom(hw, &pwrinfo24g, in _rtl8821ae_read_txpower_info_from_hwpg()
2846 pwrinfo24g.index_cck_base[rf_path][5]; in _rtl8821ae_read_txpower_info_from_hwpg()
2848 pwrinfo24g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2851 pwrinfo24g.index_cck_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2853 pwrinfo24g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2872 pwrinfo24g.cck_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2874 pwrinfo24g.ofdm_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2876 pwrinfo24g.bw20_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2878 pwrinfo24g.bw40_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()