Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00link.c70 struct antenna_setup new_ant; in rt2x00lib_antenna_diversity_sample() local
76 memcpy(&new_ant, &ant->active, sizeof(new_ant)); in rt2x00lib_antenna_diversity_sample()
100 new_ant.rx = other_antenna; in rt2x00lib_antenna_diversity_sample()
103 new_ant.tx = other_antenna; in rt2x00lib_antenna_diversity_sample()
105 rt2x00lib_config_antenna(rt2x00dev, new_ant); in rt2x00lib_antenna_diversity_sample()
111 struct antenna_setup new_ant; in rt2x00lib_antenna_diversity_eval() local
115 memcpy(&new_ant, &ant->active, sizeof(new_ant)); in rt2x00lib_antenna_diversity_eval()
140 new_ant.rx = (new_ant.rx == ANTENNA_A) ? ANTENNA_B : ANTENNA_A; in rt2x00lib_antenna_diversity_eval()
143 new_ant.tx = (new_ant.tx == ANTENNA_A) ? ANTENNA_B : ANTENNA_A; in rt2x00lib_antenna_diversity_eval()
145 rt2x00lib_config_antenna(rt2x00dev, new_ant); in rt2x00lib_antenna_diversity_eval()