mac80211: convert aggregation to operate on vifs/stas
The entire aggregation code currently operates on the hw pointer and station addresses, but that needs to change to make stations purely per-vif; As one step preparing for that make the aggregation code callable with the station, or by the combination of virtual interface and station address. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
3b53fde8ac
commit
c951ad3550
@ -239,15 +239,16 @@ static inline int drv_tx_last_beacon(struct ieee80211_local *local)
|
||||
}
|
||||
|
||||
static inline int drv_ampdu_action(struct ieee80211_local *local,
|
||||
struct ieee80211_vif *vif,
|
||||
enum ieee80211_ampdu_mlme_action action,
|
||||
struct ieee80211_sta *sta, u16 tid,
|
||||
u16 *ssn)
|
||||
{
|
||||
int ret = -EOPNOTSUPP;
|
||||
if (local->ops->ampdu_action)
|
||||
ret = local->ops->ampdu_action(&local->hw, action,
|
||||
ret = local->ops->ampdu_action(&local->hw, vif, action,
|
||||
sta, tid, ssn);
|
||||
trace_drv_ampdu_action(local, action, sta, tid, ssn, ret);
|
||||
trace_drv_ampdu_action(local, vif, action, sta, tid, ssn, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user