Since yesterday I get the following build error on wl-testing/master:

  CC [M]  drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function ‘brcmf_notify_connect_status_ap’: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5530:1: error: the frame size of 1592 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
 }
 ^

In the function brcmf_notify_connect_status_ap() I do have following on the stack:

static s32
brcmf_notify_connect_status_ap(struct brcmf_cfg80211_info *cfg,
                               struct net_device *ndev,
                               const struct brcmf_event_msg *e, void *data)
{
        static int generation;
        u32 event = e->event_code;
        u32 reason = e->reason;
        struct station_info sinfo;

I guess the struct station_info grew bigger by these commits:

52539ca cfg80211: Expose TXQ stats and parameters to userspace  +816
81d5439 cfg80211: average ack rssi support for data frames      +1

There are a number of other (cfg80211-based) drivers doing the same thing, ie. mwifiex, ath6kl, qtnfmac.

Regards,
Arend

Reply via email to