|
@@ -663,9 +663,6 @@ brcms_c_sendampdu(struct ampdu_info *ampdu, struct brcms_txq_info *qi,
|
|
|
/* patch the first MPDU */
|
|
|
if (count == 1) {
|
|
|
u8 plcp0, plcp3, is40, sgi;
|
|
|
- struct ieee80211_sta *sta;
|
|
|
-
|
|
|
- sta = tx_info->control.sta;
|
|
|
|
|
|
if (rr) {
|
|
|
plcp0 = plcp[0];
|
|
@@ -1195,8 +1192,8 @@ static bool cb_del_ampdu_pkt(struct sk_buff *mpdu, void *arg_a)
|
|
|
bool rc;
|
|
|
|
|
|
rc = tx_info->flags & IEEE80211_TX_CTL_AMPDU ? true : false;
|
|
|
- rc = rc && (tx_info->control.sta == NULL || ampdu_pars->sta == NULL ||
|
|
|
- tx_info->control.sta == ampdu_pars->sta);
|
|
|
+ rc = rc && (tx_info->rate_driver_data[0] == NULL || ampdu_pars->sta == NULL ||
|
|
|
+ tx_info->rate_driver_data[0] == ampdu_pars->sta);
|
|
|
rc = rc && ((u8)(mpdu->priority) == ampdu_pars->tid);
|
|
|
return rc;
|
|
|
}
|
|
@@ -1210,8 +1207,8 @@ static void dma_cb_fn_ampdu(void *txi, void *arg_a)
|
|
|
struct ieee80211_tx_info *tx_info = (struct ieee80211_tx_info *)txi;
|
|
|
|
|
|
if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) &&
|
|
|
- (tx_info->control.sta == sta || sta == NULL))
|
|
|
- tx_info->control.sta = NULL;
|
|
|
+ (tx_info->rate_driver_data[0] == sta || sta == NULL))
|
|
|
+ tx_info->rate_driver_data[0] = NULL;
|
|
|
}
|
|
|
|
|
|
/*
|