Home
last modified time | relevance | path

Searched refs:p2pinfo (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dps.c737 struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); in rtl_p2p_noa_ie() local
781 P2P_PS_NONE || noa_index != p2pinfo->noa_index) { in rtl_p2p_noa_ie()
784 p2pinfo->noa_index = noa_index; in rtl_p2p_noa_ie()
785 p2pinfo->opp_ps = (ie[4] >> 7); in rtl_p2p_noa_ie()
786 p2pinfo->ctwindow = ie[4] & 0x7F; in rtl_p2p_noa_ie()
787 p2pinfo->noa_num = noa_num; in rtl_p2p_noa_ie()
790 p2pinfo->noa_count_type[i] = in rtl_p2p_noa_ie()
793 p2pinfo->noa_duration[i] = in rtl_p2p_noa_ie()
796 p2pinfo->noa_interval[i] = in rtl_p2p_noa_ie()
799 p2pinfo->noa_start_time[i] = in rtl_p2p_noa_ie()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/
Dps.c719 struct rtl_p2p_ps_info *p2pinfo = &rtlpriv->psc.p2p_ps_info; in rtl_p2p_noa_ie() local
763 P2P_PS_NONE || noa_index != p2pinfo->noa_index) { in rtl_p2p_noa_ie()
766 p2pinfo->noa_index = noa_index; in rtl_p2p_noa_ie()
767 p2pinfo->opp_ps = (ie[4] >> 7); in rtl_p2p_noa_ie()
768 p2pinfo->ctwindow = ie[4] & 0x7F; in rtl_p2p_noa_ie()
769 p2pinfo->noa_num = noa_num; in rtl_p2p_noa_ie()
772 p2pinfo->noa_count_type[i] = in rtl_p2p_noa_ie()
775 p2pinfo->noa_duration[i] = in rtl_p2p_noa_ie()
778 p2pinfo->noa_interval[i] = in rtl_p2p_noa_ie()
781 p2pinfo->noa_start_time[i] = in rtl_p2p_noa_ie()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c516 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl8723e_set_p2p_ps_offload_cmd() local
530 if (p2pinfo->ctwindow > 0) { in rtl8723e_set_p2p_ps_offload_cmd()
532 ctwindow = p2pinfo->ctwindow; in rtl8723e_set_p2p_ps_offload_cmd()
537 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8723e_set_p2p_ps_offload_cmd()
547 p2pinfo->noa_duration[i]); in rtl8723e_set_p2p_ps_offload_cmd()
549 p2pinfo->noa_interval[i]); in rtl8723e_set_p2p_ps_offload_cmd()
554 start_time = p2pinfo->noa_start_time[i]; in rtl8723e_set_p2p_ps_offload_cmd()
555 if (p2pinfo->noa_count_type[i] != 1) { in rtl8723e_set_p2p_ps_offload_cmd()
559 p2pinfo->noa_interval[i]; in rtl8723e_set_p2p_ps_offload_cmd()
560 if (p2pinfo->noa_count_type[i] != 255) in rtl8723e_set_p2p_ps_offload_cmd()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c622 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl8723be_set_p2p_ps_offload_cmd() local
636 if (p2pinfo->ctwindow > 0) { in rtl8723be_set_p2p_ps_offload_cmd()
638 ctwindow = p2pinfo->ctwindow; in rtl8723be_set_p2p_ps_offload_cmd()
642 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8723be_set_p2p_ps_offload_cmd()
654 p2pinfo->noa_duration[i]); in rtl8723be_set_p2p_ps_offload_cmd()
656 p2pinfo->noa_interval[i]); in rtl8723be_set_p2p_ps_offload_cmd()
661 start_time = p2pinfo->noa_start_time[i]; in rtl8723be_set_p2p_ps_offload_cmd()
662 if (p2pinfo->noa_count_type[i] != 1) { in rtl8723be_set_p2p_ps_offload_cmd()
664 start_time += p2pinfo->noa_interval[i]; in rtl8723be_set_p2p_ps_offload_cmd()
665 if (p2pinfo->noa_count_type[i] != 255) in rtl8723be_set_p2p_ps_offload_cmd()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c692 struct rtl_p2p_ps_info *p2pinfo, in set_noa_data() argument
699 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in set_noa_data()
709 p2pinfo->noa_duration[i]); in set_noa_data()
711 p2pinfo->noa_interval[i]); in set_noa_data()
716 start_time = p2pinfo->noa_start_time[i]; in set_noa_data()
717 if (p2pinfo->noa_count_type[i] != 1) { in set_noa_data()
719 start_time += p2pinfo->noa_interval[i]; in set_noa_data()
720 if (p2pinfo->noa_count_type[i] != 255) in set_noa_data()
721 p2pinfo->noa_count_type[i]--; in set_noa_data()
726 p2pinfo->noa_count_type[i]); in set_noa_data()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c658 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl88e_set_p2p_ps_offload_cmd() local
672 if (p2pinfo->ctwindow > 0) { in rtl88e_set_p2p_ps_offload_cmd()
674 ctwindow = p2pinfo->ctwindow; in rtl88e_set_p2p_ps_offload_cmd()
679 for (i = 0 ; i < p2pinfo->noa_num; i++) { in rtl88e_set_p2p_ps_offload_cmd()
689 p2pinfo->noa_duration[i]); in rtl88e_set_p2p_ps_offload_cmd()
691 p2pinfo->noa_interval[i]); in rtl88e_set_p2p_ps_offload_cmd()
696 start_time = p2pinfo->noa_start_time[i]; in rtl88e_set_p2p_ps_offload_cmd()
697 if (p2pinfo->noa_count_type[i] != 1) { in rtl88e_set_p2p_ps_offload_cmd()
699 start_time += p2pinfo->noa_interval[i]; in rtl88e_set_p2p_ps_offload_cmd()
700 if (p2pinfo->noa_count_type[i] != 255) in rtl88e_set_p2p_ps_offload_cmd()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c801 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl92ee_set_p2p_ps_offload_cmd() local
815 if (p2pinfo->ctwindow > 0) { in rtl92ee_set_p2p_ps_offload_cmd()
817 ctwindow = p2pinfo->ctwindow; in rtl92ee_set_p2p_ps_offload_cmd()
821 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl92ee_set_p2p_ps_offload_cmd()
830 p2pinfo->noa_duration[i]); in rtl92ee_set_p2p_ps_offload_cmd()
832 p2pinfo->noa_interval[i]); in rtl92ee_set_p2p_ps_offload_cmd()
837 start_time = p2pinfo->noa_start_time[i]; in rtl92ee_set_p2p_ps_offload_cmd()
838 if (p2pinfo->noa_count_type[i] != 1) { in rtl92ee_set_p2p_ps_offload_cmd()
840 start_time += p2pinfo->noa_interval[i]; in rtl92ee_set_p2p_ps_offload_cmd()
841 if (p2pinfo->noa_count_type[i] != 255) in rtl92ee_set_p2p_ps_offload_cmd()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dfw.c781 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl8822be_set_p2p_ps_offload_cmd() local
795 if (p2pinfo->ctwindow > 0) { in rtl8822be_set_p2p_ps_offload_cmd()
797 ctwindow = p2pinfo->ctwindow; in rtl8822be_set_p2p_ps_offload_cmd()
801 for (i = 0; i < p2pinfo->noa_num; i++) { in rtl8822be_set_p2p_ps_offload_cmd()
810 p2pinfo->noa_duration[i]); in rtl8822be_set_p2p_ps_offload_cmd()
812 p2pinfo->noa_interval[i]); in rtl8822be_set_p2p_ps_offload_cmd()
817 start_time = p2pinfo->noa_start_time[i]; in rtl8822be_set_p2p_ps_offload_cmd()
818 if (p2pinfo->noa_count_type[i] != 1) { in rtl8822be_set_p2p_ps_offload_cmd()
820 start_time += p2pinfo->noa_interval[i]; in rtl8822be_set_p2p_ps_offload_cmd()
821 if (p2pinfo->noa_count_type[i] != 255) in rtl8822be_set_p2p_ps_offload_cmd()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c1828 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl8821ae_set_p2p_ps_offload_cmd() local
1842 if (p2pinfo->ctwindow > 0) { in rtl8821ae_set_p2p_ps_offload_cmd()
1844 ctwindow = p2pinfo->ctwindow; in rtl8821ae_set_p2p_ps_offload_cmd()
1849 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8821ae_set_p2p_ps_offload_cmd()
1858 rtl_write_dword(rtlpriv, 0x5E0, p2pinfo->noa_duration[i]); in rtl8821ae_set_p2p_ps_offload_cmd()
1859 rtl_write_dword(rtlpriv, 0x5E4, p2pinfo->noa_interval[i]); in rtl8821ae_set_p2p_ps_offload_cmd()
1864 start_time = p2pinfo->noa_start_time[i]; in rtl8821ae_set_p2p_ps_offload_cmd()
1865 if (p2pinfo->noa_count_type[i] != 1) { in rtl8821ae_set_p2p_ps_offload_cmd()
1867 start_time += p2pinfo->noa_interval[i]; in rtl8821ae_set_p2p_ps_offload_cmd()
1868 if (p2pinfo->noa_count_type[i] != 255) in rtl8821ae_set_p2p_ps_offload_cmd()
[all …]