Home
last modified time | relevance | path

Searched refs:dbm (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c680 u16 dbm = 0; in mwifiex_set_tx_power() local
683 dbm = (u16) power_cfg->power_level; in mwifiex_set_tx_power()
684 if ((dbm < priv->min_tx_power_level) || in mwifiex_set_tx_power()
685 (dbm > priv->max_tx_power_level)) { in mwifiex_set_tx_power()
689 dbm, priv->min_tx_power_level, in mwifiex_set_tx_power()
702 dbm : priv->min_tx_power_level; in mwifiex_set_tx_power()
719 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
727 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
735 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
744 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
Dcfg80211.c373 int dbm = MBM_TO_DBM(mbm); in mwifiex_cfg80211_set_tx_power() local
379 power_cfg.power_level = dbm; in mwifiex_cfg80211_set_tx_power()
384 power_cfg.power_level = dbm; in mwifiex_cfg80211_set_tx_power()
402 int *dbm) in mwifiex_cfg80211_get_tx_power() argument
414 *dbm = priv->tx_power_level; in mwifiex_cfg80211_get_tx_power()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
Drf.h45 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm);
Drf.c761 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm) in vnt_rf_rssi_to_dbm() argument
781 *dbm = -1 * (a + b * 2); in vnt_rf_rssi_to_dbm()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dcfg80211.c253 quality.dbm.data = P80211ENUM_truth_true; in prism2_get_station()
254 quality.dbm.status = P80211ENUM_msgitem_status_data_ok; in prism2_get_station()
601 int *dbm) in prism2_get_tx_power() argument
621 *dbm = mibitem->data; in prism2_get_tx_power()
Dp80211metastruct.h209 struct p80211item_uint32 dbm; member
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.h73 int qtnf_cmd_get_tx_power(const struct qtnf_vif *vif, int *dbm);
Dcfg80211.c890 int *dbm) in qtnf_get_tx_power() argument
895 ret = qtnf_cmd_get_tx_power(vif, dbm); in qtnf_get_tx_power()
Dcommands.c2651 int qtnf_cmd_get_tx_power(const struct qtnf_vif *vif, int *dbm) in qtnf_cmd_get_tx_power() argument
2676 *dbm = MBM_TO_DBM(le32_to_cpu(resp->txpwr)); in qtnf_cmd_get_tx_power()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dcmd.h124 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm);
Dcmd.c536 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm) in lbs_set_tx_power() argument
544 cmd.curlevel = cpu_to_le16(dbm); in lbs_set_tx_power()
546 lbs_deb_cmd("SET_RF_TX_POWER: %d dBm\n", dbm); in lbs_set_tx_power()
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Ddevice_main.c973 long dbm; in vnt_check_bb_vga() local
985 RFvRSSITodBm(priv, (u8)priv->uCurrRSSI, &dbm); in vnt_check_bb_vga()
988 if (dbm < priv->ldBmThreshold[i]) { in vnt_check_bb_vga()
1007 (int)dbm, priv->byBBVGANew, in vnt_check_bb_vga()
1015 (int)dbm, priv->byBBVGANew, in vnt_check_bb_vga()
/kernel/linux/linux-5.10/net/wireless/
Dwext-compat.c830 int dbm = 0; in cfg80211_wext_siwtxpower() local
851 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
862 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
872 return rdev_set_tx_power(rdev, wdev, type, DBM_TO_MBM(dbm)); in cfg80211_wext_siwtxpower()
Drdev-ops.h576 struct wireless_dev *wdev, int *dbm) in rdev_get_tx_power() argument
580 ret = rdev->ops->get_tx_power(&rdev->wiphy, wdev, dbm); in rdev_get_tx_power()
581 trace_rdev_return_int_int(&rdev->wiphy, ret, *dbm); in rdev_get_tx_power()
/kernel/linux/linux-5.10/net/mac80211/
Dtrace.h2557 int dbm, int ret),
2559 TP_ARGS(local, sdata, dbm, ret),
2564 __field(int, dbm)
2571 __entry->dbm = dbm;
2577 LOCAL_PR_ARG, VIF_PR_ARG, __entry->dbm, __entry->ret
Ddriver-ops.h1133 struct ieee80211_sub_if_data *sdata, int *dbm) in drv_get_txpower() argument
1140 ret = local->ops->get_txpower(&local->hw, &sdata->vif, dbm); in drv_get_txpower()
1141 trace_drv_get_txpower(local, sdata, *dbm, ret); in drv_get_txpower()
Dcfg.c2719 int *dbm) in ieee80211_get_tx_power() argument
2725 return drv_get_txpower(local, sdata, dbm); in ieee80211_get_tx_power()
2728 *dbm = local->hw.conf.power_level; in ieee80211_get_tx_power()
2730 *dbm = sdata->vif.bss_conf.txpower; in ieee80211_get_tx_power()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1413 int dbm = MBM_TO_DBM(mbm); in ath6kl_cfg80211_set_txpower() local
1416 type, dbm); in ath6kl_cfg80211_set_txpower()
1429 ar->tx_pwr = dbm; in ath6kl_cfg80211_set_txpower()
1437 ath6kl_wmi_set_tx_pwr_cmd(ar->wmi, vif->fw_vif_idx, dbm); in ath6kl_cfg80211_set_txpower()
1444 int *dbm) in ath6kl_cfg80211_get_txpower() argument
1473 *dbm = ar->tx_pwr; in ath6kl_cfg80211_get_txpower()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dphy_g.c2755 s8 dbm; in b43_gphy_estimate_power_out() local
2760 dbm = gphy->tssi2dbm[tmp]; in b43_gphy_estimate_power_out()
2762 return dbm; in b43_gphy_estimate_power_out()
2964 int dbm = pwr_adjust < 0 ? -pwr_adjust : pwr_adjust; in b43_gphy_op_recalc_txpower() local
2968 (pwr_adjust < 0 ? "-" : ""), Q52_ARG(dbm), in b43_gphy_op_recalc_txpower()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmac80211.c1072 int *dbm) in mt76_get_txpower() argument
1078 *dbm = DIV_ROUND_UP(phy->txpower_cur + delta, 2); in mt76_get_txpower()
Dmt76.h958 int *dbm);
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dphy.c1730 s8 dbm = 0; in b43legacy_phy_estimate_power_out() local
1741 dbm = phy->tssi2dbm[tmp]; in b43legacy_phy_estimate_power_out()
1747 return dbm; in b43legacy_phy_estimate_power_out()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dmain.c2758 int *dbm) in ath9k_get_txpower() argument
2765 *dbm = avp->chanctx->cur_txpower; in ath9k_get_txpower()
2767 *dbm = sc->cur_chan->cur_txpower; in ath9k_get_txpower()
2770 *dbm /= 2; in ath9k_get_txpower()
/kernel/linux/linux-5.10/drivers/net/wireless/
Drndis_wlan.c478 int *dbm);
1908 int *dbm) in rndis_get_tx_power() argument
1913 *dbm = get_bcm4320_power_dbm(priv); in rndis_get_tx_power()
1915 netdev_dbg(usbdev->net, "%s(): dbm:%i\n", __func__, *dbm); in rndis_get_tx_power()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c1641 int *dbm) in get_tx_power() argument
1651 ret = wilc_get_tx_power(vif, (u8 *)dbm); in get_tx_power()

12