Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c668 u16 dbm = 0; in mwifiex_set_tx_power() local
671 dbm = (u16) power_cfg->power_level; in mwifiex_set_tx_power()
672 if ((dbm < priv->min_tx_power_level) || in mwifiex_set_tx_power()
673 (dbm > priv->max_tx_power_level)) { in mwifiex_set_tx_power()
677 dbm, priv->min_tx_power_level, in mwifiex_set_tx_power()
690 dbm : priv->min_tx_power_level; in mwifiex_set_tx_power()
707 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
715 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
723 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
732 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
Dcfg80211.c362 int dbm = MBM_TO_DBM(mbm); in mwifiex_cfg80211_set_tx_power() local
368 power_cfg.power_level = dbm; in mwifiex_cfg80211_set_tx_power()
373 power_cfg.power_level = dbm; in mwifiex_cfg80211_set_tx_power()
391 int *dbm) in mwifiex_cfg80211_get_tx_power() argument
403 *dbm = priv->tx_power_level; in mwifiex_cfg80211_get_tx_power()
/linux-6.1.9/drivers/staging/vt6656/
Drf.h43 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm);
Drf.c375 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm) in vnt_rf_rssi_to_dbm() argument
393 *dbm = -1 * (a + b * 2); in vnt_rf_rssi_to_dbm()
/linux-6.1.9/drivers/staging/wlan-ng/
Dcfg80211.c255 quality.dbm.data = P80211ENUM_truth_true; in prism2_get_station()
256 quality.dbm.status = P80211ENUM_msgitem_status_data_ok; in prism2_get_station()
605 int *dbm) in prism2_get_tx_power() argument
625 *dbm = mibitem->data; in prism2_get_tx_power()
Dp80211metastruct.h209 struct p80211item_uint32 dbm; member
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.h73 int qtnf_cmd_get_tx_power(const struct qtnf_vif *vif, int *dbm);
Dcfg80211.c884 int *dbm) in qtnf_get_tx_power() argument
889 ret = qtnf_cmd_get_tx_power(vif, dbm); in qtnf_get_tx_power()
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dcmd.h124 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm);
Dcmd.c535 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm) in lbs_set_tx_power() argument
543 cmd.curlevel = cpu_to_le16(dbm); in lbs_set_tx_power()
545 lbs_deb_cmd("SET_RF_TX_POWER: %d dBm\n", dbm); in lbs_set_tx_power()
/linux-6.1.9/drivers/staging/vt6655/
Ddevice_main.c1040 long dbm; in vnt_check_bb_vga() local
1052 RFvRSSITodBm(priv, (u8)priv->current_rssi, &dbm); in vnt_check_bb_vga()
1055 if (dbm < priv->dbm_threshold[i]) { in vnt_check_bb_vga()
1074 (int)dbm, priv->byBBVGANew, in vnt_check_bb_vga()
1082 (int)dbm, priv->byBBVGANew, in vnt_check_bb_vga()
/linux-6.1.9/net/wireless/
Dwext-compat.c918 int dbm = 0; in cfg80211_wext_siwtxpower() local
940 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
951 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
962 ret = rdev_set_tx_power(rdev, wdev, type, DBM_TO_MBM(dbm)); in cfg80211_wext_siwtxpower()
Drdev-ops.h588 struct wireless_dev *wdev, int *dbm) in rdev_get_tx_power() argument
592 ret = rdev->ops->get_tx_power(&rdev->wiphy, wdev, dbm); in rdev_get_tx_power()
593 trace_rdev_return_int_int(&rdev->wiphy, ret, *dbm); in rdev_get_tx_power()
/linux-6.1.9/net/mac80211/
Dtrace.h2178 int dbm, int ret),
2180 TP_ARGS(local, sdata, dbm, ret),
2185 __field(int, dbm)
2192 __entry->dbm = dbm;
2198 LOCAL_PR_ARG, VIF_PR_ARG, __entry->dbm, __entry->ret
Ddriver-ops.h1113 struct ieee80211_sub_if_data *sdata, int *dbm) in drv_get_txpower() argument
1120 ret = local->ops->get_txpower(&local->hw, &sdata->vif, dbm); in drv_get_txpower()
1121 trace_drv_get_txpower(local, sdata, *dbm, ret); in drv_get_txpower()
Dcfg.c2991 int *dbm) in ieee80211_get_tx_power() argument
2997 return drv_get_txpower(local, sdata, dbm); in ieee80211_get_tx_power()
3000 *dbm = local->hw.conf.power_level; in ieee80211_get_tx_power()
3002 *dbm = sdata->vif.bss_conf.txpower; in ieee80211_get_tx_power()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dmain.c2756 int *dbm) in ath9k_get_txpower() argument
2763 *dbm = avp->chanctx->cur_txpower; in ath9k_get_txpower()
2765 *dbm = sc->cur_chan->cur_txpower; in ath9k_get_txpower()
2768 *dbm /= 2; in ath9k_get_txpower()
/linux-6.1.9/drivers/net/wireless/
Drndis_wlan.c478 int *dbm);
1907 int *dbm) in rndis_get_tx_power() argument
1912 *dbm = get_bcm4320_power_dbm(priv); in rndis_get_tx_power()
1914 netdev_dbg(usbdev->net, "%s(): dbm:%i\n", __func__, *dbm); in rndis_get_tx_power()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmac80211.c1406 int *dbm) in mt76_get_txpower() argument
1412 *dbm = DIV_ROUND_UP(phy->txpower_cur + delta, 2); in mt76_get_txpower()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Drtw8852c_rfk.c2005 enum rtw89_rf_path path, u8 dbm, bool set_from_bb) in _dpk_kip_set_txagc() argument
2008 dbm = clamp_t(u8, dbm, 7, 24); in _dpk_kip_set_txagc()
2009 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[DPK] set S%d txagc to %ddBm\n", path, dbm); in _dpk_kip_set_txagc()
2010 rtw89_phy_write32_mask(rtwdev, R_TXPWRB + (path << 13), B_TXPWRB_VAL, dbm << 2); in _dpk_kip_set_txagc()
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c1695 int *dbm) in get_tx_power() argument
1705 ret = wilc_get_tx_power(vif, (u8 *)dbm); in get_tx_power()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1842 int *dbm) in cfg80211_rtw_get_txpower() argument
1844 *dbm = (12); in cfg80211_rtw_get_txpower()

12