Searched refs:digtable (Results 1 – 5 of 5) sorted by relevance
411 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92s_backoff_enable_flag() local414 if (falsealm_cnt->cnt_all > digtable->fa_highthresh) { in rtl92s_backoff_enable_flag()415 if ((digtable->back_val - 6) < in rtl92s_backoff_enable_flag()416 digtable->backoffval_range_min) in rtl92s_backoff_enable_flag()417 digtable->back_val = digtable->backoffval_range_min; in rtl92s_backoff_enable_flag()419 digtable->back_val -= 6; in rtl92s_backoff_enable_flag()420 } else if (falsealm_cnt->cnt_all < digtable->fa_lowthresh) { in rtl92s_backoff_enable_flag()421 if ((digtable->back_val + 6) > in rtl92s_backoff_enable_flag()422 digtable->backoffval_range_max) in rtl92s_backoff_enable_flag()423 digtable->back_val = in rtl92s_backoff_enable_flag()[all …]
1334 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92s_phy_set_fw_cmd() local1482 !digtable->dig_enable_flag) in rtl92s_phy_set_fw_cmd()1489 if ((digtable->dig_ext_port_stage == in rtl92s_phy_set_fw_cmd()1491 (digtable->dig_ext_port_stage == in rtl92s_phy_set_fw_cmd()
287 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_rssi() local292 digtable->large_fa_hit++; in rtl92c_dm_ctrl_initgain_by_rssi()293 if (digtable->forbidden_igi < digtable->cur_igvalue) { in rtl92c_dm_ctrl_initgain_by_rssi()294 digtable->forbidden_igi = digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_rssi()295 digtable->large_fa_hit = 1; in rtl92c_dm_ctrl_initgain_by_rssi()298 if (digtable->large_fa_hit >= 3) { in rtl92c_dm_ctrl_initgain_by_rssi()299 if ((digtable->forbidden_igi + 1) > in rtl92c_dm_ctrl_initgain_by_rssi()300 digtable->rx_gain_max) in rtl92c_dm_ctrl_initgain_by_rssi()301 digtable->rx_gain_min = digtable->rx_gain_max; in rtl92c_dm_ctrl_initgain_by_rssi()303 digtable->rx_gain_min = (digtable->forbidden_igi + 1); in rtl92c_dm_ctrl_initgain_by_rssi()[all …]
5896 struct rtw_dig *digtable = &odmpriv->DM_DigTable; in rtw_set_initial_gain() local5900 ODM_Write_DIG(odmpriv, digtable->BackupIGValue); in rtw_set_initial_gain()5902 digtable->BackupIGValue = digtable->CurIGValue; in rtw_set_initial_gain()
3201 struct rtw_dig *digtable = &odmpriv->DM_DigTable; in rtw_set_dynamic_functions() local3203 res = rtw_read8(adapter, 0xc50, &digtable->CurIGValue); in rtw_set_dynamic_functions()