Lines Matching refs:rfPath

2609 	u32 rfPath, eeAddr = EEPROM_TX_PWR_INX, group, TxCount = 0;  in _rtl8821ae_read_power_value_fromprom()  local
2620 for (rfPath = 0 ; rfPath < MAX_RF_PATH ; rfPath++) { in _rtl8821ae_read_power_value_fromprom()
2623 pwrinfo24g->index_cck_base[rfPath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2624 pwrinfo24g->index_bw40_base[rfPath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2628 pwrinfo24g->bw20_diff[rfPath][0] = 0x02; in _rtl8821ae_read_power_value_fromprom()
2629 pwrinfo24g->ofdm_diff[rfPath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2631 pwrinfo24g->bw20_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2632 pwrinfo24g->bw40_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2633 pwrinfo24g->cck_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2634 pwrinfo24g->ofdm_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2639 pwrinfo5g->index_bw40_base[rfPath][group] = 0x2A; in _rtl8821ae_read_power_value_fromprom()
2643 pwrinfo5g->ofdm_diff[rfPath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2644 pwrinfo5g->bw20_diff[rfPath][0] = 0x00; in _rtl8821ae_read_power_value_fromprom()
2645 pwrinfo5g->bw80_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2646 pwrinfo5g->bw160_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2648 pwrinfo5g->ofdm_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2649 pwrinfo5g->bw20_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2650 pwrinfo5g->bw40_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2651 pwrinfo5g->bw80_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2652 pwrinfo5g->bw160_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2661 for (rfPath = 0 ; rfPath < MAX_RF_PATH ; rfPath++) { in _rtl8821ae_read_power_value_fromprom()
2664 pwrinfo24g->index_cck_base[rfPath][group] = hwinfo[eeAddr++]; in _rtl8821ae_read_power_value_fromprom()
2665 if (pwrinfo24g->index_cck_base[rfPath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2666 pwrinfo24g->index_cck_base[rfPath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2669 pwrinfo24g->index_bw40_base[rfPath][group] = hwinfo[eeAddr++]; in _rtl8821ae_read_power_value_fromprom()
2670 if (pwrinfo24g->index_bw40_base[rfPath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2671 pwrinfo24g->index_bw40_base[rfPath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom()
2675 pwrinfo24g->bw40_diff[rfPath][TxCount] = 0; in _rtl8821ae_read_power_value_fromprom()
2677 pwrinfo24g->bw20_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2678 if (pwrinfo24g->bw20_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2679 pwrinfo24g->bw20_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2681 pwrinfo24g->ofdm_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2682 if (pwrinfo24g->ofdm_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2683 pwrinfo24g->ofdm_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2685 pwrinfo24g->cck_diff[rfPath][TxCount] = 0; in _rtl8821ae_read_power_value_fromprom()
2688 pwrinfo24g->bw40_diff[rfPath][TxCount] = (hwinfo[eeAddr]&0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2689 if (pwrinfo24g->bw40_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2690 pwrinfo24g->bw40_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2692 pwrinfo24g->bw20_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2693 if (pwrinfo24g->bw20_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2694 pwrinfo24g->bw20_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2698 pwrinfo24g->ofdm_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2699 if (pwrinfo24g->ofdm_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2700 pwrinfo24g->ofdm_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2702 pwrinfo24g->cck_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2703 if (pwrinfo24g->cck_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2704 pwrinfo24g->cck_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2712 pwrinfo5g->index_bw40_base[rfPath][group] = hwinfo[eeAddr++]; in _rtl8821ae_read_power_value_fromprom()
2713 if (pwrinfo5g->index_bw40_base[rfPath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2714 pwrinfo5g->index_bw40_base[rfPath][group] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2719 pwrinfo5g->bw40_diff[rfPath][TxCount] = 0; in _rtl8821ae_read_power_value_fromprom()
2721 pwrinfo5g->bw20_diff[rfPath][0] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2722 if (pwrinfo5g->bw20_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2723 pwrinfo5g->bw20_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2725 pwrinfo5g->ofdm_diff[rfPath][0] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2726 if (pwrinfo5g->ofdm_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2727 pwrinfo5g->ofdm_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2731 pwrinfo5g->bw40_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2732 if (pwrinfo5g->bw40_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2733 pwrinfo5g->bw40_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2735 pwrinfo5g->bw20_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2736 if (pwrinfo5g->bw20_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2737 pwrinfo5g->bw20_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2743 pwrinfo5g->ofdm_diff[rfPath][1] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2744 pwrinfo5g->ofdm_diff[rfPath][2] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2748 pwrinfo5g->ofdm_diff[rfPath][3] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2753 if (pwrinfo5g->ofdm_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2754 pwrinfo5g->ofdm_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2757 pwrinfo5g->bw80_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2759 if (pwrinfo5g->bw80_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2760 pwrinfo5g->bw80_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2762 pwrinfo5g->bw160_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2763 if (pwrinfo5g->bw160_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2764 pwrinfo5g->bw160_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()