Lines Matching refs:pno_req
538 struct rtw_pno_request *pno_req = &rtw_wow->pno_req; in rtw_wow_check_pno() local
545 pno_req->match_set_cnt = nd_config->n_match_sets; in rtw_wow_check_pno()
546 size = sizeof(*pno_req->match_sets) * pno_req->match_set_cnt; in rtw_wow_check_pno()
547 pno_req->match_sets = kmemdup(nd_config->match_sets, size, GFP_KERNEL); in rtw_wow_check_pno()
548 if (!pno_req->match_sets) in rtw_wow_check_pno()
551 pno_req->channel_cnt = nd_config->n_channels; in rtw_wow_check_pno()
553 pno_req->channels = kmalloc(size, GFP_KERNEL); in rtw_wow_check_pno()
554 if (!pno_req->channels) in rtw_wow_check_pno()
557 for (i = 0 ; i < pno_req->channel_cnt; i++) { in rtw_wow_check_pno()
558 channel = pno_req->channels + i; in rtw_wow_check_pno()
562 pno_req->scan_plan = *nd_config->scan_plans; in rtw_wow_check_pno()
563 pno_req->inited = true; in rtw_wow_check_pno()
570 kfree(pno_req->match_sets); in rtw_wow_check_pno()
795 if (rtw_wow->pno_req.inited) in rtw_wow_vif_iter()
840 struct rtw_pno_request *pno_req = &rtw_wow->pno_req; in rtw_wow_clear_wakeups() local
842 if (pno_req->inited) { in rtw_wow_clear_wakeups()
843 kfree(pno_req->channels); in rtw_wow_clear_wakeups()
844 kfree(pno_req->match_sets); in rtw_wow_clear_wakeups()