Home
last modified time | relevance | path

Searched refs:ant_a_report (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/
H A Dphydm_antdect.c85 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
171 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
172 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
220 PHYDM_DBG(p_dm, DBG_ANT_DIV, ("psd_report_A[%d]= %d\n", 2416, ant_a_report)); in odm_single_dual_antenna_detection()
224 …if ((ant_a_report >= 100) && (ant_b_report >= 100) && (ant_a_report <= 135) && (ant_b_report <= 13… in odm_single_dual_antenna_detection()
227 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
231 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
232 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
243 p_dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_antdect.c103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
188 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
189 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
240 ant_a_report); in odm_single_dual_antenna_detection()
245 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
248 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
253 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
254 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
268 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_antdect.c102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
187 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
188 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
236 ant_a_report); in odm_single_dual_antenna_detection()
241 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
244 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
249 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
250 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
264 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_antdect.c103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
188 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
189 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
237 ant_a_report); in odm_single_dual_antenna_detection()
242 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
245 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
250 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
251 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
265 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_antdect.c102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
187 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
188 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
239 ant_a_report); in odm_single_dual_antenna_detection()
244 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
247 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
252 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
253 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
267 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_antdect.c103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
188 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
189 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
237 ant_a_report); in odm_single_dual_antenna_detection()
242 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
245 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
250 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
251 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
265 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_antdect.c102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
187 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
188 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
236 ant_a_report); in odm_single_dual_antenna_detection()
241 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
244 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
249 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
250 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
264 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_antdect.c103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
188 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
189 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
240 ant_a_report); in odm_single_dual_antenna_detection()
245 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
248 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
253 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
254 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
268 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_antdect.c102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
187 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
188 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
236 ant_a_report); in odm_single_dual_antenna_detection()
241 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
244 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
249 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
250 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
264 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_antdect.c103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
188 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
189 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
240 ant_a_report); in odm_single_dual_antenna_detection()
245 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
248 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
253 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
254 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
268 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_antdect.c102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
187 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
188 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
236 ant_a_report); in odm_single_dual_antenna_detection()
241 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
244 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
249 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
250 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
264 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_antdect.c102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
187 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
188 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
236 ant_a_report); in odm_single_dual_antenna_detection()
241 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
244 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
249 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
250 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
264 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_antdect.c102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local
187 if (PSD_report_tmp > ant_a_report) in odm_single_dual_antenna_detection()
188 ant_a_report = PSD_report_tmp; in odm_single_dual_antenna_detection()
236 ant_a_report); in odm_single_dual_antenna_detection()
241 if (ant_a_report >= 100 && ant_b_report >= 100 && ant_a_report <= 135 && ant_b_report <= 135) { in odm_single_dual_antenna_detection()
244 if ((ant_a_report - ant_b_report < TH1) || (ant_b_report - ant_a_report < TH1)) { in odm_single_dual_antenna_detection()
249 } else if (((ant_a_report - ant_b_report >= TH1) && (ant_a_report - ant_b_report <= TH2)) || in odm_single_dual_antenna_detection()
250 ((ant_b_report - ant_a_report >= TH1) && (ant_b_report - ant_a_report <= TH2))) { in odm_single_dual_antenna_detection()
264 dm->ant_detected_info.db_for_ant_a = ant_a_report; in odm_single_dual_antenna_detection()