Home
last modified time | relevance | path

Searched +full:txpower +full:- (Results 1 – 25 of 212) sorted by relevance

123456789

/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/
D4965.h1 /* 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 …]
D4965.c1 // 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 …]
D3945.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D4965.h1 /* 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 …]
D4965.c1 // 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 …]
D3945.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c1 // 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()
207 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_read()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
Dradio.c1 // 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 …]
Dradio.h1 /* 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);
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dradio.c1 // 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 …]
Dradio.h1 /* 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);
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dhal_com_phycfg.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
28 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][0]; in PHY_GetTxPowerByRateBase()
31 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][1]; in PHY_GetTxPowerByRateBase()
34 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][2]; in PHY_GetTxPowerByRateBase()
37 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][3]; in PHY_GetTxPowerByRateBase()
40 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][4]; in PHY_GetTxPowerByRateBase()
43 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][5]; in PHY_GetTxPowerByRateBase()
46 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][6]; in PHY_GetTxPowerByRateBase()
49 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][7]; in PHY_GetTxPowerByRateBase()
[all …]
Drtl8723b_phycfg.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
14 /*---------------------------Define Local Constant---------------------------*/
67 …/* RT_TRACE(COMP_RF, DBG_TRACE, ("--->PHY_QueryBBReg(): RegAddr(%#lx), BitMask(%#lx)\n", RegAddr, … in PHY_QueryBBReg_8723B()
109 …/* RT_TRACE(COMP_RF, DBG_TRACE, ("--->PHY_SetBBReg(): RegAddr(%#lx), BitMask(%#lx), Data(%#lx)\n",… in PHY_SetBBReg_8723B()
132 struct bb_register_def *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialRead_8723B()
173 retValue = PHY_QueryBBReg(Adapter, pPhyReg->rfLSSIReadBackPi|MaskforPhySet, bLSSIReadBackData); in phy_RFSerialRead_8723B()
175 /* RT_DISP(FINIT, INIT_RF, ("Readback from RF-PI : 0x%x\n", retValue)); */ in phy_RFSerialRead_8723B()
178 retValue = PHY_QueryBBReg(Adapter, pPhyReg->rfLSSIReadBack|MaskforPhySet, bLSSIReadBackData); in phy_RFSerialRead_8723B()
180 /* RT_DISP(FINIT, INIT_RF, ("Readback from RF-SI : 0x%x\n", retValue)); */ in phy_RFSerialRead_8723B()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.h1 /* SPDX-License-Identifier: ISC */
519 mt7915_get_power_bound(struct mt7915_phy *phy, s8 txpower) in mt7915_get_power_bound() argument
521 struct mt76_phy *mphy = phy->mt76; in mt7915_get_power_bound()
522 int n_chains = hweight8(mphy->antenna_mask); in mt7915_get_power_bound()
524 txpower = mt76_get_sar_power(mphy, mphy->chandef.chan, txpower * 2); in mt7915_get_power_bound()
525 txpower -= mt76_tx_power_nss_delta(n_chains); in mt7915_get_power_bound()
527 return txpower; in mt7915_get_power_bound()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_mp.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
Drtl871x_mp.c1 // 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 …]
/kernel/linux/linux-5.10/net/wireless/
Dwext-compat.c1 // SPDX-License-Identifier: GPL-2.0
3 * cfg80211 - wext compat code
9 * Copyright 2008-2009 Johannes Berg <johannes@sipsolutions.net>
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()
43 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode()
59 return -EINVAL; in cfg80211_wext_siwmode()
62 if (type == wdev->iftype) in cfg80211_wext_siwmode()
[all …]
/kernel/linux/linux-6.6/net/wireless/
Dwext-compat.c1 // 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"
30 strcpy(wrqu->name, "IEEE 802.11"); in cfg80211_wext_giwname()
38 __u32 *mode = &wrqu->mode; in cfg80211_wext_siwmode()
39 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_wext_siwmode()
[all …]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/
Drtl8723b_phycfg.c1 // 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 …]
Dhal_com_phycfg.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c2 * 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c2 * 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 …]
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
30 skb = ieee80211_probereq_get(wvif->wdev->hw, wvif->vif->addr, in update_probe_tmpl()
31 NULL, 0, req->ie_len); in update_probe_tmpl()
33 return -ENOMEM; in update_probe_tmpl()
35 skb_put_data(skb, req->ie, req->ie_len); in update_probe_tmpl()
47 for (i = start_idx; i < req->n_channels; i++) { in send_scan_req()
48 ch_start = req->channels[start_idx]; in send_scan_req()
49 ch_cur = req->channels[i]; in send_scan_req()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/
Dscan.c1 // 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 …]

123456789