Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1272c5d8 authored by Luca Coelho's avatar Luca Coelho Committed by Johannes Berg
Browse files

mac80211: add documentation to ieee80211_rx_ba_offl()



Add documentation to ieee80211_rx_ba_offl() function and, while at it,
rename the bit argument to tid, for consistency.

Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 40b0bd24
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
@@ -5441,8 +5441,14 @@ void ieee80211_mark_rx_ba_filtered_frames(struct ieee80211_sta *pubsta, u8 tid,
 */
 */
void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn);
void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn);


/**
 * ieee80211_manage_rx_ba_offl - helper to queue an RX BA work
 * @vif: &struct ieee80211_vif pointer from the add_interface callback
 * @addr: station mac address
 * @tid: the rx tid
 */
void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif, const u8 *addr,
void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif, const u8 *addr,
				 unsigned int bit);
				 unsigned int tid);


/**
/**
 * ieee80211_start_rx_ba_session_offl - start a Rx BA session
 * ieee80211_start_rx_ba_session_offl - start a Rx BA session
+2 −2
Original line number Original line Diff line number Diff line
@@ -459,7 +459,7 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,
}
}


void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif,
void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif,
				 const u8 *addr, unsigned int bit)
				 const u8 *addr, unsigned int tid)
{
{
	struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
	struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
	struct ieee80211_local *local = sdata->local;
	struct ieee80211_local *local = sdata->local;
@@ -470,7 +470,7 @@ void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif,
	if (!sta)
	if (!sta)
		goto unlock;
		goto unlock;


	set_bit(bit, sta->ampdu_mlme.tid_rx_manage_offl);
	set_bit(tid, sta->ampdu_mlme.tid_rx_manage_offl);
	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
 unlock:
 unlock:
	rcu_read_unlock();
	rcu_read_unlock();