Searched refs:ANTENNA_SW_DIVERSITY (Results 1 – 8 of 8) sorted by relevance
130 if (config.rx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()133 if (def->rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()138 } else if (config.rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()142 if (config.tx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()145 if (def->tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()150 } else if (config.tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
776 if (tx_ant == 3 && def->tx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()777 tx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()781 if (rx_ant == 3 && def->rx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()782 rx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()
535 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2500usb_config_ant()536 ant->tx == ANTENNA_SW_DIVERSITY); in rt2500usb_config_ant()1361 ANTENNA_SW_DIVERSITY); in rt2500usb_validate_eeprom()1363 ANTENNA_SW_DIVERSITY); in rt2500usb_validate_eeprom()1498 if (rt2x00dev->default_ant.tx == ANTENNA_SW_DIVERSITY) in rt2500usb_init_eeprom()1500 if (rt2x00dev->default_ant.rx == ANTENNA_SW_DIVERSITY) in rt2500usb_init_eeprom()
41 ANTENNA_SW_DIVERSITY = 0, enumerator
408 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2400pci_config_ant()409 ant->tx == ANTENNA_SW_DIVERSITY); in rt2400pci_config_ant()1514 if (rt2x00dev->default_ant.tx == ANTENNA_SW_DIVERSITY) in rt2400pci_init_eeprom()1516 if (rt2x00dev->default_ant.rx == ANTENNA_SW_DIVERSITY) in rt2400pci_init_eeprom()
415 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2500pci_config_ant()416 ant->tx == ANTENNA_SW_DIVERSITY); in rt2500pci_config_ant()1597 ANTENNA_SW_DIVERSITY); in rt2500pci_validate_eeprom()1599 ANTENNA_SW_DIVERSITY); in rt2500pci_validate_eeprom()
808 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt61pci_config_ant()809 ant->tx == ANTENNA_SW_DIVERSITY); in rt61pci_config_ant()2585 rt2x00dev->default_ant.tx = ANTENNA_SW_DIVERSITY; in rt61pci_init_eeprom()2587 rt2x00dev->default_ant.rx = ANTENNA_SW_DIVERSITY; in rt61pci_init_eeprom()
704 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt73usb_config_ant()705 ant->tx == ANTENNA_SW_DIVERSITY); in rt73usb_config_ant()