Home
last modified time | relevance | path

Searched refs:plink (Results 1 – 25 of 78) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/mesh/
H A Drtw_mesh.h159 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
160 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
161 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
162 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
164 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
165 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
166 (plink)->peer_conf_end_time++; \
169 #define IS_PEER_CONF_DISABLED(plink) 1 argument
170 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
171 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c380 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
381 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
386 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
387 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
416 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
421 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
725 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
756 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
760 plink = sta->plink; in rtw_mesh_peer_status_chk()
764 if (!rtw_bss_is_candidate_mesh_peer(&mlme->cur_network.network, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c379 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
380 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
385 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
386 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
415 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
420 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
724 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
755 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
759 plink = sta->plink; in rtw_mesh_peer_status_chk()
763 if (!rtw_bss_is_candidate_mesh_peer(&mlme->cur_network.network, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/mesh/
H A Drtw_mesh.h159 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
160 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
161 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
162 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
164 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
165 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
166 (plink)->peer_conf_end_time++; \
169 #define IS_PEER_CONF_DISABLED(plink) 1 argument
170 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
171 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c380 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
381 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
386 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
387 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
416 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
421 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
725 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
756 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
760 plink = sta->plink; in rtw_mesh_peer_status_chk()
764 if (!rtw_bss_is_candidate_mesh_peer(&mlme->cur_network.network, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/mesh/
H A Drtw_mesh.h159 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
160 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
161 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
162 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
164 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
165 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
166 (plink)->peer_conf_end_time++; \
169 #define IS_PEER_CONF_DISABLED(plink) 1 argument
170 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
171 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c380 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
381 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
386 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
387 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
416 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
421 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
725 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
756 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
760 plink = sta->plink; in rtw_mesh_peer_status_chk()
764 if (!rtw_bss_is_candidate_mesh_peer(&mlme->cur_network.network, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c414 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
415 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
420 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
421 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
450 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
455 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
759 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
790 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
794 plink = sta->plink; in rtw_mesh_peer_status_chk()
798 if (!rtw_bss_is_candidate_mesh_peer(adapter, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/mesh/
H A Drtw_mesh.h159 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
160 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
161 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
162 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
164 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
165 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
166 (plink)->peer_conf_end_time++; \
169 #define IS_PEER_CONF_DISABLED(plink) 1 argument
170 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
171 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c416 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
417 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
422 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
423 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
452 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
457 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
761 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
792 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
796 plink = sta->plink; in rtw_mesh_peer_status_chk()
800 if (!rtw_bss_is_candidate_mesh_peer(adapter, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c415 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
416 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
421 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
422 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
451 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
456 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
760 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
791 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
795 plink = sta->plink; in rtw_mesh_peer_status_chk()
799 if (!rtw_bss_is_candidate_mesh_peer(adapter, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c415 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
416 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
421 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
422 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
451 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
456 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
760 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
791 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
795 plink = sta->plink; in rtw_mesh_peer_status_chk()
799 if (!rtw_bss_is_candidate_mesh_peer(adapter, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c415 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
416 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
421 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
422 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
451 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
456 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
760 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
791 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
795 plink = sta->plink; in rtw_mesh_peer_status_chk()
799 if (!rtw_bss_is_candidate_mesh_peer(adapter, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/mesh/
H A Drtw_mesh.h158 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
159 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
160 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
161 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
163 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
164 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
165 (plink)->peer_conf_end_time++; \
168 #define IS_PEER_CONF_DISABLED(plink) 1 argument
169 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
170 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c415 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
416 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
421 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
422 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
451 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
456 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
760 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
791 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
795 plink = sta->plink; in rtw_mesh_peer_status_chk()
799 if (!rtw_bss_is_candidate_mesh_peer(adapter, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/mesh/
H A Drtw_mesh.h159 #define IS_PEER_CONF_DISABLED(plink) ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) argument
160 #define IS_PEER_CONF_TIMEOUT(plink)(!IS_PEER_CONF_DISABLED(plink) && rtw_time_after(rtw_get_current… argument
161 #define SET_PEER_CONF_DISABLED(plink) (plink)->peer_conf_end_time = RTW_MESH_PEER_CONF_DISABLED argument
162 #define SET_PEER_CONF_END_TIME(plink, timeout_ms) \ argument
164 (plink)->peer_conf_end_time = rtw_get_current_time() + rtw_ms_to_systime(timeout_ms); \
165 if ((plink)->peer_conf_end_time == RTW_MESH_PEER_CONF_DISABLED) \
166 (plink)->peer_conf_end_time++; \
169 #define IS_PEER_CONF_DISABLED(plink) 1 argument
170 #define IS_PEER_CONF_TIMEOUT(plink) 0 argument
171 #define SET_PEER_CONF_DISABLED(plink) do {} while (0) argument
[all …]
H A Drtw_mesh.c416 if (IS_CTO_MGATE_CONF_TIMEOUT(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
417 if (!IS_CTO_MGATE_CONF_TIMEOUT((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
422 } else if (!IS_CTO_MGATE_CONF_DISABLED(com->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
423 if (IS_CTO_MGATE_CONF_DISABLED((*sac)->plink)) { in rtw_mesh_acnode_prevent_sacrifice_chk()
452 if (!sta->plink || !sta->plink->scanned) { in _rtw_mesh_acnode_prevent_pick_sacrifice()
457 rtw_mesh_bss_peering_status(&sta->plink->scanned->network, &nop, NULL); in _rtw_mesh_acnode_prevent_pick_sacrifice()
761 struct mesh_plink_ent *plink; in rtw_mesh_peer_status_chk() local
792 if (!sta->plink || !sta->plink->scanned) { in rtw_mesh_peer_status_chk()
796 plink = sta->plink; in rtw_mesh_peer_status_chk()
800 if (!rtw_bss_is_candidate_mesh_peer(adapter, &plink->scanned->network, 1, 0) in rtw_mesh_peer_status_chk()
[all …]

1234