Searched refs:qdbm (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_hal.h | 224 int wlc_phy_txpower_get(struct brcms_phy_pub *ppi, uint *qdbm, bool *override); 225 int wlc_phy_txpower_set(struct brcms_phy_pub *ppi, uint qdbm, bool override);
|
D | phy_cmn.c | 1301 int wlc_phy_txpower_get(struct brcms_phy_pub *ppi, uint *qdbm, bool *override) in wlc_phy_txpower_get() argument 1305 *qdbm = pi->tx_user_target[0]; in wlc_phy_txpower_get() 1361 int wlc_phy_txpower_set(struct brcms_phy_pub *ppi, uint qdbm, bool override) in wlc_phy_txpower_set() argument 1366 if (qdbm > 127) in wlc_phy_txpower_set() 1370 pi->tx_user_target[i] = (u8) qdbm; in wlc_phy_txpower_set()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 2299 u32 qdbm = 127; in brcmf_cfg80211_set_tx_power() local 2315 qdbm = MBM_TO_DBM(4 * mbm); in brcmf_cfg80211_set_tx_power() 2316 if (qdbm > 127) in brcmf_cfg80211_set_tx_power() 2317 qdbm = 127; in brcmf_cfg80211_set_tx_power() 2318 qdbm |= WL_TXPWR_OVERRIDE; in brcmf_cfg80211_set_tx_power() 2331 err = brcmf_fil_iovar_int_set(ifp, "qtxpower", qdbm); in brcmf_cfg80211_set_tx_power() 2336 brcmf_dbg(TRACE, "Exit %d (qdbm)\n", qdbm & ~WL_TXPWR_OVERRIDE); in brcmf_cfg80211_set_tx_power() 2347 s32 qdbm = 0; in brcmf_cfg80211_get_tx_power() local 2354 err = brcmf_fil_iovar_int_get(vif->ifp, "qtxpower", &qdbm); in brcmf_cfg80211_get_tx_power() 2359 *dbm = (qdbm & ~WL_TXPWR_OVERRIDE) / 4; in brcmf_cfg80211_get_tx_power() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | main.c | 7577 uint qdbm; in brcms_c_set_tx_power() local 7580 qdbm = min_t(uint, txpwr * BRCMS_TXPWR_DB_FACTOR, 0xff); in brcms_c_set_tx_power() 7581 return wlc_phy_txpower_set(wlc->band->pi, qdbm, false); in brcms_c_set_tx_power() 7586 uint qdbm; in brcms_c_get_tx_power() local 7589 wlc_phy_txpower_get(wlc->band->pi, &qdbm, &override); in brcms_c_get_tx_power() 7592 return (int)(qdbm / BRCMS_TXPWR_DB_FACTOR); in brcms_c_get_tx_power()
|