Home
last modified time | relevance | path

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

12

/linux-5.19.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()
/linux-5.19.10/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-5.19.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()
603 int *dbm) in prism2_get_tx_power() argument
623 *dbm = mibitem->data; in prism2_get_tx_power()
Dp80211metastruct.h209 struct p80211item_uint32 dbm; member
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/staging/vt6655/
Ddevice_main.c973 long dbm; in vnt_check_bb_vga() local
985 RFvRSSITodBm(priv, (u8)priv->current_rssi, &dbm); in vnt_check_bb_vga()
988 if (dbm < priv->dbm_threshold[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()
/linux-5.19.10/net/wireless/
Dwext-compat.c910 int dbm = 0; in cfg80211_wext_siwtxpower() local
932 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
943 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
954 ret = rdev_set_tx_power(rdev, wdev, type, DBM_TO_MBM(dbm)); in cfg80211_wext_siwtxpower()
Drdev-ops.h591 struct wireless_dev *wdev, int *dbm) in rdev_get_tx_power() argument
595 ret = rdev->ops->get_tx_power(&rdev->wiphy, wdev, dbm); in rdev_get_tx_power()
596 trace_rdev_return_int_int(&rdev->wiphy, ret, *dbm); in rdev_get_tx_power()
/linux-5.19.10/net/mac80211/
Dtrace.h2599 int dbm, int ret),
2601 TP_ARGS(local, sdata, dbm, ret),
2606 __field(int, dbm)
2613 __entry->dbm = dbm;
2619 LOCAL_PR_ARG, VIF_PR_ARG, __entry->dbm, __entry->ret
Ddriver-ops.h1151 struct ieee80211_sub_if_data *sdata, int *dbm) in drv_get_txpower() argument
1158 ret = local->ops->get_txpower(&local->hw, &sdata->vif, dbm); in drv_get_txpower()
1159 trace_drv_get_txpower(local, sdata, *dbm, ret); in drv_get_txpower()
Dcfg.c2858 int *dbm) in ieee80211_get_tx_power() argument
2864 return drv_get_txpower(local, sdata, dbm); in ieee80211_get_tx_power()
2867 *dbm = local->hw.conf.power_level; in ieee80211_get_tx_power()
2869 *dbm = sdata->vif.bss_conf.txpower; in ieee80211_get_tx_power()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/net/wireless/ath/ath9k/
Dmain.c2753 int *dbm) in ath9k_get_txpower() argument
2760 *dbm = avp->chanctx->cur_txpower; in ath9k_get_txpower()
2762 *dbm = sc->cur_chan->cur_txpower; in ath9k_get_txpower()
2765 *dbm /= 2; in ath9k_get_txpower()
/linux-5.19.10/drivers/net/wireless/
Drndis_wlan.c478 int *dbm);
1912 int *dbm) in rndis_get_tx_power() argument
1917 *dbm = get_bcm4320_power_dbm(priv); in rndis_get_tx_power()
1919 netdev_dbg(usbdev->net, "%s(): dbm:%i\n", __func__, *dbm); in rndis_get_tx_power()
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/
Dmac80211.c1395 int *dbm) in mt76_get_txpower() argument
1401 *dbm = DIV_ROUND_UP(phy->txpower_cur + delta, 2); in mt76_get_txpower()
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/
Drtw8852c_rfk.c2004 enum rtw89_rf_path path, u8 dbm, bool set_from_bb) in _dpk_kip_set_txagc() argument
2007 dbm = clamp_t(u8, dbm, 7, 24); in _dpk_kip_set_txagc()
2008 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[DPK] set S%d txagc to %ddBm\n", path, dbm); in _dpk_kip_set_txagc()
2009 rtw89_phy_write32_mask(rtwdev, R_TXPWRB + (path << 13), B_TXPWRB_VAL, dbm << 2); in _dpk_kip_set_txagc()
/linux-5.19.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c1625 int *dbm) in get_tx_power() argument
1635 ret = wilc_get_tx_power(vif, (u8 *)dbm); in get_tx_power()
/linux-5.19.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1932 int *dbm) in cfg80211_rtw_get_txpower() argument
1934 *dbm = (12); in cfg80211_rtw_get_txpower()

12