.. | .. |
---|
| 1 | +// SPDX-License-Identifier: ISC |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2012 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. |
---|
15 | 4 | */ |
---|
16 | 5 | |
---|
17 | 6 | |
---|
.. | .. |
---|
266 | 255 | * @status: status information. |
---|
267 | 256 | * @reason: reason code. |
---|
268 | 257 | * @auth_type: authentication type. |
---|
269 | | - * @datalen: lenght of event data buffer. |
---|
| 258 | + * @datalen: length of event data buffer. |
---|
270 | 259 | * @addr: ether address. |
---|
271 | 260 | * @ifname: interface name. |
---|
272 | 261 | * @ifidx: interface index. |
---|
.. | .. |
---|
330 | 319 | int brcmf_fweh_activate_events(struct brcmf_if *ifp); |
---|
331 | 320 | void brcmf_fweh_process_event(struct brcmf_pub *drvr, |
---|
332 | 321 | struct brcmf_event *event_packet, |
---|
333 | | - u32 packet_len); |
---|
| 322 | + u32 packet_len, gfp_t gfp); |
---|
334 | 323 | void brcmf_fweh_p2pdev_setup(struct brcmf_if *ifp, bool ongoing); |
---|
335 | 324 | |
---|
336 | 325 | static inline void brcmf_fweh_process_skb(struct brcmf_pub *drvr, |
---|
337 | | - struct sk_buff *skb, u16 stype) |
---|
| 326 | + struct sk_buff *skb, u16 stype, |
---|
| 327 | + gfp_t gfp) |
---|
338 | 328 | { |
---|
339 | 329 | struct brcmf_event *event_packet; |
---|
340 | 330 | u16 subtype, usr_stype; |
---|
.. | .. |
---|
365 | 355 | if (usr_stype != BCMILCP_BCM_SUBTYPE_EVENT) |
---|
366 | 356 | return; |
---|
367 | 357 | |
---|
368 | | - brcmf_fweh_process_event(drvr, event_packet, skb->len + ETH_HLEN); |
---|
| 358 | + brcmf_fweh_process_event(drvr, event_packet, skb->len + ETH_HLEN, gfp); |
---|
369 | 359 | } |
---|
370 | 360 | |
---|
371 | 361 | #endif /* FWEH_H_ */ |
---|