Home
last modified time | relevance | path

Searched refs:txpwr (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c1412 wlc_phy_txpower_reg_limit_calc(struct brcms_phy *pi, struct txpwr_limits *txpwr, in wlc_phy_txpower_reg_limit_calc() argument
1421 pi->txpwr_limit[rate1] = txpwr->cck[rate2]; in wlc_phy_txpower_reg_limit_calc()
1425 pi->txpwr_limit[rate1] = txpwr->ofdm[rate2]; in wlc_phy_txpower_reg_limit_calc()
1433 txpwr_ptr1 = txpwr->mcs_20_siso; in wlc_phy_txpower_reg_limit_calc()
1434 txpwr_ptr2 = txpwr->ofdm; in wlc_phy_txpower_reg_limit_calc()
1439 txpwr_ptr1 = txpwr->mcs_20_cdd; in wlc_phy_txpower_reg_limit_calc()
1440 txpwr_ptr2 = txpwr->ofdm_cdd; in wlc_phy_txpower_reg_limit_calc()
1445 txpwr_ptr1 = txpwr->mcs_40_siso; in wlc_phy_txpower_reg_limit_calc()
1446 txpwr_ptr2 = txpwr->ofdm_40_siso; in wlc_phy_txpower_reg_limit_calc()
1452 txpwr_ptr1 = txpwr->mcs_40_cdd; in wlc_phy_txpower_reg_limit_calc()
[all …]
H A Dphy_lcn.c4795 s8 txpwr = 0; in wlc_phy_txpwr_srom_read_lcnphy() local
4824 txpwr = sprom->core_pwr_info[0].maxpwr_2g; in wlc_phy_txpwr_srom_read_lcnphy()
4825 pi->tx_srom_max_2g = txpwr; in wlc_phy_txpwr_srom_read_lcnphy()
4835 uint max_pwr_chan = txpwr; in wlc_phy_txpwr_srom_read_lcnphy()
4851 pi->tx_srom_max_rate_2g[i] = txpwr; in wlc_phy_txpwr_srom_read_lcnphy()
4854 pi->tx_srom_max_rate_2g[i] = txpwr - in wlc_phy_txpwr_srom_read_lcnphy()
4864 txpwr - ((offset_mcs & 0xf) * 2); in wlc_phy_txpwr_srom_read_lcnphy()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.h42 struct txpwr_limits *txpwr);
H A Dpub.h324 int brcms_c_set_tx_power(struct brcms_c_info *wlc, int txpwr);
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dqlink.h858 __le32 txpwr; member
1222 __le32 txpwr; member
/linux/net/mac80211/
H A Dtrace.h963 __field(s16, txpwr)
971 __entry->txpwr = sta->deflink.txpwr.power;
972 __entry->type = sta->deflink.txpwr.type;
978 __entry->txpwr, __entry->type
H A Dcfg.c2118 link_sta->pub->txpwr.type = params->txpwr.type; in sta_link_apply_parameters()
2119 if (params->txpwr.type == NL80211_TX_POWER_LIMITED) in sta_link_apply_parameters()
2120 link_sta->pub->txpwr.power = params->txpwr.power; in sta_link_apply_parameters()
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c5271 s16 txpwr; in ath11k_mac_op_sta_set_txpwr() local
5273 if (sta->deflink.txpwr.type == NL80211_TX_POWER_AUTOMATIC) { in ath11k_mac_op_sta_set_txpwr()
5274 txpwr = 0; in ath11k_mac_op_sta_set_txpwr()
5276 txpwr = sta->deflink.txpwr.power; in ath11k_mac_op_sta_set_txpwr()
5277 if (!txpwr) in ath11k_mac_op_sta_set_txpwr()
5281 if (txpwr > ATH11K_TX_POWER_MAX_VAL || txpwr < ATH11K_TX_POWER_MIN_VAL) in ath11k_mac_op_sta_set_txpwr()
5287 WMI_PEER_USE_FIXED_PWR, txpwr); in ath11k_mac_op_sta_set_txpwr()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c7444 s16 txpwr; in ath12k_mac_op_sta_set_txpwr() local
7454 if (sta->deflink.txpwr.type == NL80211_TX_POWER_AUTOMATIC) { in ath12k_mac_op_sta_set_txpwr()
7455 txpwr = 0; in ath12k_mac_op_sta_set_txpwr()
7457 txpwr = sta->deflink.txpwr.power; in ath12k_mac_op_sta_set_txpwr()
7458 if (!txpwr) { in ath12k_mac_op_sta_set_txpwr()
7464 if (txpwr > ATH12K_TX_POWER_MAX_VAL || txpwr < ATH12K_TX_POWER_MIN_VAL) { in ath12k_mac_op_sta_set_txpwr()
7472 WMI_PEER_USE_FIXED_PWR, txpwr); in ath12k_mac_op_sta_set_txpwr()
/linux/net/wireless/
H A Dnl80211.c8295 struct sta_txpwr *txpwr, in nl80211_parse_sta_txpower_setting() argument
8308 txpwr->type = nla_get_u8(info->attrs[idx]); in nl80211_parse_sta_txpower_setting()
8310 if (txpwr->type == NL80211_TX_POWER_LIMITED) { in nl80211_parse_sta_txpower_setting()
8314 txpwr->power = nla_get_s16(info->attrs[idx]); in nl80211_parse_sta_txpower_setting()
8455 &params.link_sta_params.txpwr, in nl80211_set_station()
8637 &params.link_sta_params.txpwr, in nl80211_new_station()
17649 err = nl80211_parse_sta_txpower_setting(info, &params.txpwr, in nl80211_add_mod_link_station()
/linux/include/net/
H A Dcfg80211.h1714 struct sta_txpwr txpwr; member