carl9170: add support for the new rate control API
With the new rate control API, the driver can now apply the tx rate to outgoing frames just before they are uploaded to the device. This is important because the rate control can now react to fading or improving links a bit sooner. Also, the driver no longer needs to sort the outgoing frames for sample attempts (which affected the size of A-MPDUs and the throughput of the link). For aggregated data frames, the driver (and rate control) needs only to calculate and apply a single set of tx rates to every subframe of the whole aggregate. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
6ea81c4155
commit
9ad86ed39d
@@ -1448,6 +1448,8 @@ static int carl9170_op_ampdu_action(struct ieee80211_hw *hw,
|
||||
tid_info->state = CARL9170_TID_STATE_PROGRESS;
|
||||
tid_info->tid = tid;
|
||||
tid_info->max = sta_info->ampdu_max_len;
|
||||
tid_info->sta = sta;
|
||||
tid_info->vif = vif;
|
||||
|
||||
INIT_LIST_HEAD(&tid_info->list);
|
||||
INIT_LIST_HEAD(&tid_info->tmp_list);
|
||||
@@ -1857,6 +1859,7 @@ void *carl9170_alloc(size_t priv_size)
|
||||
IEEE80211_HW_SUPPORTS_PS |
|
||||
IEEE80211_HW_PS_NULLFUNC_STACK |
|
||||
IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC |
|
||||
IEEE80211_HW_SUPPORTS_RC_TABLE |
|
||||
IEEE80211_HW_SIGNAL_DBM;
|
||||
|
||||
if (!modparam_noht) {
|
||||
|
Reference in New Issue
Block a user