Loading include/net/mac80211.h +0 −4 Original line number Original line Diff line number Diff line Loading @@ -5444,9 +5444,6 @@ void ieee80211_stop_rx_ba_session_offl(struct ieee80211_vif *vif, * RTS threshold * RTS threshold * @short_preamble: whether mac80211 will request short-preamble transmission * @short_preamble: whether mac80211 will request short-preamble transmission * if the selected rate supports it * if the selected rate supports it * @max_rate_idx: user-requested maximum (legacy) rate * (deprecated; this will be removed once drivers get updated to use * rate_idx_mask) * @rate_idx_mask: user-requested (legacy) rate mask * @rate_idx_mask: user-requested (legacy) rate mask * @rate_idx_mcs_mask: user-requested MCS rate mask (NULL if not in use) * @rate_idx_mcs_mask: user-requested MCS rate mask (NULL if not in use) * @bss: whether this frame is sent out in AP or IBSS mode * @bss: whether this frame is sent out in AP or IBSS mode Loading @@ -5458,7 +5455,6 @@ struct ieee80211_tx_rate_control { struct sk_buff *skb; struct sk_buff *skb; struct ieee80211_tx_rate reported_rate; struct ieee80211_tx_rate reported_rate; bool rts, short_preamble; bool rts, short_preamble; u8 max_rate_idx; u32 rate_idx_mask; u32 rate_idx_mask; u8 *rate_idx_mcs_mask; u8 *rate_idx_mcs_mask; bool bss; bool bss; Loading net/mac80211/tx.c +0 −8 Original line number Original line Diff line number Diff line Loading @@ -682,10 +682,6 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx) txrc.skb = tx->skb; txrc.skb = tx->skb; txrc.reported_rate.idx = -1; txrc.reported_rate.idx = -1; txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; if (txrc.rate_idx_mask == (1 << sband->n_bitrates) - 1) txrc.max_rate_idx = -1; else txrc.max_rate_idx = fls(txrc.rate_idx_mask) - 1; if (tx->sdata->rc_has_mcs_mask[info->band]) if (tx->sdata->rc_has_mcs_mask[info->band]) txrc.rate_idx_mcs_mask = txrc.rate_idx_mcs_mask = Loading Loading @@ -4249,10 +4245,6 @@ __ieee80211_beacon_get(struct ieee80211_hw *hw, txrc.skb = skb; txrc.skb = skb; txrc.reported_rate.idx = -1; txrc.reported_rate.idx = -1; txrc.rate_idx_mask = sdata->rc_rateidx_mask[band]; txrc.rate_idx_mask = sdata->rc_rateidx_mask[band]; if (txrc.rate_idx_mask == (1 << txrc.sband->n_bitrates) - 1) txrc.max_rate_idx = -1; else txrc.max_rate_idx = fls(txrc.rate_idx_mask) - 1; txrc.bss = true; txrc.bss = true; rate_control_get_rate(sdata, NULL, &txrc); rate_control_get_rate(sdata, NULL, &txrc); Loading Loading
include/net/mac80211.h +0 −4 Original line number Original line Diff line number Diff line Loading @@ -5444,9 +5444,6 @@ void ieee80211_stop_rx_ba_session_offl(struct ieee80211_vif *vif, * RTS threshold * RTS threshold * @short_preamble: whether mac80211 will request short-preamble transmission * @short_preamble: whether mac80211 will request short-preamble transmission * if the selected rate supports it * if the selected rate supports it * @max_rate_idx: user-requested maximum (legacy) rate * (deprecated; this will be removed once drivers get updated to use * rate_idx_mask) * @rate_idx_mask: user-requested (legacy) rate mask * @rate_idx_mask: user-requested (legacy) rate mask * @rate_idx_mcs_mask: user-requested MCS rate mask (NULL if not in use) * @rate_idx_mcs_mask: user-requested MCS rate mask (NULL if not in use) * @bss: whether this frame is sent out in AP or IBSS mode * @bss: whether this frame is sent out in AP or IBSS mode Loading @@ -5458,7 +5455,6 @@ struct ieee80211_tx_rate_control { struct sk_buff *skb; struct sk_buff *skb; struct ieee80211_tx_rate reported_rate; struct ieee80211_tx_rate reported_rate; bool rts, short_preamble; bool rts, short_preamble; u8 max_rate_idx; u32 rate_idx_mask; u32 rate_idx_mask; u8 *rate_idx_mcs_mask; u8 *rate_idx_mcs_mask; bool bss; bool bss; Loading
net/mac80211/tx.c +0 −8 Original line number Original line Diff line number Diff line Loading @@ -682,10 +682,6 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx) txrc.skb = tx->skb; txrc.skb = tx->skb; txrc.reported_rate.idx = -1; txrc.reported_rate.idx = -1; txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; if (txrc.rate_idx_mask == (1 << sband->n_bitrates) - 1) txrc.max_rate_idx = -1; else txrc.max_rate_idx = fls(txrc.rate_idx_mask) - 1; if (tx->sdata->rc_has_mcs_mask[info->band]) if (tx->sdata->rc_has_mcs_mask[info->band]) txrc.rate_idx_mcs_mask = txrc.rate_idx_mcs_mask = Loading Loading @@ -4249,10 +4245,6 @@ __ieee80211_beacon_get(struct ieee80211_hw *hw, txrc.skb = skb; txrc.skb = skb; txrc.reported_rate.idx = -1; txrc.reported_rate.idx = -1; txrc.rate_idx_mask = sdata->rc_rateidx_mask[band]; txrc.rate_idx_mask = sdata->rc_rateidx_mask[band]; if (txrc.rate_idx_mask == (1 << txrc.sband->n_bitrates) - 1) txrc.max_rate_idx = -1; else txrc.max_rate_idx = fls(txrc.rate_idx_mask) - 1; txrc.bss = true; txrc.bss = true; rate_control_get_rate(sdata, NULL, &txrc); rate_control_get_rate(sdata, NULL, &txrc); Loading