summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-01-18 14:23:21 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-18 14:23:20 -0800
commite64abf0e803cdcf7633755c2b7d1b332bd9ff1c8 (patch)
tree975a37ee97e51753d91690fdf64a8bab061dcfdc /include
parent582a811220ef94aab6be29a48c251d86fcb0c88e (diff)
parent434781b50116e9e3a05e4d7e8b8729ac61a411b1 (diff)
Merge "mac80211: allow passing transmitter station on RX"
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 2dc3abfd61be..ee5270f984ba 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3762,11 +3762,12 @@ void ieee80211_restart_hw(struct ieee80211_hw *hw);
* This function must be called with BHs disabled.
*
* @hw: the hardware this frame came in on
+ * @sta: the station the frame was received from, or %NULL
* @skb: the buffer to receive, owned by mac80211 after this call
* @napi: the NAPI context
*/
-void ieee80211_rx_napi(struct ieee80211_hw *hw, struct sk_buff *skb,
- struct napi_struct *napi);
+void ieee80211_rx_napi(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
+ struct sk_buff *skb, struct napi_struct *napi);
/**
* ieee80211_rx - receive frame
@@ -3790,7 +3791,7 @@ void ieee80211_rx_napi(struct ieee80211_hw *hw, struct sk_buff *skb,
*/
static inline void ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb)
{
- ieee80211_rx_napi(hw, skb, NULL);
+ ieee80211_rx_napi(hw, NULL, skb, NULL);
}
/**