Patent attributes
Methods, systems, and devices for wireless communications are described. In some systems, a user equipment (UE) may implement a dynamic threshold for antenna switching. The dynamic threshold may improve the percentage of time that a UE operates using an “optimal” antenna (e.g., an antenna with the highest reference signal received power (RSRP)) as compared to a static threshold. For example, a UE may communicate with another device using a first antenna. The UE may track a current communication measurement for the first antenna (e.g., an RSRP value) and may perform an antenna switching test based on the measurement. For the test, the UE may update the dynamic threshold for antenna switching based on a machine learning agent, where the agent may include a neural network that determines the updated dynamic threshold value. The UE may perform a comparison with the dynamic threshold to determine whether to switch operating antennas.