/* * Timer handling */ #ifndef __CTTIMER_H #define __CTTIMER_H #include #include #include struct snd_pcm_substream; struct ct_atc; struct ct_atc_pcm; struct ct_timer; struct ct_timer_instance; struct ct_timer *ct_timer_new(struct ct_atc *atc); void ct_timer_free(struct ct_timer *atimer); struct ct_timer_instance * ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm); void ct_timer_instance_free(struct ct_timer_instance *ti); void ct_timer_start(struct ct_timer_instance *ti); void ct_timer_stop(struct ct_timer_instance *ti); void ct_timer_prepare(struct ct_timer_instance *ti); #endif /* __CTTIMER_H */ ' alt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArend Van Spriel <arend.vanspriel@broadcom.com>2017-01-27 12:27:47 +0000
committerKalle Valo <kvalo@codeaurora.org>2017-01-31 09:24:59 +0200
commit0b57010fc18e12c19d14379cd739d4eb7c3898f3 (patch)
tree14c3dc4cfa9ff440d709bfa8617f6779a4a31a92 /drivers
parentd29afe91af5995306d940b3dfee2419e0bb24a51 (diff)
brcmfmac: allow wowlan support to be per device
The wowlan support is (partially) determined dynamic by checking the device/firmware capabilities. So they can differ per device. So it is not possible to use a static global. Instead use the global as a template and use kmemdup(). When kmemdup() fails the template is used unmodified. Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com> Reviewed-by: Franky Lin <franky.lin@broadcom.com> Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c26
1 files changed, 19 insertions, 7 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c