Lines Matching refs:current_igi
599 void rtl8821ae_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi) in rtl8821ae_dm_write_dig() argument
607 if (dm_digtable->cur_igvalue != current_igi) { in rtl8821ae_dm_write_dig()
609 DM_BIT_IGI_11AC, current_igi); in rtl8821ae_dm_write_dig()
612 DM_BIT_IGI_11AC, current_igi); in rtl8821ae_dm_write_dig()
614 dm_digtable->cur_igvalue = current_igi; in rtl8821ae_dm_write_dig()
627 u8 current_igi = dm_digtable->cur_igvalue; in rtl8821ae_dm_dig() local
703 if (dm_digtable->forbidden_igi < current_igi) { in rtl8821ae_dm_dig()
704 dm_digtable->forbidden_igi = current_igi; in rtl8821ae_dm_dig()
760 current_igi = dm_digtable->rssi_val_min; in rtl8821ae_dm_dig()
762 current_igi = dig_max_of_min; in rtl8821ae_dm_dig()
767 current_igi = current_igi + 4; in rtl8821ae_dm_dig()
769 current_igi = current_igi + 2; in rtl8821ae_dm_dig()
771 current_igi = current_igi - 2; in rtl8821ae_dm_dig()
775 current_igi = dm_digtable->rx_gain_min; in rtl8821ae_dm_dig()
784 current_igi = dm_digtable->rx_gain_min; in rtl8821ae_dm_dig()
792 current_igi = current_igi + 4; in rtl8821ae_dm_dig()
794 current_igi = current_igi + 2; in rtl8821ae_dm_dig()
796 current_igi = current_igi - 2; in rtl8821ae_dm_dig()
798 if (current_igi >= 0x3e) in rtl8821ae_dm_dig()
799 current_igi = 0x3e; in rtl8821ae_dm_dig()
808 if (current_igi > dm_digtable->rx_gain_max) in rtl8821ae_dm_dig()
809 current_igi = dm_digtable->rx_gain_max; in rtl8821ae_dm_dig()
810 if (current_igi < dm_digtable->rx_gain_min) in rtl8821ae_dm_dig()
811 current_igi = dm_digtable->rx_gain_min; in rtl8821ae_dm_dig()
819 "CurIGValue=0x%x\n", current_igi); in rtl8821ae_dm_dig()
821 rtl8821ae_dm_write_dig(hw, current_igi); in rtl8821ae_dm_dig()