Lines Matching refs:rfpath
2590 u32 rfpath, eeaddr = EEPROM_TX_PWR_INX, group, txcount = 0; in _rtl8821ae_read_power_value_fromprom() local
2601 for (rfpath = 0 ; rfpath < MAX_RF_PATH ; rfpath++) { in _rtl8821ae_read_power_value_fromprom()
2604 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2605 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2609 pwrinfo24g->bw20_diff[rfpath][0] = 0x02; in _rtl8821ae_read_power_value_fromprom()
2610 pwrinfo24g->ofdm_diff[rfpath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2612 pwrinfo24g->bw20_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2613 pwrinfo24g->bw40_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2614 pwrinfo24g->cck_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2615 pwrinfo24g->ofdm_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2620 pwrinfo5g->index_bw40_base[rfpath][group] = 0x2A; in _rtl8821ae_read_power_value_fromprom()
2624 pwrinfo5g->ofdm_diff[rfpath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2625 pwrinfo5g->bw20_diff[rfpath][0] = 0x00; in _rtl8821ae_read_power_value_fromprom()
2626 pwrinfo5g->bw80_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2627 pwrinfo5g->bw160_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2629 pwrinfo5g->ofdm_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2630 pwrinfo5g->bw20_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2631 pwrinfo5g->bw40_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2632 pwrinfo5g->bw80_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2633 pwrinfo5g->bw160_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2642 for (rfpath = 0 ; rfpath < MAX_RF_PATH ; rfpath++) { in _rtl8821ae_read_power_value_fromprom()
2645 pwrinfo24g->index_cck_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2646 if (pwrinfo24g->index_cck_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2647 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2650 pwrinfo24g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2651 if (pwrinfo24g->index_bw40_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2652 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2656 pwrinfo24g->bw40_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2658 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2659 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2660 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2662 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2663 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2664 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2666 pwrinfo24g->cck_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2669 pwrinfo24g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2670 if (pwrinfo24g->bw40_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2671 pwrinfo24g->bw40_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2673 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2674 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2675 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2679 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2680 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2681 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2683 pwrinfo24g->cck_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2684 if (pwrinfo24g->cck_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2685 pwrinfo24g->cck_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2693 pwrinfo5g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2694 if (pwrinfo5g->index_bw40_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2695 pwrinfo5g->index_bw40_base[rfpath][group] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2700 pwrinfo5g->bw40_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2702 pwrinfo5g->bw20_diff[rfpath][0] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2703 if (pwrinfo5g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2704 pwrinfo5g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2706 pwrinfo5g->ofdm_diff[rfpath][0] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2707 if (pwrinfo5g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2708 pwrinfo5g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2712 pwrinfo5g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2713 if (pwrinfo5g->bw40_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2714 pwrinfo5g->bw40_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2716 pwrinfo5g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2717 if (pwrinfo5g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2718 pwrinfo5g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2724 pwrinfo5g->ofdm_diff[rfpath][1] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2725 pwrinfo5g->ofdm_diff[rfpath][2] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2729 pwrinfo5g->ofdm_diff[rfpath][3] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2734 if (pwrinfo5g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2735 pwrinfo5g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2738 pwrinfo5g->bw80_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2740 if (pwrinfo5g->bw80_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2741 pwrinfo5g->bw80_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2743 pwrinfo5g->bw160_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2744 if (pwrinfo5g->bw160_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2745 pwrinfo5g->bw160_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()