hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: ISC
12 /*
23 * Copyright (c) 2013 Broadcom Corporation
3
- *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
7
- *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11
- * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
154 */
165 #ifndef BRCMFMAC_PROTO_H
176 #define BRCMFMAC_PROTO_H
....@@ -43,7 +32,7 @@
4332 u8 peer[ETH_ALEN]);
4433 void (*add_tdls_peer)(struct brcmf_pub *drvr, int ifidx,
4534 u8 peer[ETH_ALEN]);
46
- void (*rxreorder)(struct brcmf_if *ifp, struct sk_buff *skb);
35
+ void (*rxreorder)(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq);
4736 void (*add_if)(struct brcmf_if *ifp);
4837 void (*del_if)(struct brcmf_if *ifp);
4938 void (*reset_if)(struct brcmf_if *ifp);
....@@ -54,8 +43,7 @@
5443
5544
5645 int brcmf_proto_attach(struct brcmf_pub *drvr);
57
-void brcmf_proto_detach_pre_delif(struct brcmf_pub *drvr);
58
-void brcmf_proto_detach_post_delif(struct brcmf_pub *drvr);
46
+void brcmf_proto_detach(struct brcmf_pub *drvr);
5947
6048 static inline int brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws,
6149 struct sk_buff *skb,
....@@ -121,9 +109,9 @@
121109 }
122110
123111 static inline void
124
-brcmf_proto_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb)
112
+brcmf_proto_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq)
125113 {
126
- ifp->drvr->proto->rxreorder(ifp, skb);
114
+ ifp->drvr->proto->rxreorder(ifp, skb, inirq);
127115 }
128116
129117 static inline void