/Linux-v6.1/drivers/net/wireless/intel/iwlegacy/ |
D | 4965.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 79 * Acquire il->lock before calling this function ! 83 * il4965_tx_queue_set_status - (optionally) start Tx/Cmd queue 84 * @tx_fifo_id: Tx DMA/FIFO channel (range 0-7) that the queue will feed 87 * NOTE: Acquire il->lock before calling this function ! 181 * The first queue used for block-ack aggregation is #7 (4965 only). 182 * All block-ack aggregation queues should map to Tx DMA/FIFO channel 7. 194 #define IL49_RTC_INST_SIZE (IL49_RTC_INST_UPPER_BOUND - \ [all …]
|
D | 4965.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 15 #include <linux/dma-mapping.h> 29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host, 44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse() 50 ret = -EIO; in il4965_verify_inst_sparse() 61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host, 77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full() 78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full() [all …]
|
D | 3945.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 16 #include <linux/dma-mapping.h> 94 * il3945_disable_events - Disable selected events in uCode event log 99 * Use for only special debugging. This function is just a placeholder as-is, 107 u32 disable_ptr; /* SRAM address of event-disable bitmap array */ in il3945_disable_events() 110 0x00000000, /* 31 - 0 Event id numbers */ in il3945_disable_events() 111 0x00000000, /* 63 - 32 */ in il3945_disable_events() 112 0x00000000, /* 95 - 64 */ in il3945_disable_events() [all …]
|
/Linux-v6.1/drivers/net/wireless/broadcom/b43legacy/ |
D | radio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, 14 driver Copyright(c) 2003 - 2004 Intel Corporation. 74 return frequencies_bg[channel - 1]; in channel2freq_bg() 101 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() 103 switch (phy->type) { in b43legacy_radio_read16() 105 if (phy->radio_ver == 0x2053) { in b43legacy_radio_read16() 110 } else if (phy->radio_ver == 0x2050) in b43legacy_radio_read16() 135 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_all_gains() 142 if (phy->rev <= 1) { in b43legacy_set_all_gains() [all …]
|
D | radio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, 13 driver Copyright(c) 2003 - 2004 Intel Corporation. 56 void b43legacy_radio_set_txpower_a(struct b43legacy_wldev *dev, u16 txpower); 59 u16 txpower);
|
D | b43legacy.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 59 /* 32-bit DMA */ 66 /* 64-bit DMA */ 119 #define B43legacy_SHM_AUTOINC_R 0x0200 /* Read Auto-increment */ 120 #define B43legacy_SHM_AUTOINC_W 0x0100 /* Write Auto-increment */ 153 #define B43legacy_SHM_SH_SPUWKUP 0x0094 /* pre-wakeup for synth PU in us */ 154 #define B43legacy_SHM_SH_PRETBTT 0x0096 /* pre-TBTT in us */ 163 #define B43legacy_HF_SYMW 0x00000002 /* G-PHY SYM workaround */ 164 #define B43legacy_HF_GDCW 0x00000020 /* G-PHY DV cancel filter */ 227 #define B43legacy_TMSHIGH_GPHY 0x00010000 /* G-PHY avail (rev >= 5) */ [all …]
|
/Linux-v6.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/crc-ccitt.h> 86 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 103 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 111 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 135 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 145 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() 151 switch (rt2x00dev->chip.rt) { in rt2800_rfcsr_write() 178 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() 227 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_read() [all …]
|
D | rt2400pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 25 * Default offset is required for RSSI <-> dBm conversion. 153 * CSR11: Back-off control register. 154 * CWMIN: CWmin. Default cwmin is 31 (2^5 - 1). 155 * CWMAX: CWmax. Default cwmax is 1023 (2^10 - 1). 190 * TSF_SYNC: Tsf sync, 0: disable, 1: infra, 2: ad-hoc/master mode. 210 * CFP: ASIC is in contention-free period. 459 * ENABLE_CLK: Enable clk_run, pci clock can't going down to non-operational. 544 * KICK_RX: Kick one-shot rx in one-shot rx mode. [all …]
|
/Linux-v6.1/drivers/staging/rtl8712/ |
D | rtl871x_mp.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. 23 pmp_priv->mode = _LOOPBOOK_MODE_; in _init_mp_priv_() 24 pmp_priv->curr_ch = 1; in _init_mp_priv_() 25 pmp_priv->curr_modem = MIXED_PHY; in _init_mp_priv_() 26 pmp_priv->curr_rateidx = 0; in _init_mp_priv_() 27 pmp_priv->curr_txpoweridx = 0x14; in _init_mp_priv_() 28 pmp_priv->antenna_tx = ANTENNA_A; in _init_mp_priv_() 29 pmp_priv->antenna_rx = ANTENNA_AB; in _init_mp_priv_() 30 pmp_priv->check_mp_pkt = 0; in _init_mp_priv_() [all …]
|
/Linux-v6.1/net/wireless/ |
D | wext-compat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * cfg80211 - wext compat code 9 * Copyright 2008-2009 Johannes Berg <johannes@sipsolutions.net> 10 * Copyright (C) 2019-2022 Intel Corporation 21 #include <net/cfg80211-wext.h> 22 #include "wext-compat.h" 24 #include "rdev-ops.h" 38 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_wext_siwmode() 44 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode() 57 return -EINVAL; in cfg80211_wext_siwmode() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_phycfg.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 13 * phy_CalculateBitShift - Get shifted position of the BitMask. 31 * PHY_QueryBBReg_8723B - Read "specific bits" from BB register. 55 * PHY_SetBBReg_8723B - Write "Specific bits" to BB register (page 8~). 98 struct bb_register_def *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialRead_8723B() 139 retValue = PHY_QueryBBReg(Adapter, pPhyReg->rfLSSIReadBackPi|MaskforPhySet, bLSSIReadBackData); in phy_RFSerialRead_8723B() 142 retValue = PHY_QueryBBReg(Adapter, pPhyReg->rfLSSIReadBack|MaskforPhySet, bLSSIReadBackData); in phy_RFSerialRead_8723B() 149 * phy_RFSerialWrite_8723B - Write data to RF register (page 8~). 158 * 2. Hardware LSSI-Low Speed Serial Interface [all …]
|
D | hal_com_phycfg.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 24 value = pHalData->TxPwrByRateBase2_4G[RfPath][0]; in PHY_GetTxPowerByRateBase() 27 value = pHalData->TxPwrByRateBase2_4G[RfPath][1]; in PHY_GetTxPowerByRateBase() 30 value = pHalData->TxPwrByRateBase2_4G[RfPath][2]; in PHY_GetTxPowerByRateBase() 50 pHalData->TxPwrByRateBase2_4G[RfPath][0] = Value; in phy_SetTxPowerByRateBase() 53 pHalData->TxPwrByRateBase2_4G[RfPath][1] = Value; in phy_SetTxPowerByRateBase() 56 pHalData->TxPwrByRateBase2_4G[RfPath][2] = Value; in phy_SetTxPowerByRateBase() 87 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in PHY_GetRateSectionIndexOfTxPowerByRate() 90 if (pDM_Odm->PhyRegPgVersion == 0) { in PHY_GetRateSectionIndexOfTxPowerByRate() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
D | ar9002_mac.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 29 ((struct ath_desc*) ds)->ds_link = ds_link; in ar9002_hw_set_desc_link() 37 struct ath9k_hw_capabilities *pCap = &ah->caps; in ar9002_hw_get_isr() 81 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9002_hw_get_isr() 87 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) in ar9002_hw_get_isr() 108 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) { in ar9002_hw_get_isr() 123 ah->intr_txqs = MS(s0_s, AR_ISR_S0_QCU_TXOK); in ar9002_hw_get_isr() 124 ah->intr_txqs |= MS(s0_s, AR_ISR_S0_QCU_TXDESC); in ar9002_hw_get_isr() 125 ah->intr_txqs |= MS(s1_s, AR_ISR_S1_QCU_TXERR); in ar9002_hw_get_isr() 126 ah->intr_txqs |= MS(s1_s, AR_ISR_S1_QCU_TXEOL); in ar9002_hw_get_isr() [all …]
|
D | eeprom_9287.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 25 u16 version = le16_to_cpu(ah->eeprom.map9287.baseEepHeader.version); in ath9k_hw_ar9287_get_eeprom_ver() 33 u16 version = le16_to_cpu(ah->eeprom.map9287.baseEepHeader.version); in ath9k_hw_ar9287_get_eeprom_rev() 40 struct ar9287_eeprom *eep = &ah->eeprom.map9287; in __ath9k_hw_ar9287_fill_eeprom() 56 u16 *eep_data = (u16 *)&ah->eeprom.map9287; in __ath9k_hw_usb_ar9287_fill_eeprom() 72 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_ar9287_fill_eeprom() 82 PR_EEP("Chain0 Ant. Control", le16_to_cpu(modal_hdr->antCtrlChain[0])); in ar9287_dump_modal_eeprom() 83 PR_EEP("Chain1 Ant. Control", le16_to_cpu(modal_hdr->antCtrlChain[1])); in ar9287_dump_modal_eeprom() 84 PR_EEP("Ant. Common Control", le32_to_cpu(modal_hdr->antCtrlCommon)); in ar9287_dump_modal_eeprom() 85 PR_EEP("Chain0 Ant. Gain", modal_hdr->antennaGainCh[0]); in ar9287_dump_modal_eeprom() [all …]
|
D | xmit.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 33 #define TIME_SYMBOLS_HALFGI(t) (((t) * 5 - 4) / 18) 35 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18) 43 { 104, 216 }, /* 3: 16-QAM 1/2 */ 44 { 156, 324 }, /* 4: 16-QAM 3/4 */ 45 { 208, 432 }, /* 5: 64-QAM 2/3 */ 46 { 234, 486 }, /* 6: 64-QAM 3/4 */ 47 { 260, 540 }, /* 7: 64-QAM 5/6 */ 87 struct ieee80211_sta *sta = info->status.status_driver_data[0]; in ath_tx_status() [all …]
|
D | ar9003_mac.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 39 (i->qcu << AR_TxQcuNum_S) | desc_len; in ar9003_set_txdesc() 42 WRITE_ONCE(ads->info, val); in ar9003_set_txdesc() 44 checksum += i->link; in ar9003_set_txdesc() 45 WRITE_ONCE(ads->link, i->link); in ar9003_set_txdesc() 47 checksum += i->buf_addr[0]; in ar9003_set_txdesc() 48 WRITE_ONCE(ads->data0, i->buf_addr[0]); in ar9003_set_txdesc() 49 checksum += i->buf_addr[1]; in ar9003_set_txdesc() 50 WRITE_ONCE(ads->data1, i->buf_addr[1]); in ar9003_set_txdesc() 51 checksum += i->buf_addr[2]; in ar9003_set_txdesc() [all …]
|
/Linux-v6.1/drivers/net/wireless/silabs/wfx/ |
D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc. 6 * Copyright (c) 2010, ST-Ericsson 29 skb = ieee80211_probereq_get(wvif->wdev->hw, vif->addr, NULL, 0, in update_probe_tmpl() 30 req->ie_len); in update_probe_tmpl() 32 return -ENOMEM; in update_probe_tmpl() 34 skb_put_data(skb, req->ie, req->ie_len); in update_probe_tmpl() 46 for (i = start_idx; i < req->n_channels; i++) { in send_scan_req() 47 ch_start = req->channels[start_idx]; in send_scan_req() 48 ch_cur = req->channels[i]; in send_scan_req() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 25 * Copyright (c) 2007-2008 Atheros Communications, Inc. 72 return (DIV_ROUND_UP(IEEE80211_MAX_FRAME_LEN, ar->fw.mem_block_size) > in is_mem_full() 73 atomic_read(&ar->mem_free_blocks)); in is_mem_full() 81 atomic_inc(&ar->tx_total_queued); in carl9170_tx_accounting() 84 spin_lock_bh(&ar->tx_stats_lock); in carl9170_tx_accounting() 92 ar->tx_stats[queue].len++; in carl9170_tx_accounting() 93 ar->tx_stats[queue].count++; in carl9170_tx_accounting() 96 for (i = 0; i < ar->hw->queues; i++) { in carl9170_tx_accounting() 97 if (mem_full || ar->tx_stats[i].len >= ar->tx_stats[i].limit) { in carl9170_tx_accounting() 98 ieee80211_stop_queue(ar->hw, i); in carl9170_tx_accounting() [all …]
|
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mcu.c | 1 // SPDX-License-Identifier: ISC 24 dev_err(mdev->dev, "MCU message %02x (seq %d) timed out\n", in mt7603_mcu_parse_response() 26 dev->mcu_hang = MT7603_WATCHDOG_TIMEOUT; in mt7603_mcu_parse_response() 27 return -ETIMEDOUT; in mt7603_mcu_parse_response() 30 rxd = (struct mt7603_mcu_rxd *)skb->data; in mt7603_mcu_parse_response() 31 if (seq != rxd->seq) in mt7603_mcu_parse_response() 32 return -EAGAIN; in mt7603_mcu_parse_response() 42 int hdrlen = dev->mcu_running ? sizeof(struct mt7603_mcu_txd) : 12; in mt7603_mcu_skb_send_msg() 46 mdev->mcu.timeout = 3 * HZ; in mt7603_mcu_skb_send_msg() 48 seq = ++mdev->mcu.msg_seq & 0xf; in mt7603_mcu_skb_send_msg() [all …]
|
/Linux-v6.1/drivers/net/wireless/marvell/libertas/ |
D | radiotap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 u8 txpower; member
|
/Linux-v6.1/Documentation/devicetree/bindings/net/wireless/ |
D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 5 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Felix Fietkau <nbd@nbd.name> 13 - Lorenzo Bianconi <lorenzo@kernel.org> 14 - Ryder Lee <ryder.lee@mediatek.com> 24 - $ref: ieee80211.yaml# 29 - mediatek,mt76 30 - mediatek,mt7628-wmac [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-agn-hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014 Intel Corporation 6 * Please use this file (iwl-agn-hw.h) only for hardware-related definitions. 18 #define IWLAGN_RTC_INST_SIZE (IWLAGN_RTC_INST_UPPER_BOUND - \ 20 #define IWLAGN_RTC_DATA_SIZE (IWLAGN_RTC_DATA_UPPER_BOUND - \ 28 (IWL60_RTC_INST_UPPER_BOUND - IWL60_RTC_INST_LOWER_BOUND) 30 (IWL60_RTC_DATA_UPPER_BOUND - IWL60_RTC_DATA_LOWER_BOUND) 41 /* Limit range of txpower output target to be between these values */
|
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2010 Realtek Corporation.*/ 34 return i ? i - 1 : 32; in _rtl8821ae_phy_calculate_bit_shift() 57 if (IS_VENDOR_8812A_C_CUT(rtlhal->version)) { in rtl8812ae_fixspur() 84 } else if (rtlhal->hw_type == HARDWARE_TYPE_RTL8812AE) { in rtl8812ae_fixspur() 152 spin_lock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_query_rf_reg() 158 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_query_rf_reg() 178 spin_lock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_set_rf_reg() 189 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_set_rf_reg() 213 !((rtlhal->hw_type == HARDWARE_TYPE_RTL8821AE) || in _rtl8821ae_phy_rf_serial_read() [all …]
|
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2014 Realtek Corporation.*/ 41 spin_lock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_query_rf_reg() 47 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_query_rf_reg() 66 spin_lock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_set_rf_reg() 78 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_set_rf_reg() 102 u8 crystalcap = rtlpriv->efuse.crystalcap; in rtl8723be_phy_bb_config() 138 u32 cut_ver = ((rtlhal->version & CHIP_VER_RTL_MASK) in _rtl8723be_check_positive() 140 u32 intf = (rtlhal->interface == INTF_USB ? BIT(1) : BIT(0)); in _rtl8723be_check_positive() 142 u8 board_type = ((rtlhal->board_type & BIT(4)) >> 4) << 0 | /* _GLNA */ in _rtl8723be_check_positive() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/include/ |
D | rtw_mp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 102 u8 TxPwrLevel[2]; /* rf-A, rf-B */ 154 /* E-Fuse */ 158 /* end of E-Fuse */ 362 void Hal_SetCCKTxPower(struct adapter *padapter, u8 *TxPower); 363 void Hal_SetOFDMTxPower(struct adapter *padapter, u8 *TxPower);
|