Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/wlags49_h2/
Dwl_util.h68 int dbm( int value );
Dwl_wext.c471 range->max_qual.level = (u_char)( dbm( HCF_MIN_SIGNAL_LEVEL ) - 1 ); in wireless_get_range()
472 range->max_qual.noise = (u_char)( dbm( HCF_MIN_NOISE_LEVEL ) - 1 ); in wireless_get_range()
2764 iwe.u.qual.level = dbm(probe_resp->signal); in wireless_get_scan()
2765 iwe.u.qual.noise = dbm(probe_resp->silence); in wireless_get_scan()
3321 pStats->qual.level = (u_char) dbm( CNV_LITTLE_TO_INT( pQual->signal_lvl )); in wl_wireless_stats()
3322 pStats->qual.noise = (u_char) dbm( CNV_LITTLE_TO_INT( pQual->noise_lvl )); in wl_wireless_stats()
3477 wstats.level = (u_char) dbm(stats[1]); in wl_spy_gather()
3478 wstats.noise = (u_char) dbm(stats[0]); in wl_spy_gather()
Dwl_util.c157 int dbm( int value ) in dbm() function
/linux-2.6.39/drivers/staging/wlan-ng/
Dcfg80211.c308 quality.dbm.data = P80211ENUM_truth_true; in prism2_get_station()
309 quality.dbm.status = P80211ENUM_msgitem_status_data_ok; in prism2_get_station()
652 int prism2_get_tx_power(struct wiphy *wiphy, int *dbm) in prism2_get_tx_power() argument
672 *dbm = mibitem->data; in prism2_get_tx_power()
Dp80211metastruct.h209 p80211item_uint32_t dbm; member
/linux-2.6.39/drivers/net/wireless/b43/
Dphy_a.c69 s8 dbm = 0;
75 dbm = aphy->tssi2dbm[tmp];
78 return dbm;
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-2.6.39/drivers/net/wireless/libertas/
Dcmd.h119 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm);
Dcmd.c555 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm) in lbs_set_tx_power() argument
565 cmd.curlevel = cpu_to_le16(dbm); in lbs_set_tx_power()
567 lbs_deb_cmd("SET_RF_TX_POWER: %d dBm\n", dbm); in lbs_set_tx_power()
/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dcfg80211.c1114 ar6k_cfg80211_set_txpower(struct wiphy *wiphy, enum nl80211_tx_power_setting type, int dbm) in ar6k_cfg80211_set_txpower() argument
1119 AR_DEBUG_PRINTF(ATH_DEBUG_INFO, ("%s: type 0x%x, dbm %d\n", __func__, type, dbm)); in ar6k_cfg80211_set_txpower()
1136 ar->arTxPwr = ar_dbm = dbm; in ar6k_cfg80211_set_txpower()
1150 ar6k_cfg80211_get_txpower(struct wiphy *wiphy, int *dbm) in ar6k_cfg80211_get_txpower() argument
1182 *dbm = ar->arTxPwr; in ar6k_cfg80211_get_txpower()
/linux-2.6.39/net/wireless/
Dwext-compat.c848 int dbm = 0; in cfg80211_wext_siwtxpower() local
869 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
880 dbm = data->txpower.value; in cfg80211_wext_siwtxpower()
890 return rdev->ops->set_tx_power(wdev->wiphy, type, DBM_TO_MBM(dbm)); in cfg80211_wext_siwtxpower()
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/
Dcfg80211.c706 static int iwm_cfg80211_get_txpower(struct wiphy *wiphy, int *dbm) in iwm_cfg80211_get_txpower() argument
710 *dbm = iwm->txpower >> 1; in iwm_cfg80211_get_txpower()
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/
Dwl_cfg80211.c85 s32 dbm);
86 static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, s32 *dbm);
1421 enum nl80211_tx_power_setting type, s32 dbm) in wl_cfg80211_set_tx_power() argument
1435 if (dbm < 0) { in wl_cfg80211_set_tx_power()
1441 if (dbm < 0) { in wl_cfg80211_set_tx_power()
1456 if (dbm > 0xffff) in wl_cfg80211_set_tx_power()
1459 txpwrmw = (u16) dbm; in wl_cfg80211_set_tx_power()
1466 wl->conf->tx_power = dbm; in wl_cfg80211_set_tx_power()
1471 static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, s32 *dbm) in wl_cfg80211_get_tx_power() argument
1486 *dbm = (s32) bcm_qdbm_to_mw(result); in wl_cfg80211_get_tx_power()
/linux-2.6.39/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()
/linux-2.6.39/drivers/net/wireless/
Drndis_wlan.c543 static int rndis_get_tx_power(struct wiphy *wiphy, int *dbm);
1929 static int rndis_get_tx_power(struct wiphy *wiphy, int *dbm) in rndis_get_tx_power() argument
1934 *dbm = get_bcm4320_power_dbm(priv); in rndis_get_tx_power()
1936 netdev_dbg(usbdev->net, "%s(): dbm:%i\n", __func__, *dbm); in rndis_get_tx_power()
Dairo.c1152 static u8 airo_dbm_to_pct (tdsRssiEntry *rssi_rid, u8 dbm);
5773 static u8 airo_dbm_to_pct (tdsRssiEntry *rssi_rid, u8 dbm) in airo_dbm_to_pct() argument
5781 if (rssi_rid[i].rssidBm == dbm) in airo_dbm_to_pct()
/linux-2.6.39/net/mac80211/
Dcfg.c1462 static int ieee80211_get_tx_power(struct wiphy *wiphy, int *dbm) in ieee80211_get_tx_power() argument
1466 *dbm = local->hw.conf.power_level; in ieee80211_get_tx_power()
/linux-2.6.39/drivers/staging/rt2860/common/
Dmlme.c3135 short dbm = 0; in MlmeUpdateTxRates() local
3137 dbm = pAd->StaCfg.RssiSample.AvgRssi0 - pAd->BbpRssiToDbmDelta; in MlmeUpdateTxRates()
3144 if (dbm < -75) in MlmeUpdateTxRates()
3146 else if (dbm < -70) in MlmeUpdateTxRates()
/linux-2.6.39/include/net/
Dcfg80211.h1315 int (*get_tx_power)(struct wiphy *wiphy, int *dbm);