Lines Matching refs:scan_freq
102 static int brcmf_pno_config(struct brcmf_if *ifp, u32 scan_freq, in brcmf_pno_config() argument
121 pfn_param.scan_freq = cpu_to_le32(scan_freq); in brcmf_pno_config()
299 u32 *scan_freq) in brcmf_pno_prep_fwconfig() argument
313 *scan_freq = pi->reqs[0]->scan_plans[0].interval; in brcmf_pno_prep_fwconfig()
316 *scan_freq = gcd(sr->scan_plans[0].interval, *scan_freq); in brcmf_pno_prep_fwconfig()
318 if (*scan_freq < BRCMF_PNO_SCHED_SCAN_MIN_PERIOD) { in brcmf_pno_prep_fwconfig()
320 *scan_freq = BRCMF_PNO_SCHED_SCAN_MIN_PERIOD; in brcmf_pno_prep_fwconfig()
338 sr->scan_plans[0].interval / *scan_freq; in brcmf_pno_prep_fwconfig()
346 brcmf_err("base period=%u\n", *scan_freq); in brcmf_pno_prep_fwconfig()
399 u32 scan_freq; in brcmf_pno_config_sched_scans() local
404 &scan_freq); in brcmf_pno_config_sched_scans()
423 err = brcmf_pno_config(ifp, scan_freq, 0, 0); in brcmf_pno_config_sched_scans()