Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00config.c120 if (config.rx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()
123 if (def->rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
128 } else if (config.rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
132 if (config.tx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()
135 if (def->tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
140 } else if (config.tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
H A Drt2x00mac.c767 if (tx_ant == 3 && def->tx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()
768 tx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()
772 if (rx_ant == 3 && def->rx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()
773 rx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()
H A Drt2x00reg.h30 ANTENNA_SW_DIVERSITY = 0, enumerator
H A 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()
H A 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()
H A 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()
H A 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()
H A Drt73usb.c696 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt73usb_config_ant()
697 ant->tx == ANTENNA_SW_DIVERSITY); in rt73usb_config_ant()