Lines Matching refs:falsealm_cnt
19 struct false_alarm_statistics *falsealm_cnt = &rtlpriv->falsealm_cnt; in rtl92ee_dm_false_alarm_counter_statistics() local
25 falsealm_cnt->cnt_fast_fsync_fail = (ret_value & 0xffff); in rtl92ee_dm_false_alarm_counter_statistics()
26 falsealm_cnt->cnt_sb_search_fail = ((ret_value & 0xffff0000) >> 16); in rtl92ee_dm_false_alarm_counter_statistics()
29 falsealm_cnt->cnt_ofdm_cca = (ret_value & 0xffff); in rtl92ee_dm_false_alarm_counter_statistics()
30 falsealm_cnt->cnt_parity_fail = ((ret_value & 0xffff0000) >> 16); in rtl92ee_dm_false_alarm_counter_statistics()
33 falsealm_cnt->cnt_rate_illegal = (ret_value & 0xffff); in rtl92ee_dm_false_alarm_counter_statistics()
34 falsealm_cnt->cnt_crc8_fail = ((ret_value & 0xffff0000) >> 16); in rtl92ee_dm_false_alarm_counter_statistics()
37 falsealm_cnt->cnt_mcs_fail = (ret_value & 0xffff); in rtl92ee_dm_false_alarm_counter_statistics()
39 falsealm_cnt->cnt_ofdm_fail = falsealm_cnt->cnt_parity_fail + in rtl92ee_dm_false_alarm_counter_statistics()
40 falsealm_cnt->cnt_rate_illegal + in rtl92ee_dm_false_alarm_counter_statistics()
41 falsealm_cnt->cnt_crc8_fail + in rtl92ee_dm_false_alarm_counter_statistics()
42 falsealm_cnt->cnt_mcs_fail + in rtl92ee_dm_false_alarm_counter_statistics()
43 falsealm_cnt->cnt_fast_fsync_fail + in rtl92ee_dm_false_alarm_counter_statistics()
44 falsealm_cnt->cnt_sb_search_fail; in rtl92ee_dm_false_alarm_counter_statistics()
47 falsealm_cnt->cnt_bw_lsc = (ret_value & 0xffff); in rtl92ee_dm_false_alarm_counter_statistics()
48 falsealm_cnt->cnt_bw_usc = ((ret_value & 0xffff0000) >> 16); in rtl92ee_dm_false_alarm_counter_statistics()
54 falsealm_cnt->cnt_cck_fail = ret_value; in rtl92ee_dm_false_alarm_counter_statistics()
57 falsealm_cnt->cnt_cck_fail += (ret_value & 0xff) << 8; in rtl92ee_dm_false_alarm_counter_statistics()
60 falsealm_cnt->cnt_cck_cca = ((ret_value & 0xff) << 8) | in rtl92ee_dm_false_alarm_counter_statistics()
63 falsealm_cnt->cnt_all = falsealm_cnt->cnt_fast_fsync_fail + in rtl92ee_dm_false_alarm_counter_statistics()
64 falsealm_cnt->cnt_sb_search_fail + in rtl92ee_dm_false_alarm_counter_statistics()
65 falsealm_cnt->cnt_parity_fail + in rtl92ee_dm_false_alarm_counter_statistics()
66 falsealm_cnt->cnt_rate_illegal + in rtl92ee_dm_false_alarm_counter_statistics()
67 falsealm_cnt->cnt_crc8_fail + in rtl92ee_dm_false_alarm_counter_statistics()
68 falsealm_cnt->cnt_mcs_fail + in rtl92ee_dm_false_alarm_counter_statistics()
69 falsealm_cnt->cnt_cck_fail; in rtl92ee_dm_false_alarm_counter_statistics()
71 falsealm_cnt->cnt_cca_all = falsealm_cnt->cnt_ofdm_cca + in rtl92ee_dm_false_alarm_counter_statistics()
72 falsealm_cnt->cnt_cck_cca; in rtl92ee_dm_false_alarm_counter_statistics()
91 falsealm_cnt->cnt_parity_fail, in rtl92ee_dm_false_alarm_counter_statistics()
92 falsealm_cnt->cnt_rate_illegal, in rtl92ee_dm_false_alarm_counter_statistics()
93 falsealm_cnt->cnt_crc8_fail, falsealm_cnt->cnt_mcs_fail); in rtl92ee_dm_false_alarm_counter_statistics()
97 falsealm_cnt->cnt_ofdm_fail, in rtl92ee_dm_false_alarm_counter_statistics()
98 falsealm_cnt->cnt_cck_fail, falsealm_cnt->cnt_all); in rtl92ee_dm_false_alarm_counter_statistics()
114 if (rtlpriv->falsealm_cnt.cnt_cck_fail > 1000) in rtl92ee_dm_cck_packet_detection_thresh()
120 if (rtlpriv->falsealm_cnt.cnt_cck_fail > 1000) in rtl92ee_dm_cck_packet_detection_thresh()
180 if (rtlpriv->falsealm_cnt.cnt_all > 10000) { in rtl92ee_dm_dig()
233 if (rtlpriv->falsealm_cnt.cnt_all > DM_DIG_FA_TH2) in rtl92ee_dm_dig()
235 else if (rtlpriv->falsealm_cnt.cnt_all > DM_DIG_FA_TH1) in rtl92ee_dm_dig()
237 else if (rtlpriv->falsealm_cnt.cnt_all < DM_DIG_FA_TH0) in rtl92ee_dm_dig()
241 rtlpriv->falsealm_cnt.cnt_all < DM_DIG_FA_TH1) in rtl92ee_dm_dig()
248 if (rtlpriv->falsealm_cnt.cnt_all > 10000) in rtl92ee_dm_dig()
250 else if (rtlpriv->falsealm_cnt.cnt_all > 8000) in rtl92ee_dm_dig()
252 else if (rtlpriv->falsealm_cnt.cnt_all < 500) in rtl92ee_dm_dig()
568 struct false_alarm_statistics *falsealm_cnt = &rtlpriv->falsealm_cnt; in rtl92ee_dm_dynamic_primary_cca_ckeck() local
576 ofdm_cca = falsealm_cnt->cnt_ofdm_cca; in rtl92ee_dm_dynamic_primary_cca_ckeck()
577 ofdm_fa = falsealm_cnt->cnt_ofdm_fail; in rtl92ee_dm_dynamic_primary_cca_ckeck()
578 bw_usc_cnt = falsealm_cnt->cnt_bw_usc; in rtl92ee_dm_dynamic_primary_cca_ckeck()
579 bw_lsc_cnt = falsealm_cnt->cnt_bw_lsc; in rtl92ee_dm_dynamic_primary_cca_ckeck()