Lines Matching refs:pCap
1546 struct ath9k_hw_capabilities *pCap = &ah->caps; in ath9k_hw_channel_change() local
1552 if (pCap->hw_caps & ATH9K_HW_CAP_FCC_BAND_SWITCH) { in ath9k_hw_channel_change()
1790 struct ath9k_hw_capabilities *pCap = &ah->caps; in ath9k_hw_do_fastcc() local
1812 if (!(pCap->hw_caps & ATH9K_HW_CAP_FCC_BAND_SWITCH) && in ath9k_hw_do_fastcc()
2140 struct ath9k_hw_capabilities *pCap = &ah->caps; in ath9k_set_power_network_sleep() local
2144 if (!(pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) { in ath9k_set_power_network_sleep()
2325 struct ath9k_hw_capabilities *pCap = &ah->caps; in ath9k_hw_set_sta_beacon_timers() local
2367 if (pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP) in ath9k_hw_set_sta_beacon_timers()
2431 struct ath9k_hw_capabilities *pCap = &ah->caps; in ath9k_gpio_cap_init() local
2434 pCap->num_gpio_pins = AR9271_NUM_GPIO; in ath9k_gpio_cap_init()
2435 pCap->gpio_mask = AR9271_GPIO_MASK; in ath9k_gpio_cap_init()
2437 pCap->num_gpio_pins = AR7010_NUM_GPIO; in ath9k_gpio_cap_init()
2438 pCap->gpio_mask = AR7010_GPIO_MASK; in ath9k_gpio_cap_init()
2440 pCap->num_gpio_pins = AR9287_NUM_GPIO; in ath9k_gpio_cap_init()
2441 pCap->gpio_mask = AR9287_GPIO_MASK; in ath9k_gpio_cap_init()
2443 pCap->num_gpio_pins = AR9285_NUM_GPIO; in ath9k_gpio_cap_init()
2444 pCap->gpio_mask = AR9285_GPIO_MASK; in ath9k_gpio_cap_init()
2446 pCap->num_gpio_pins = AR9280_NUM_GPIO; in ath9k_gpio_cap_init()
2447 pCap->gpio_mask = AR9280_GPIO_MASK; in ath9k_gpio_cap_init()
2449 pCap->num_gpio_pins = AR9300_NUM_GPIO; in ath9k_gpio_cap_init()
2450 pCap->gpio_mask = AR9300_GPIO_MASK; in ath9k_gpio_cap_init()
2452 pCap->num_gpio_pins = AR9330_NUM_GPIO; in ath9k_gpio_cap_init()
2453 pCap->gpio_mask = AR9330_GPIO_MASK; in ath9k_gpio_cap_init()
2455 pCap->num_gpio_pins = AR9340_NUM_GPIO; in ath9k_gpio_cap_init()
2456 pCap->gpio_mask = AR9340_GPIO_MASK; in ath9k_gpio_cap_init()
2458 pCap->num_gpio_pins = AR9462_NUM_GPIO; in ath9k_gpio_cap_init()
2459 pCap->gpio_mask = AR9462_GPIO_MASK; in ath9k_gpio_cap_init()
2461 pCap->num_gpio_pins = AR9485_NUM_GPIO; in ath9k_gpio_cap_init()
2462 pCap->gpio_mask = AR9485_GPIO_MASK; in ath9k_gpio_cap_init()
2464 pCap->num_gpio_pins = AR9531_NUM_GPIO; in ath9k_gpio_cap_init()
2465 pCap->gpio_mask = AR9531_GPIO_MASK; in ath9k_gpio_cap_init()
2467 pCap->num_gpio_pins = AR9550_NUM_GPIO; in ath9k_gpio_cap_init()
2468 pCap->gpio_mask = AR9550_GPIO_MASK; in ath9k_gpio_cap_init()
2470 pCap->num_gpio_pins = AR9561_NUM_GPIO; in ath9k_gpio_cap_init()
2471 pCap->gpio_mask = AR9561_GPIO_MASK; in ath9k_gpio_cap_init()
2473 pCap->num_gpio_pins = AR9565_NUM_GPIO; in ath9k_gpio_cap_init()
2474 pCap->gpio_mask = AR9565_GPIO_MASK; in ath9k_gpio_cap_init()
2476 pCap->num_gpio_pins = AR9580_NUM_GPIO; in ath9k_gpio_cap_init()
2477 pCap->gpio_mask = AR9580_GPIO_MASK; in ath9k_gpio_cap_init()
2479 pCap->num_gpio_pins = AR_NUM_GPIO; in ath9k_gpio_cap_init()
2480 pCap->gpio_mask = AR_GPIO_MASK; in ath9k_gpio_cap_init()
2486 struct ath9k_hw_capabilities *pCap = &ah->caps; in ath9k_hw_fill_cap_info() local
2513 pCap->hw_caps |= ATH9K_HW_CAP_5GHZ; in ath9k_hw_fill_cap_info()
2520 pCap->hw_caps |= ATH9K_HW_CAP_2GHZ; in ath9k_hw_fill_cap_info()
2523 if ((pCap->hw_caps & (ATH9K_HW_CAP_2GHZ | ATH9K_HW_CAP_5GHZ)) == 0) { in ath9k_hw_fill_cap_info()
2534 pCap->chip_chainmask = 1; in ath9k_hw_fill_cap_info()
2536 pCap->chip_chainmask = 7; in ath9k_hw_fill_cap_info()
2541 pCap->chip_chainmask = 3; in ath9k_hw_fill_cap_info()
2543 pCap->chip_chainmask = 7; in ath9k_hw_fill_cap_info()
2545 pCap->tx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_TX_MASK); in ath9k_hw_fill_cap_info()
2554 pCap->rx_chainmask = ath9k_hw_gpio_get(ah, 0) ? 0x5 : 0x7; in ath9k_hw_fill_cap_info()
2556 pCap->rx_chainmask = 0x7; in ath9k_hw_fill_cap_info()
2559 pCap->rx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_RX_MASK); in ath9k_hw_fill_cap_info()
2561 pCap->tx_chainmask = fixup_chainmask(pCap->chip_chainmask, pCap->tx_chainmask); in ath9k_hw_fill_cap_info()
2562 pCap->rx_chainmask = fixup_chainmask(pCap->chip_chainmask, pCap->rx_chainmask); in ath9k_hw_fill_cap_info()
2563 ah->txchainmask = pCap->tx_chainmask; in ath9k_hw_fill_cap_info()
2564 ah->rxchainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2575 pCap->hw_caps |= ATH9K_HW_CAP_HT; in ath9k_hw_fill_cap_info()
2577 pCap->hw_caps &= ~ATH9K_HW_CAP_HT; in ath9k_hw_fill_cap_info()
2580 pCap->rts_aggr_limit = ATH_AMPDU_LIMIT_MAX; in ath9k_hw_fill_cap_info()
2582 pCap->rts_aggr_limit = (8 * 1024); in ath9k_hw_fill_cap_info()
2592 pCap->hw_caps |= ATH9K_HW_CAP_RFSILENT; in ath9k_hw_fill_cap_info()
2596 pCap->hw_caps |= ATH9K_HW_CAP_AUTOSLEEP; in ath9k_hw_fill_cap_info()
2598 pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP; in ath9k_hw_fill_cap_info()
2601 pCap->hw_caps &= ~ATH9K_HW_CAP_4KB_SPLITTRANS; in ath9k_hw_fill_cap_info()
2603 pCap->hw_caps |= ATH9K_HW_CAP_4KB_SPLITTRANS; in ath9k_hw_fill_cap_info()
2606 pCap->hw_caps |= ATH9K_HW_CAP_EDMA | ATH9K_HW_CAP_FASTCLOCK; in ath9k_hw_fill_cap_info()
2609 pCap->hw_caps |= ATH9K_HW_CAP_LDPC; in ath9k_hw_fill_cap_info()
2611 pCap->rx_hp_qdepth = ATH9K_HW_RX_HP_QDEPTH; in ath9k_hw_fill_cap_info()
2612 pCap->rx_lp_qdepth = ATH9K_HW_RX_LP_QDEPTH; in ath9k_hw_fill_cap_info()
2613 pCap->rx_status_len = sizeof(struct ar9003_rxs); in ath9k_hw_fill_cap_info()
2614 pCap->tx_desc_len = sizeof(struct ar9003_txc); in ath9k_hw_fill_cap_info()
2615 pCap->txs_len = sizeof(struct ar9003_txs); in ath9k_hw_fill_cap_info()
2617 pCap->tx_desc_len = sizeof(struct ath_desc); in ath9k_hw_fill_cap_info()
2619 pCap->hw_caps |= ATH9K_HW_CAP_FASTCLOCK; in ath9k_hw_fill_cap_info()
2623 pCap->hw_caps |= ATH9K_HW_CAP_RAC_SUPPORTED; in ath9k_hw_fill_cap_info()
2631 pCap->hw_caps |= ATH9K_HW_CAP_SGI_20; in ath9k_hw_fill_cap_info()
2638 pCap->hw_caps |= ATH9K_HW_CAP_ANT_DIV_COMB; in ath9k_hw_fill_cap_info()
2646 pCap->hw_caps |= ATH9K_HW_CAP_APM; in ath9k_hw_fill_cap_info()
2652 pCap->hw_caps |= ATH9K_HW_CAP_ANT_DIV_COMB; in ath9k_hw_fill_cap_info()
2658 pCap->hw_caps |= ATH9K_HW_CAP_DFS; in ath9k_hw_fill_cap_info()
2660 tx_chainmask = pCap->tx_chainmask; in ath9k_hw_fill_cap_info()
2661 rx_chainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2664 pCap->max_txchains++; in ath9k_hw_fill_cap_info()
2666 pCap->max_rxchains++; in ath9k_hw_fill_cap_info()
2674 pCap->hw_caps |= ATH9K_HW_CAP_MCI; in ath9k_hw_fill_cap_info()
2677 pCap->hw_caps |= ATH9K_HW_CAP_RTT; in ath9k_hw_fill_cap_info()
2682 pCap->hw_caps |= ATH9K_HW_CAP_PAPRD; in ath9k_hw_fill_cap_info()