diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-09 09:07:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-11 15:53:39 -0400 |
commit | e50db65c0dad109aae77c353305853b31555b228 (patch) | |
tree | 1c7f765e172092e2d6d0e63a1faa13c004f79c7a /net/mac80211/ht.c | |
parent | 759ef3eb1eeba8ff7411771e7b9cf6bfd6bb9cfe (diff) |
mac80211: move frame TX function
The ieee80211_sta_tx function isn't MLME code any more,
it's getting used by a lot of code. Move it to utils and
rename it to ieee80211_tx_skb.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ht.c')
-rw-r--r-- | net/mac80211/ht.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index 7e93e1079ade..4dc35c9dabc7 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c | |||
@@ -113,7 +113,7 @@ static void ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, | |||
113 | mgmt->u.action.u.addba_req.start_seq_num = | 113 | mgmt->u.action.u.addba_req.start_seq_num = |
114 | cpu_to_le16(start_seq_num << 4); | 114 | cpu_to_le16(start_seq_num << 4); |
115 | 115 | ||
116 | ieee80211_sta_tx(sdata, skb, 0); | 116 | ieee80211_tx_skb(sdata, skb, 0); |
117 | } | 117 | } |
118 | 118 | ||
119 | static void ieee80211_send_addba_resp(struct ieee80211_sub_if_data *sdata, u8 *da, u16 tid, | 119 | static void ieee80211_send_addba_resp(struct ieee80211_sub_if_data *sdata, u8 *da, u16 tid, |
@@ -159,7 +159,7 @@ static void ieee80211_send_addba_resp(struct ieee80211_sub_if_data *sdata, u8 *d | |||
159 | mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); | 159 | mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); |
160 | mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); | 160 | mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); |
161 | 161 | ||
162 | ieee80211_sta_tx(sdata, skb, 0); | 162 | ieee80211_tx_skb(sdata, skb, 0); |
163 | } | 163 | } |
164 | 164 | ||
165 | static void ieee80211_send_delba(struct ieee80211_sub_if_data *sdata, | 165 | static void ieee80211_send_delba(struct ieee80211_sub_if_data *sdata, |
@@ -202,7 +202,7 @@ static void ieee80211_send_delba(struct ieee80211_sub_if_data *sdata, | |||
202 | mgmt->u.action.u.delba.params = cpu_to_le16(params); | 202 | mgmt->u.action.u.delba.params = cpu_to_le16(params); |
203 | mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); | 203 | mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); |
204 | 204 | ||
205 | ieee80211_sta_tx(sdata, skb, 0); | 205 | ieee80211_tx_skb(sdata, skb, 0); |
206 | } | 206 | } |
207 | 207 | ||
208 | void ieee80211_send_bar(struct ieee80211_sub_if_data *sdata, u8 *ra, u16 tid, u16 ssn) | 208 | void ieee80211_send_bar(struct ieee80211_sub_if_data *sdata, u8 *ra, u16 tid, u16 ssn) |
@@ -231,7 +231,7 @@ void ieee80211_send_bar(struct ieee80211_sub_if_data *sdata, u8 *ra, u16 tid, u1 | |||
231 | bar->control = cpu_to_le16(bar_control); | 231 | bar->control = cpu_to_le16(bar_control); |
232 | bar->start_seq_num = cpu_to_le16(ssn); | 232 | bar->start_seq_num = cpu_to_le16(ssn); |
233 | 233 | ||
234 | ieee80211_sta_tx(sdata, skb, 0); | 234 | ieee80211_tx_skb(sdata, skb, 0); |
235 | } | 235 | } |
236 | 236 | ||
237 | void ieee80211_sta_stop_rx_ba_session(struct ieee80211_sub_if_data *sdata, u8 *ra, u16 tid, | 237 | void ieee80211_sta_stop_rx_ba_session(struct ieee80211_sub_if_data *sdata, u8 *ra, u16 tid, |