| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/ |
| H A D | phydm_antdect.c | 85 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_b_report) in odm_single_dual_antenna_detection() 189 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 221 PHYDM_DBG(p_dm, DBG_ANT_DIV, ("psd_report_B[%d]= %d\n", 2416, ant_b_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() 244 p_dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/ |
| H A D | phydm_antdect.c | 103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 207 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 208 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 242 ant_b_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() 269 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/ |
| H A D | phydm_antdect.c | 102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 203 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 204 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 238 ant_b_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() 265 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/ |
| H A D | phydm_antdect.c | 103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 204 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 205 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 239 ant_b_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() 266 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/ |
| H A D | phydm_antdect.c | 102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 206 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 207 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 241 ant_b_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() 268 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/ |
| H A D | phydm_antdect.c | 103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 204 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 205 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 239 ant_b_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() 266 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/ |
| H A D | phydm_antdect.c | 102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 203 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 204 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 238 ant_b_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() 265 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/ |
| H A D | phydm_antdect.c | 103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 207 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 208 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 242 ant_b_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() 269 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/ |
| H A D | phydm_antdect.c | 102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 203 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 204 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 238 ant_b_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() 265 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/ |
| H A D | phydm_antdect.c | 103 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 207 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 208 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 242 ant_b_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() 269 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/ |
| H A D | phydm_antdect.c | 102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 203 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 204 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 238 ant_b_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() 265 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/ |
| H A D | phydm_antdect.c | 102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 203 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 204 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 238 ant_b_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() 265 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/ |
| H A D | phydm_antdect.c | 102 u32 ant_a_report = 0x0, ant_b_report = 0x0, ant_0_report = 0x0; in odm_single_dual_antenna_detection() local 203 if (PSD_report_tmp > ant_b_report) in odm_single_dual_antenna_detection() 204 ant_b_report = PSD_report_tmp; in odm_single_dual_antenna_detection() 238 ant_b_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() 265 dm->ant_detected_info.db_for_ant_b = ant_b_report; in odm_single_dual_antenna_detection()
|