Home
last modified time | relevance | path

Searched refs:ah_config (Results 1 – 25 of 42) sorted by relevance

12

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_attach.c635 HAL_BUS_HANDLE sh, uint16_t *eepromdata, HAL_OPS_CONFIG *ah_config, in ar9300_attach() argument
646 ahp = ar9300_new_state(devid, sc, st, sh, eepromdata, ah_config, status); in ar9300_attach()
670 ah->ah_config.ath_hal_intr_mitigation_rx = 1; in ar9300_attach()
674 if (ah->ah_config.ath_hal_intr_mitigation_rx != 0) { in ar9300_attach()
680 ah->ah_config.ath_hal_intr_mitigation_rx = 1; in ar9300_attach()
688 ah->ah_config.ath_hal_intr_mitigation_rx = 0; in ar9300_attach()
693 if (ah->ah_config.ath_hal_intr_mitigation_tx != 0) { in ar9300_attach()
822 ah->ah_config.ah_serialise_reg_war = SER_REG_MODE_OFF; in ar9300_attach()
824 __func__, ah->ah_config.ah_serialise_reg_war); in ar9300_attach()
921 ah->ah_config.ath_hal_pcie_power_save_enable = 0; in ar9300_attach()
[all …]
H A Dar9300_mci.c73 if (!(ah->ah_config.ath_hal_mci_config & in ar9300_mci_osla_setup()
80 thresh = MS(ah->ah_config.ath_hal_mci_config, in ar9300_mci_osla_setup()
415 if (!(ah->ah_config.ath_hal_mci_config & in ar9300_mci_2g5g_switch()
475 if (MCI_ANT_ARCH_PA_LNA_SHARED(ah->ah_config.ath_hal_mci_config)) { in ar9300_mci_mute_bt()
501 __func__, ah->ah_config.ath_hal_mci_config); in ar9300_mci_observation_set_up()
503 if (ah->ah_config.ath_hal_mci_config & in ar9300_mci_observation_set_up()
512 else if (ah->ah_config.ath_hal_mci_config & in ar9300_mci_observation_set_up()
522 else if (ah->ah_config.ath_hal_mci_config & in ar9300_mci_observation_set_up()
853 MCI_ANT_ARCH_PA_LNA_SHARED(ah->ah_config.ath_hal_mci_config))) { in ar9300_mci_prep_interface()
864 MCI_ANT_ARCH_PA_LNA_SHARED(ah->ah_config.ath_hal_mci_config))) { in ar9300_mci_prep_interface()
[all …]
H A Dar9300_beacon.c49 ah->ah_config.ah_dma_beacon_response_time)); in ar9300_beacon_init()
52 ah->ah_config.ah_sw_beacon_response_time)); in ar9300_beacon_init()
H A Dar9300_power.c98 AH_PRIVATE(ah)->ah_config.ath_hal_pcie_000); in ar9300_wowoffload_download_devid_swar()
99 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_000); in ar9300_wowoffload_download_devid_swar()
104 AH_PRIVATE(ah)->ah_config.ath_hal_pcie_008); in ar9300_wowoffload_download_devid_swar()
105 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_008); in ar9300_wowoffload_download_devid_swar()
110 AH_PRIVATE(ah)->ah_config.ath_hal_pcie_02c); in ar9300_wowoffload_download_devid_swar()
111 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_02c); in ar9300_wowoffload_download_devid_swar()
128 AH_PRIVATE(ah)->ah_config.ath_hal_pcie_70c); in ar9300_wowoffload_download_devid_swar()
129 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_70c); in ar9300_wowoffload_download_devid_swar()
134 AH_PRIVATE(ah)->ah_config.ath_hal_pcie_040); in ar9300_wowoffload_download_devid_swar()
135 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_040); in ar9300_wowoffload_download_devid_swar()
[all …]
H A Dar9300_freebsd.c643 ar9300_config_defaults_freebsd(struct ath_hal *ah, HAL_OPS_CONFIG *ah_config) in ar9300_config_defaults_freebsd() argument
647 OS_MEMCPY(&ah->ah_config, ah_config, sizeof(HAL_OPS_CONFIG)); in ar9300_config_defaults_freebsd()
648 ah->ah_config.ath_hal_enable_ani = AH_TRUE; in ar9300_config_defaults_freebsd()
H A Dar9300_reset.c2082 (ah->ah_config.ah_force_full_reset == 1) || in ar9300_chip_reset()
3560 if (AH_PRIVATE(ah)->ah_config.ath_hal_cal_reuse & in ar9300_invalidate_saved_cals()
3593 HAL_BOOL cal_reuse_enable = AH_PRIVATE(ah)->ah_config.ath_hal_cal_reuse & in ar9300_init_cal_internal()
3709 !(ah->ah_config.ath_hal_mci_config & in ar9300_init_cal_internal()
3823 !(ah->ah_config.ath_hal_mci_config & in ar9300_init_cal_internal()
4217 if (ah->ah_config.ath_hal_enable_msi) { in ar9300_init_interrupt_masks()
4321 *enable = ah->ah_config.ath_hal_spur_mode; in ar9300_get_spur_info()
4350 ap->ah_config.ath_hal_spur_mode = enable;
4352 if (ap->ah_config.ath_hal_spur_mode == SPUR_ENABLE_IOCTL) {
4554 if ((ah->ah_config.ath_hal_sta_update_tx_pwr_enable)) { in ar9300_reset()
[all …]
H A Dar9300_freebsd.h15 HAL_OPS_CONFIG *ah_config);
H A Dar9300_misc.c628 ah->ah_config.ah_sw_beacon_response_time; in ar9300_set_quiet()
744 return ah->ah_config.ath_hal_desc_tpc ? in ar9300_get_capability()
840 ah->ah_config.ath_hal_crdc_enable) ? in ar9300_get_capability()
1017 ah->ah_config.ath_hal_desc_tpc = (setting != 0); in ar9300_set_capability()
1840 if (ah->ah_config.ath_hal_show_bb_panic) { in ar9300_get_bb_panic_info()
1886 !ah->ah_config.ath_hal_cwm_ignore_ext_cca) { in ar9300_set_11n_mac2040()
2545 if ((ah->ah_config.ath_hal_mci_config & in ar9300_bt_coex_set_parameter()
2852 ah->ah_config.ath_hal_desc_tpc = 1; in ar9300_enable_tpc()
2898 !ah->ah_config.ath_hal_sta_update_tx_pwr_enable) { in ar9300_chk_rssi_update_tx_pwr()
2911 if ((ah->ah_config.ath_hal_sta_update_tx_pwr_enable_S1) in ar9300_chk_rssi_update_tx_pwr()
[all …]
H A Dar9300_eeprom.c382 if (AH_PRIVATE(ah)->ah_config.ath_hal_skip_eeprom_read) { in ar9300_eeprom_attach()
1651 xlan_gpio_cfg = ah->ah_config.ath_hal_ext_lna_ctl_gpio; in ar9300_ant_ctrl_apply()
1719 value |= ah->ah_config.ath_hal_ant_ctrl_comm2g_switch_enable; in ar9300_ant_ctrl_apply()
1851 ah->ah_config.ath_hal_ant_ctrl_comm2g_switch_enable) in ar9300_ant_ctrl_apply()
1853 ah->ah_config.ath_hal_ant_ctrl_comm2g_switch_enable); in ar9300_ant_ctrl_apply()
1929 && ah->ah_config.ath_hal_ext_atten_margin_cfg)
1999 ah->ah_config.ath_hal_ext_atten_margin_cfg) { in ar9300_attenuation_apply()
2010 if (ah->ah_config.ath_hal_min_gainidx) in ar9300_attenuation_apply()
2280 if (ah->ah_config.ath_hal_sta_update_tx_pwr_enable) { in ar9300_calibration_apply()
3120 if (ah->ah_config.ath_hal_sta_update_tx_pwr_enable || in ar9300_eeprom_set_transmit_power()
[all …]
H A Dar9300_xmit.c441 - ah->ah_config.ah_additional_swba_backoff in ar9300_reset_tx_queue()
442 - ah->ah_config.ah_sw_beacon_response_time in ar9300_reset_tx_queue()
443 + ah->ah_config.ah_dma_beacon_response_time; in ar9300_reset_tx_queue()
H A Dar9300_interrupts.c514 if (ah->ah_config.ath_hal_enable_msi) {
690 if (ah->ah_config.ath_hal_enable_msi) {
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dah_osdep.c164 (ah != NULL && ah->ah_config.ah_debug & mask) || in DO_HALDEBUG()
297 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_write()
301 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_write()
321 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_read()
325 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_read()
384 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_write()
388 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_write()
408 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_read()
412 if (ah->ah_config.ah_serialise_reg_war) in ath_hal_reg_read()
H A Dif_ath_sysctl.c1328 sc->sc_ah->ah_config.ah_debug = 0; in ath_sysctl_hal_attach()
1330 &sc->sc_ah->ah_config.ah_debug, 0, "Atheros HAL debugging printfs"); in ath_sysctl_hal_attach()
1332 sc->sc_ah->ah_config.ah_ar5416_biasadj = 0; in ath_sysctl_hal_attach()
1334 &sc->sc_ah->ah_config.ah_ar5416_biasadj, 0, in ath_sysctl_hal_attach()
1337 sc->sc_ah->ah_config.ah_dma_beacon_response_time = 2; in ath_sysctl_hal_attach()
1339 &sc->sc_ah->ah_config.ah_dma_beacon_response_time, 0, in ath_sysctl_hal_attach()
1342 sc->sc_ah->ah_config.ah_sw_beacon_response_time = 10; in ath_sysctl_hal_attach()
1344 &sc->sc_ah->ah_config.ah_sw_beacon_response_time, 0, in ath_sysctl_hal_attach()
1347 sc->sc_ah->ah_config.ah_additional_swba_backoff = 0; in ath_sysctl_hal_attach()
1349 &sc->sc_ah->ah_config.ah_additional_swba_backoff, 0, in ath_sysctl_hal_attach()
[all …]
H A Dif_ath_btcoex.c205 sc->sc_ah->ah_config.ath_hal_mci_config = mci_cfg; in ath_btcoex_cfg_mci()
H A Dif_ath.c473 ath_setup_hal_config(struct ath_softc *sc, HAL_OPS_CONFIG *ah_config) in ath_setup_hal_config() argument
478 ah_config->ath_hal_ext_lna_ctl_gpio = 0x200; /* bit 9 */ in ath_setup_hal_config()
479 ah_config->ath_hal_ext_atten_margin_cfg = AH_TRUE; in ath_setup_hal_config()
480 ah_config->ath_hal_min_gainidx = AH_TRUE; in ath_setup_hal_config()
481 ah_config->ath_hal_ant_ctrl_comm2g_switch_enable = 0x000bbb88; in ath_setup_hal_config()
527 ah_config->ath_hal_pcie_waen = 0x0040473b; in ath_setup_hal_config()
609 HAL_OPS_CONFIG ah_config; in ath_attach() local
622 bzero(&ah_config, sizeof(ah_config)); in ath_attach()
623 ath_setup_hal_config(sc, &ah_config); in ath_attach()
626 sc->sc_eepromdata, &ah_config, &status); in ath_attach()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_beacon.c85 ah->ah_config.ah_dma_beacon_response_time) << 3; /* 1/8 TU */ in ar5211BeaconInit()
87 ah->ah_config.ah_sw_beacon_response_time) << 3; /* 1/8 TU */ in ar5211BeaconInit()
H A Dar5211_xmit.c347 - (ah->ah_config.ah_sw_beacon_response_time in ar5211ResetTxQueue()
348 - ah->ah_config.ah_dma_beacon_response_time) in ar5211ResetTxQueue()
349 - ah->ah_config.ah_additional_swba_backoff) * 1024; in ar5211ResetTxQueue()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_beacon.c70 ah->ah_config.ah_dma_beacon_response_time) << 3; /* 1/8 TU */ in ar5210BeaconInit()
72 ah->ah_config.ah_sw_beacon_response_time) << 3; /* 1/8 TU */ in ar5210BeaconInit()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_beacon.c109 ah->ah_config.ah_dma_beacon_response_time) << 3; /* 1/8 TU */ in ar5212BeaconInit()
111 ah->ah_config.ah_sw_beacon_response_time) << 3; /* 1/8 TU */ in ar5212BeaconInit()
H A Dar5212_xmit.c432 - (ah->ah_config.ah_sw_beacon_response_time - in ar5212ResetTxQueue()
433 + ah->ah_config.ah_dma_beacon_response_time) in ar5212ResetTxQueue()
434 - ah->ah_config.ah_additional_swba_backoff; in ar5212ResetTxQueue()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_beacon.c108 ah->ah_config.ah_dma_beacon_response_time) << 3; /* 1/8 TU */ in ar5416BeaconInit()
110 ah->ah_config.ah_sw_beacon_response_time) << 3; /* 1/8 TU */ in ar5416BeaconInit()
H A Dar5416_btcoex.c208 AH_PRIVATE(ah)->ah_config.ath_hal_desc_tpc = 1; in ar5416BTCoexSetParameter()
215 AH_PRIVATE(ah)->ah_config.ath_hal_desc_tpc = 0; in ar5416BTCoexSetParameter()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9285_attach.c136 HAL_OPS_CONFIG *ah_config, in ar9285Attach() argument
414 val = AH_PRIVATE(ah)->ah_config.ath_hal_war70c; in ar9285ConfigPCIE()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312_attach.c65 HAL_OPS_CONFIG *ah_config, HAL_STATUS *status) in ar5312Attach() argument
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9001/
H A Dar9160_attach.c117 HAL_OPS_CONFIG *ah_config, in ar9160Attach() argument

12