Searched refs:ANTENNA_SW_DIVERSITY (Results 1 – 8 of 8) sorted by relevance
119 if (config.rx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()122 if (def->rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()127 } else if (config.rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()131 if (config.tx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()134 if (def->tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()139 } else if (config.tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
756 if (tx_ant == 3 && def->tx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()757 tx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()761 if (rx_ant == 3 && def->rx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()762 rx_ant = ANTENNA_SW_DIVERSITY; in rt2x00mac_set_antenna()
30 ANTENNA_SW_DIVERSITY = 0, enumerator
512 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()
400 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()
407 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()
715 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()
696 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt73usb_config_ant()697 ant->tx == ANTENNA_SW_DIVERSITY); in rt73usb_config_ant()