|
@@ -771,6 +771,13 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
|
|
clear_sta_flag(sta, WLAN_STA_SP);
|
|
clear_sta_flag(sta, WLAN_STA_SP);
|
|
|
|
|
|
acked = !!(info->flags & IEEE80211_TX_STAT_ACK);
|
|
acked = !!(info->flags & IEEE80211_TX_STAT_ACK);
|
|
|
|
+
|
|
|
|
+ /* mesh Peer Service Period support */
|
|
|
|
+ if (ieee80211_vif_is_mesh(&sta->sdata->vif) &&
|
|
|
|
+ ieee80211_is_data_qos(fc))
|
|
|
|
+ ieee80211_mpsp_trigger_process(
|
|
|
|
+ ieee80211_get_qos_ctl(hdr), sta, true, acked);
|
|
|
|
+
|
|
if (!acked && test_sta_flag(sta, WLAN_STA_PS_STA)) {
|
|
if (!acked && test_sta_flag(sta, WLAN_STA_PS_STA)) {
|
|
/*
|
|
/*
|
|
* The STA is in power save mode, so assume
|
|
* The STA is in power save mode, so assume
|
|
@@ -781,13 +788,6 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- /* mesh Peer Service Period support */
|
|
|
|
- if (ieee80211_vif_is_mesh(&sta->sdata->vif) &&
|
|
|
|
- ieee80211_is_data_qos(fc))
|
|
|
|
- ieee80211_mpsp_trigger_process(
|
|
|
|
- ieee80211_get_qos_ctl(hdr),
|
|
|
|
- sta, true, acked);
|
|
|
|
-
|
|
|
|
if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL) &&
|
|
if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL) &&
|
|
(ieee80211_is_data(hdr->frame_control)) &&
|
|
(ieee80211_is_data(hdr->frame_control)) &&
|
|
(rates_idx != -1))
|
|
(rates_idx != -1))
|