Home
last modified time | relevance | path

Searched refs:TH1 (Results 1 – 25 of 34) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/phydm/
H A Dphydm_rxhp.c180 s4Byte TH1= RSSI_BT+0x14; in GoodChannelDecision() local
193 TH1 = RSSI_BT + 0x14; in GoodChannelDecision()
211 TH1 = 113; in GoodChannelDecision()
213 TH1 = 105; //0x69 in GoodChannelDecision()
215 TH1 = 99+(RSSI_BT-33); //0x63 in GoodChannelDecision()
217 TH1 = 99-(33-RSSI_BT)+2; //0x5e in GoodChannelDecision()
219 TH1 = 88-((RSSI_BT-24)*3); //0x58 in GoodChannelDecision()
221 TH1 = 77+((RSSI_BT-18)*2); in GoodChannelDecision()
223 TH1 = 63+((RSSI_BT-14)*2); in GoodChannelDecision()
225 TH1 = 58+((RSSI_BT-8)*2); in GoodChannelDecision()
[all …]
H A Dphydm_antdect.c248 u1Byte TH1=2, TH2=6; in ODM_SingleDualAntennaDetection() local
250 if((AntA_report - AntB_report < TH1) || (AntB_report - AntA_report < TH1)) in ODM_SingleDualAntennaDetection()
256 else if(((AntA_report - AntB_report >= TH1) && (AntA_report - AntB_report <= TH2)) || in ODM_SingleDualAntennaDetection()
257 ((AntB_report - AntA_report >= TH1) && (AntB_report - AntA_report <= TH2))) in ODM_SingleDualAntennaDetection()
H A Dphydm_antdiv.c1981 u4Byte TH1=500000; in odm_HW_AntDiv() local
2153 if( (MA_rx_Temp < TH2) && (MA_rx_Temp > TH1) && (LocalMaxRSSI<=Monitor_RSSI_threshold)) in odm_HW_AntDiv()
2179 if(MA_rx_Temp > TH1) in odm_HW_AntDiv()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/phydm/
H A Dphydm_rxhp.c180 s4Byte TH1= RSSI_BT+0x14; in GoodChannelDecision() local
193 TH1 = RSSI_BT + 0x14; in GoodChannelDecision()
211 TH1 = 113; in GoodChannelDecision()
213 TH1 = 105; //0x69 in GoodChannelDecision()
215 TH1 = 99+(RSSI_BT-33); //0x63 in GoodChannelDecision()
217 TH1 = 99-(33-RSSI_BT)+2; //0x5e in GoodChannelDecision()
219 TH1 = 88-((RSSI_BT-24)*3); //0x58 in GoodChannelDecision()
221 TH1 = 77+((RSSI_BT-18)*2); in GoodChannelDecision()
223 TH1 = 63+((RSSI_BT-14)*2); in GoodChannelDecision()
225 TH1 = 58+((RSSI_BT-8)*2); in GoodChannelDecision()
[all …]
H A Dphydm_antdect.c457 u1Byte TH1=2, TH2=6; in ODM_SingleDualAntennaDetection() local
459 if((AntA_report - AntB_report < TH1) || (AntB_report - AntA_report < TH1)) in ODM_SingleDualAntennaDetection()
465 else if(((AntA_report - AntB_report >= TH1) && (AntA_report - AntB_report <= TH2)) || in ODM_SingleDualAntennaDetection()
466 ((AntB_report - AntA_report >= TH1) && (AntB_report - AntA_report <= TH2))) in ODM_SingleDualAntennaDetection()
H A Dphydm_antdiv.c1868 u4Byte TH1=500000; in odm_HW_AntDiv() local
2040 if( (MA_rx_Temp < TH2) && (MA_rx_Temp > TH1) && (LocalMaxRSSI<=Monitor_RSSI_threshold)) in odm_HW_AntDiv()
2066 if(MA_rx_Temp > TH1) in odm_HW_AntDiv()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/
H A Dphydm_antdect.c225 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
H A Dphydm_antdiv.c2230 u32 TH1 = 500000; in odm_hw_ant_div() local
2392 if ((ma_rx_temp < TH2) && (ma_rx_temp > TH1) && (local_max_rssi <= monitor_rssi_threshold)) { in odm_hw_ant_div()
2412 if (ma_rx_temp > TH1) { in odm_hw_ant_div()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_antdect.c246 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_antdect.c242 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_antdect.c243 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_antdect.c245 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
H A Dphydm_antdiv.c2967 u32 TH1 = 500000; in odm_hw_ant_div() local
3169 if (ma_rx_temp < TH2 && ma_rx_temp > TH1 && local_max_rssi <= monitor_rssi_threshold) { in odm_hw_ant_div()
3189 if (ma_rx_temp > TH1) { in odm_hw_ant_div()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_antdect.c243 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_antdect.c242 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_antdect.c246 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
H A Dphydm_antdiv.c2966 u32 TH1 = 500000; in odm_hw_ant_div() local
3168 if (ma_rx_temp < TH2 && ma_rx_temp > TH1 && local_max_rssi <= monitor_rssi_threshold) { in odm_hw_ant_div()
3188 if (ma_rx_temp > TH1) { in odm_hw_ant_div()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_antdect.c242 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_antdect.c246 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
H A Dphydm_antdiv.c2966 u32 TH1 = 500000; in odm_hw_ant_div() local
3168 if (ma_rx_temp < TH2 && ma_rx_temp > TH1 && local_max_rssi <= monitor_rssi_threshold) { in odm_hw_ant_div()
3188 if (ma_rx_temp > TH1) { in odm_hw_ant_div()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_antdect.c242 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_antdect.c242 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_antdect.c242 u8 TH1 = 2, TH2 = 6; in odm_single_dual_antenna_detection() local
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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/phydm/
H A Dphydm_antdect.c248 u1Byte TH1=2, TH2=6; in ODM_SingleDualAntennaDetection() local
250 if((AntA_report - AntB_report < TH1) || (AntB_report - AntA_report < TH1)) in ODM_SingleDualAntennaDetection()
256 else if(((AntA_report - AntB_report >= TH1) && (AntA_report - AntB_report <= TH2)) || in ODM_SingleDualAntennaDetection()
257 ((AntB_report - AntA_report >= TH1) && (AntB_report - AntA_report <= TH2))) in ODM_SingleDualAntennaDetection()
H A Dphydm_antdiv.c2167 u4Byte TH1=500000; in odm_HW_AntDiv() local
2347 if( (MA_rx_Temp < TH2) && (MA_rx_Temp > TH1) && (LocalMaxRSSI<=Monitor_RSSI_threshold)) in odm_HW_AntDiv()
2373 if(MA_rx_Temp > TH1) in odm_HW_AntDiv()

12