Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c118 if (config.rx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()
121 if (def->rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
126 } else if (config.rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
130 if (config.tx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()
133 if (def->tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
138 } else if (config.tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
Drt2x00mac.c755 if (tx_ant == 3 && def->tx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()
756 tx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()
760 if (rx_ant == 3 && def->rx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()
761 rx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()
Drt2x00reg.h30 ANTENNA_SW_DIVERSITY = 0, enumerator
Drt2500usb.c512 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2500usb_config_ant()
513 ant->tx == ANTENNA_SW_DIVERSITY); in rt2500usb_config_ant()
1335 ANTENNA_SW_DIVERSITY); in rt2500usb_validate_eeprom()
1337 ANTENNA_SW_DIVERSITY); in rt2500usb_validate_eeprom()
1472 if (rt2x00dev->default_ant.tx == ANTENNA_SW_DIVERSITY) in rt2500usb_init_eeprom()
1474 if (rt2x00dev->default_ant.rx == ANTENNA_SW_DIVERSITY) in rt2500usb_init_eeprom()
Drt2400pci.c400 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2400pci_config_ant()
401 ant->tx == ANTENNA_SW_DIVERSITY); in rt2400pci_config_ant()
1505 if (rt2x00dev->default_ant.tx == ANTENNA_SW_DIVERSITY) in rt2400pci_init_eeprom()
1507 if (rt2x00dev->default_ant.rx == ANTENNA_SW_DIVERSITY) in rt2400pci_init_eeprom()
Drt2500pci.c407 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2500pci_config_ant()
408 ant->tx == ANTENNA_SW_DIVERSITY); in rt2500pci_config_ant()
1588 ANTENNA_SW_DIVERSITY); in rt2500pci_validate_eeprom()
1590 ANTENNA_SW_DIVERSITY); in rt2500pci_validate_eeprom()
Drt61pci.c715 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt61pci_config_ant()
716 ant->tx == ANTENNA_SW_DIVERSITY); in rt61pci_config_ant()
2492 rt2x00dev->default_ant.tx = ANTENNA_SW_DIVERSITY; in rt61pci_init_eeprom()
2494 rt2x00dev->default_ant.rx = ANTENNA_SW_DIVERSITY; in rt61pci_init_eeprom()
Drt73usb.c696 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt73usb_config_ant()
697 ant->tx == ANTENNA_SW_DIVERSITY); in rt73usb_config_ant()