Home
last modified time | relevance | path

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

/drivers/net/wireless/mwifiex/
Dsta_ioctl.c610 u16 dbm = 0; in mwifiex_set_tx_power() local
613 dbm = (u16) power_cfg->power_level; in mwifiex_set_tx_power()
614 if ((dbm < priv->min_tx_power_level) || in mwifiex_set_tx_power()
615 (dbm > priv->max_tx_power_level)) { in mwifiex_set_tx_power()
618 dbm, priv->min_tx_power_level, in mwifiex_set_tx_power()
643 pg->power_min = (s8) dbm; in mwifiex_set_tx_power()
644 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
651 pg->power_min = (s8) dbm; in mwifiex_set_tx_power()
652 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
659 pg->power_min = (s8) dbm; in mwifiex_set_tx_power()
[all …]
Dcfg80211.c328 int dbm = MBM_TO_DBM(mbm); in mwifiex_cfg80211_set_tx_power() local
332 power_cfg.power_level = dbm; in mwifiex_cfg80211_set_tx_power()
/drivers/staging/wlags49_h2/
Dwl_util.h68 int dbm(int value);
Dwl_wext.c664 range->max_qual.level = (u_char)( dbm( HCF_MIN_SIGNAL_LEVEL ) - 1 ); in wireless_get_range()
665 range->max_qual.noise = (u_char)( dbm( HCF_MIN_NOISE_LEVEL ) - 1 ); in wireless_get_range()
2801 iwe.u.qual.level = dbm(probe_resp->signal); in wireless_get_scan()
2802 iwe.u.qual.noise = dbm(probe_resp->silence); in wireless_get_scan()
3271 pStats->qual.level = (u_char) dbm( CNV_LITTLE_TO_INT( pQual->signal_lvl )); in wl_wireless_stats()
3272 pStats->qual.noise = (u_char) dbm( CNV_LITTLE_TO_INT( pQual->noise_lvl )); in wl_wireless_stats()
3410 wstats.level = (u_char) dbm(stats[1]); in wl_spy_gather()
3411 wstats.noise = (u_char) dbm(stats[0]); in wl_spy_gather()
Dwl_util.c155 int dbm( int value ) in dbm() function
/drivers/staging/wlan-ng/
Dcfg80211.c310 quality.dbm.data = P80211ENUM_truth_true; in prism2_get_station()
311 quality.dbm.status = P80211ENUM_msgitem_status_data_ok; in prism2_get_station()
669 int *dbm) in prism2_get_tx_power() argument
690 *dbm = mibitem->data; in prism2_get_tx_power()
Dp80211metastruct.h209 p80211item_uint32_t dbm; member
/drivers/net/wireless/b43/
Dphy_a.c69 s8 dbm = 0;
75 dbm = aphy->tssi2dbm[tmp];
78 return dbm;
Dphy_g.c2753 s8 dbm; in b43_gphy_estimate_power_out() local
2758 dbm = gphy->tssi2dbm[tmp]; in b43_gphy_estimate_power_out()
2760 return dbm; in b43_gphy_estimate_power_out()
2962 int dbm = pwr_adjust < 0 ? -pwr_adjust : pwr_adjust; in b43_gphy_op_recalc_txpower() local
2966 (pwr_adjust < 0 ? "-" : ""), Q52_ARG(dbm), in b43_gphy_op_recalc_txpower()
/drivers/net/wireless/libertas/
Dcmd.h122 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm);
Dcmd.c563 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm) in lbs_set_tx_power() argument
573 cmd.curlevel = cpu_to_le16(dbm); in lbs_set_tx_power()
575 lbs_deb_cmd("SET_RF_TX_POWER: %d dBm\n", dbm); in lbs_set_tx_power()
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dphy.c1057 long dbm; in rtl88e_phy_get_txpower_level() local
1060 dbm = rtl88e_pwr_idx_dbm(hw, WIRELESS_MODE_B, level); in rtl88e_phy_get_txpower_level()
1062 if (rtl88e_pwr_idx_dbm(hw, WIRELESS_MODE_G, level) > dbm) in rtl88e_phy_get_txpower_level()
1063 dbm = rtl88e_pwr_idx_dbm(hw, WIRELESS_MODE_G, level); in rtl88e_phy_get_txpower_level()
1065 if (rtl88e_pwr_idx_dbm(hw, WIRELESS_MODE_N_24G, level) > dbm) in rtl88e_phy_get_txpower_level()
1066 dbm = rtl88e_pwr_idx_dbm(hw, WIRELESS_MODE_N_24G, level); in rtl88e_phy_get_txpower_level()
1067 *powerlevel = dbm; in rtl88e_phy_get_txpower_level()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1402 int dbm = MBM_TO_DBM(mbm); in ath6kl_cfg80211_set_txpower() local
1405 type, dbm); in ath6kl_cfg80211_set_txpower()
1418 ar->tx_pwr = dbm; in ath6kl_cfg80211_set_txpower()
1426 ath6kl_wmi_set_tx_pwr_cmd(ar->wmi, vif->fw_vif_idx, dbm); in ath6kl_cfg80211_set_txpower()
1433 int *dbm) in ath6kl_cfg80211_get_txpower() argument
1462 *dbm = ar->tx_pwr; in ath6kl_cfg80211_get_txpower()
/drivers/net/wireless/b43legacy/
Dphy.c1755 s8 dbm = 0; in b43legacy_phy_estimate_power_out() local
1766 dbm = phy->tssi2dbm[tmp]; in b43legacy_phy_estimate_power_out()
1772 return dbm; in b43legacy_phy_estimate_power_out()
/drivers/net/wireless/brcm80211/brcmfmac/
Dwl_cfg80211.c1781 s32 dbm = MBM_TO_DBM(mbm); in brcmf_cfg80211_set_tx_power() local
1792 if (dbm < 0) { in brcmf_cfg80211_set_tx_power()
1805 if (dbm > 0xffff) in brcmf_cfg80211_set_tx_power()
1808 txpwrmw = (u16) dbm; in brcmf_cfg80211_set_tx_power()
1813 cfg->conf->tx_power = dbm; in brcmf_cfg80211_set_tx_power()
1822 s32 *dbm) in brcmf_cfg80211_get_tx_power() argument
1841 *dbm = (s32) brcmf_qdbm_to_mw(result); in brcmf_cfg80211_get_tx_power()
/drivers/net/wireless/
Drndis_wlan.c498 int *dbm);
1936 int *dbm) in rndis_get_tx_power() argument
1941 *dbm = get_bcm4320_power_dbm(priv); in rndis_get_tx_power()
1943 netdev_dbg(usbdev->net, "%s(): dbm:%i\n", __func__, *dbm); in rndis_get_tx_power()
Dairo.c1153 static u8 airo_dbm_to_pct (tdsRssiEntry *rssi_rid, u8 dbm);
5724 static u8 airo_dbm_to_pct (tdsRssiEntry *rssi_rid, u8 dbm) in airo_dbm_to_pct() argument
5732 if (rssi_rid[i].rssidBm == dbm) in airo_dbm_to_pct()