aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath6kl/core.h3
-rw-r--r--drivers/net/wireless/ath/ath6kl/main.c2
-rw-r--r--drivers/net/wireless/ath/ath6kl/txrx.c7
3 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h
index 7f1869d00d70..426f269e8ab0 100644
--- a/drivers/net/wireless/ath/ath6kl/core.h
+++ b/drivers/net/wireless/ath/ath6kl/core.h
@@ -715,7 +715,8 @@ void ath6kl_free_cookie(struct ath6kl *ar, struct ath6kl_cookie *cookie);
715int ath6kl_data_tx(struct sk_buff *skb, struct net_device *dev); 715int ath6kl_data_tx(struct sk_buff *skb, struct net_device *dev);
716 716
717struct aggr_info *aggr_init(struct ath6kl_vif *vif); 717struct aggr_info *aggr_init(struct ath6kl_vif *vif);
718void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info_conn *aggr_conn); 718void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info,
719 struct aggr_info_conn *aggr_conn);
719void ath6kl_rx_refill(struct htc_target *target, 720void ath6kl_rx_refill(struct htc_target *target,
720 enum htc_endpoint_id endpoint); 721 enum htc_endpoint_id endpoint);
721void ath6kl_refill_amsdu_rxbufs(struct ath6kl *ar, int count); 722void ath6kl_refill_amsdu_rxbufs(struct ath6kl *ar, int count);
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c
index 39da1f98da87..b96d01a7919b 100644
--- a/drivers/net/wireless/ath/ath6kl/main.c
+++ b/drivers/net/wireless/ath/ath6kl/main.c
@@ -74,7 +74,7 @@ static void ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid,
74 74
75 ar->sta_list_index = ar->sta_list_index | (1 << free_slot); 75 ar->sta_list_index = ar->sta_list_index | (1 << free_slot);
76 ar->ap_stats.sta[free_slot].aid = cpu_to_le32(aid); 76 ar->ap_stats.sta[free_slot].aid = cpu_to_le32(aid);
77 aggr_conn_init(vif, sta->aggr_conn); 77 aggr_conn_init(vif, vif->aggr_cntxt, sta->aggr_conn);
78} 78}
79 79
80static void ath6kl_sta_cleanup(struct ath6kl *ar, u8 i) 80static void ath6kl_sta_cleanup(struct ath6kl *ar, u8 i)
diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wireless/ath/ath6kl/txrx.c
index 62c12102e146..a3dc6943c7f7 100644
--- a/drivers/net/wireless/ath/ath6kl/txrx.c
+++ b/drivers/net/wireless/ath/ath6kl/txrx.c
@@ -1674,7 +1674,8 @@ void aggr_recv_addba_req_evt(struct ath6kl_vif *vif, u8 tid_mux, u16 seq_no,
1674 rxtid->aggr = true; 1674 rxtid->aggr = true;
1675} 1675}
1676 1676
1677void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info_conn *aggr_conn) 1677void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info,
1678 struct aggr_info_conn *aggr_conn)
1678{ 1679{
1679 struct rxtid *rxtid; 1680 struct rxtid *rxtid;
1680 u8 i; 1681 u8 i;
@@ -1684,7 +1685,7 @@ void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info_conn *aggr_conn)
1684 init_timer(&aggr_conn->timer); 1685 init_timer(&aggr_conn->timer);
1685 aggr_conn->timer.function = aggr_timeout; 1686 aggr_conn->timer.function = aggr_timeout;
1686 aggr_conn->timer.data = (unsigned long) aggr_conn; 1687 aggr_conn->timer.data = (unsigned long) aggr_conn;
1687 aggr_conn->aggr_info = vif->aggr_cntxt; 1688 aggr_conn->aggr_info = aggr_info;
1688 1689
1689 aggr_conn->timer_scheduled = false; 1690 aggr_conn->timer_scheduled = false;
1690 1691
@@ -1716,7 +1717,7 @@ struct aggr_info *aggr_init(struct ath6kl_vif *vif)
1716 return NULL; 1717 return NULL;
1717 } 1718 }
1718 1719
1719 aggr_conn_init(vif, p_aggr->aggr_conn); 1720 aggr_conn_init(vif, p_aggr, p_aggr->aggr_conn);
1720 1721
1721 skb_queue_head_init(&p_aggr->rx_amsdu_freeq); 1722 skb_queue_head_init(&p_aggr->rx_amsdu_freeq);
1722 ath6kl_alloc_netbufs(&p_aggr->rx_amsdu_freeq, AGGR_NUM_OF_FREE_NETBUFS); 1723 ath6kl_alloc_netbufs(&p_aggr->rx_amsdu_freeq, AGGR_NUM_OF_FREE_NETBUFS);