Lines Matching refs:pwrinfo24g
2539 struct txpower_info_2g *pwrinfo24g, in _rtl8821ae_read_power_value_fromprom() argument
2559 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2560 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2564 pwrinfo24g->bw20_diff[rfpath][0] = 0x02; in _rtl8821ae_read_power_value_fromprom()
2565 pwrinfo24g->ofdm_diff[rfpath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2567 pwrinfo24g->bw20_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2568 pwrinfo24g->bw40_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2569 pwrinfo24g->cck_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2570 pwrinfo24g->ofdm_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2600 pwrinfo24g->index_cck_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2601 if (pwrinfo24g->index_cck_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2602 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2605 pwrinfo24g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2606 if (pwrinfo24g->index_bw40_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2607 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2611 pwrinfo24g->bw40_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2613 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2614 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2615 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2617 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2618 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2619 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2621 pwrinfo24g->cck_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2624 pwrinfo24g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2625 if (pwrinfo24g->bw40_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2626 pwrinfo24g->bw40_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2628 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2629 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2630 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2634 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2635 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2636 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2638 pwrinfo24g->cck_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2639 if (pwrinfo24g->cck_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2640 pwrinfo24g->cck_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2713 struct txpower_info_2g pwrinfo24g;
2718 _rtl8821ae_read_power_value_fromprom(hw, &pwrinfo24g,
2727 pwrinfo24g.index_cck_base[rf_path][5];
2729 pwrinfo24g.index_bw40_base[rf_path][index];
2732 pwrinfo24g.index_cck_base[rf_path][index];
2734 pwrinfo24g.index_bw40_base[rf_path][index];
2753 pwrinfo24g.cck_diff[rf_path][i];
2755 pwrinfo24g.ofdm_diff[rf_path][i];
2757 pwrinfo24g.bw20_diff[rf_path][i];
2759 pwrinfo24g.bw40_diff[rf_path][i];
2791 struct txpower_info_2g pwrinfo24g; in _rtl8821ae_read_txpower_info_from_hwpg() local
2796 _rtl8821ae_read_power_value_fromprom(hw, &pwrinfo24g, in _rtl8821ae_read_txpower_info_from_hwpg()
2805 pwrinfo24g.index_cck_base[rf_path][5]; in _rtl8821ae_read_txpower_info_from_hwpg()
2807 pwrinfo24g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2810 pwrinfo24g.index_cck_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2812 pwrinfo24g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2831 pwrinfo24g.cck_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2833 pwrinfo24g.ofdm_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2835 pwrinfo24g.bw20_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2837 pwrinfo24g.bw40_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()