Lines Matching refs:p2pinfo
671 struct rtl_p2p_ps_info *p2pinfo, in set_noa_data() argument
678 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in set_noa_data()
688 p2pinfo->noa_duration[i]); in set_noa_data()
690 p2pinfo->noa_interval[i]); in set_noa_data()
695 start_time = p2pinfo->noa_start_time[i]; in set_noa_data()
696 if (p2pinfo->noa_count_type[i] != 1) { in set_noa_data()
698 start_time += p2pinfo->noa_interval[i]; in set_noa_data()
699 if (p2pinfo->noa_count_type[i] != 255) in set_noa_data()
700 p2pinfo->noa_count_type[i]--; in set_noa_data()
705 p2pinfo->noa_count_type[i]); in set_noa_data()
714 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl92c_set_p2p_ps_offload_cmd() local
728 if (p2pinfo->ctwindow > 0) { in rtl92c_set_p2p_ps_offload_cmd()
730 ctwindow = p2pinfo->ctwindow; in rtl92c_set_p2p_ps_offload_cmd()
734 set_noa_data(rtlpriv, p2pinfo, p2p_ps_offload); in rtl92c_set_p2p_ps_offload_cmd()
736 if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { in rtl92c_set_p2p_ps_offload_cmd()
761 p2pinfo->p2p_ps_state = P2P_PS_ENABLE; in rtl92c_set_p2p_ps_offload_cmd()