Searched refs:p2pinfo (Results 1 – 7 of 7) sorted by relevance
710 struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); in rtl_p2p_noa_ie() local758 P2P_PS_NONE || noa_index != p2pinfo->noa_index) { in rtl_p2p_noa_ie()761 p2pinfo->noa_index = noa_index; in rtl_p2p_noa_ie()762 p2pinfo->opp_ps = (ie[4] >> 7); in rtl_p2p_noa_ie()763 p2pinfo->ctwindow = ie[4] & 0x7F; in rtl_p2p_noa_ie()764 p2pinfo->noa_num = noa_num; in rtl_p2p_noa_ie()767 p2pinfo->noa_count_type[i] = in rtl_p2p_noa_ie()770 p2pinfo->noa_duration[i] = in rtl_p2p_noa_ie()773 p2pinfo->noa_interval[i] = in rtl_p2p_noa_ie()776 p2pinfo->noa_start_time[i] = in rtl_p2p_noa_ie()[all …]
496 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl8723e_set_p2p_ps_offload_cmd() local510 if (p2pinfo->ctwindow > 0) { in rtl8723e_set_p2p_ps_offload_cmd()512 ctwindow = p2pinfo->ctwindow; in rtl8723e_set_p2p_ps_offload_cmd()517 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8723e_set_p2p_ps_offload_cmd()527 p2pinfo->noa_duration[i]); in rtl8723e_set_p2p_ps_offload_cmd()529 p2pinfo->noa_interval[i]); in rtl8723e_set_p2p_ps_offload_cmd()534 start_time = p2pinfo->noa_start_time[i]; in rtl8723e_set_p2p_ps_offload_cmd()535 if (p2pinfo->noa_count_type[i] != 1) { in rtl8723e_set_p2p_ps_offload_cmd()539 p2pinfo->noa_interval[i]; in rtl8723e_set_p2p_ps_offload_cmd()540 if (p2pinfo->noa_count_type[i] != 255) in rtl8723e_set_p2p_ps_offload_cmd()[all …]
602 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl8723be_set_p2p_ps_offload_cmd() local616 if (p2pinfo->ctwindow > 0) { in rtl8723be_set_p2p_ps_offload_cmd()618 ctwindow = p2pinfo->ctwindow; in rtl8723be_set_p2p_ps_offload_cmd()622 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8723be_set_p2p_ps_offload_cmd()634 p2pinfo->noa_duration[i]); in rtl8723be_set_p2p_ps_offload_cmd()636 p2pinfo->noa_interval[i]); in rtl8723be_set_p2p_ps_offload_cmd()641 start_time = p2pinfo->noa_start_time[i]; in rtl8723be_set_p2p_ps_offload_cmd()642 if (p2pinfo->noa_count_type[i] != 1) { in rtl8723be_set_p2p_ps_offload_cmd()644 start_time += p2pinfo->noa_interval[i]; in rtl8723be_set_p2p_ps_offload_cmd()645 if (p2pinfo->noa_count_type[i] != 255) in rtl8723be_set_p2p_ps_offload_cmd()[all …]
671 struct rtl_p2p_ps_info *p2pinfo, in set_noa_data() argument678 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()[all …]
638 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl88e_set_p2p_ps_offload_cmd() local652 if (p2pinfo->ctwindow > 0) { in rtl88e_set_p2p_ps_offload_cmd()654 ctwindow = p2pinfo->ctwindow; in rtl88e_set_p2p_ps_offload_cmd()659 for (i = 0 ; i < p2pinfo->noa_num; i++) { in rtl88e_set_p2p_ps_offload_cmd()669 p2pinfo->noa_duration[i]); in rtl88e_set_p2p_ps_offload_cmd()671 p2pinfo->noa_interval[i]); in rtl88e_set_p2p_ps_offload_cmd()676 start_time = p2pinfo->noa_start_time[i]; in rtl88e_set_p2p_ps_offload_cmd()677 if (p2pinfo->noa_count_type[i] != 1) { in rtl88e_set_p2p_ps_offload_cmd()679 start_time += p2pinfo->noa_interval[i]; in rtl88e_set_p2p_ps_offload_cmd()680 if (p2pinfo->noa_count_type[i] != 255) in rtl88e_set_p2p_ps_offload_cmd()[all …]
778 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl92ee_set_p2p_ps_offload_cmd() local792 if (p2pinfo->ctwindow > 0) { in rtl92ee_set_p2p_ps_offload_cmd()794 ctwindow = p2pinfo->ctwindow; in rtl92ee_set_p2p_ps_offload_cmd()798 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl92ee_set_p2p_ps_offload_cmd()807 p2pinfo->noa_duration[i]); in rtl92ee_set_p2p_ps_offload_cmd()809 p2pinfo->noa_interval[i]); in rtl92ee_set_p2p_ps_offload_cmd()814 start_time = p2pinfo->noa_start_time[i]; in rtl92ee_set_p2p_ps_offload_cmd()815 if (p2pinfo->noa_count_type[i] != 1) { in rtl92ee_set_p2p_ps_offload_cmd()817 start_time += p2pinfo->noa_interval[i]; in rtl92ee_set_p2p_ps_offload_cmd()818 if (p2pinfo->noa_count_type[i] != 255) in rtl92ee_set_p2p_ps_offload_cmd()[all …]
1810 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl8821ae_set_p2p_ps_offload_cmd() local1824 if (p2pinfo->ctwindow > 0) { in rtl8821ae_set_p2p_ps_offload_cmd()1826 ctwindow = p2pinfo->ctwindow; in rtl8821ae_set_p2p_ps_offload_cmd()1831 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8821ae_set_p2p_ps_offload_cmd()1840 rtl_write_dword(rtlpriv, 0x5E0, p2pinfo->noa_duration[i]); in rtl8821ae_set_p2p_ps_offload_cmd()1841 rtl_write_dword(rtlpriv, 0x5E4, p2pinfo->noa_interval[i]); in rtl8821ae_set_p2p_ps_offload_cmd()1846 start_time = p2pinfo->noa_start_time[i]; in rtl8821ae_set_p2p_ps_offload_cmd()1847 if (p2pinfo->noa_count_type[i] != 1) { in rtl8821ae_set_p2p_ps_offload_cmd()1849 start_time += p2pinfo->noa_interval[i]; in rtl8821ae_set_p2p_ps_offload_cmd()1850 if (p2pinfo->noa_count_type[i] != 255) in rtl8821ae_set_p2p_ps_offload_cmd()[all …]