1 From f8793c26fe586659d6da3fa277e63961a69d314b Mon Sep 17 00:00:00 2001
2 From: Arend Van Spriel <arend.vanspriel@broadcom.com>
3 Date: Wed, 16 May 2018 14:11:58 +0200
4 Subject: [PATCH] brcmfmac: move ALLFFMAC variable in flowring module
6 The only user of ALLFFMAC is the flowring module so no need to
7 expose it in a header file.
9 Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
10 Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
11 Reviewed-by: Franky Lin <franky.lin@broadcom.com>
12 Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
13 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
15 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 2 --
16 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h | 2 --
17 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c | 2 ++
18 3 files changed, 2 insertions(+), 4 deletions(-)
20 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
21 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
22 @@ -36,8 +36,6 @@ MODULE_AUTHOR("Broadcom Corporation");
23 MODULE_DESCRIPTION("Broadcom 802.11 wireless LAN fullmac driver.");
24 MODULE_LICENSE("Dual BSD/GPL");
26 -const u8 ALLFFMAC[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
28 #define BRCMF_DEFAULT_SCAN_CHANNEL_TIME 40
29 #define BRCMF_DEFAULT_SCAN_UNASSOC_TIME 40
31 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
32 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
34 #include <linux/platform_data/brcmfmac.h>
35 #include "fwil_types.h"
37 -extern const u8 ALLFFMAC[ETH_ALEN];
39 #define BRCMF_FW_ALTPATH_LEN 256
41 /* Definitions for the module global and device specific settings are defined
42 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c
43 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c
44 @@ -46,6 +46,8 @@ static const u8 brcmf_flowring_prio2fifo
48 +static const u8 ALLFFMAC[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
52 brcmf_flowring_is_tdls_mac(struct brcmf_flowring *flow, u8 mac[ETH_ALEN])