Home
last modified time | relevance | path

Searched refs:gate_mpath (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/net/mac80211/
H A Dmesh_pathtbl.c106 struct mesh_path *gate_mpath) in prepare_for_gate() argument
138 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate()
141 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate()
162 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath, in mesh_path_move_to_queue() argument
170 if (WARN_ON(gate_mpath == from_mpath)) in mesh_path_move_to_queue()
172 if (WARN_ON(!gate_mpath->next_hop)) in mesh_path_move_to_queue()
182 if (skb_queue_len(&gate_mpath->frame_queue) >= in mesh_path_move_to_queue()
184 mpath_dbg(gate_mpath->sdata, "mpath queue full!\n"); in mesh_path_move_to_queue()
192 prepare_for_gate(skb, gate_mpath->dst, gate_mpath); in mesh_path_move_to_queue()
193 skb_queue_tail(&gate_mpath->frame_queue, skb); in mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->phl_sta->mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
170 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
172 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
186 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
188 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
197 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
198 _rtw_spinlock_bh(&gate_mpath->frame_queue.lock); in rtw_mesh_path_move_to_queue()
199 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->phl_sta->mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
170 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
172 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
186 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
188 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
197 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
198 _rtw_spinlock_bh(&gate_mpath->frame_queue.lock); in rtw_mesh_path_move_to_queue()
199 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/mesh/
H A Drtw_mesh_pathtbl.c128 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
138 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
162 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
172 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
174 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
188 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
190 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
199 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
200 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
201 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
171 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
173 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
187 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
189 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
198 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
199 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
200 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/mesh/
H A Drtw_mesh_pathtbl.c128 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
138 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
162 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
172 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
174 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
188 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
190 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
199 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
200 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
201 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
171 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
173 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
187 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
189 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
198 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
199 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
200 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
171 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
173 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
187 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
189 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
198 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
199 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
200 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
171 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
173 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
187 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
189 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
198 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
199 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
200 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
171 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
173 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
187 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
189 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
198 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
199 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
200 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/mesh/
H A Drtw_mesh_pathtbl.c128 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
138 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
162 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
172 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
174 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
188 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
190 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
199 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
200 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
201 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
171 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
173 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
187 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
189 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
198 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
199 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
200 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/mesh/
H A Drtw_mesh_pathtbl.c128 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
138 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
162 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
172 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
174 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
188 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
190 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
199 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
200 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
201 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/mesh/
H A Drtw_mesh_pathtbl.c128 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
138 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
162 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
172 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
174 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
188 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
190 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
199 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
200 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
201 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/mesh/
H A Drtw_mesh_pathtbl.c127 struct rtw_mesh_path *gate_mpath) in rtw_prepare_for_gate() argument
137 next_hop = rtw_rcu_dereference(gate_mpath->next_hop)->cmn.mac_addr; in rtw_prepare_for_gate()
161 static void rtw_mesh_path_move_to_queue(struct rtw_mesh_path *gate_mpath, in rtw_mesh_path_move_to_queue() argument
171 if (rtw_warn_on(gate_mpath == from_mpath)) in rtw_mesh_path_move_to_queue()
173 if (rtw_warn_on(!gate_mpath->next_hop)) in rtw_mesh_path_move_to_queue()
187 if (gate_mpath->frame_queue_len >= RTW_MESH_FRAME_QUEUE_LEN) { in rtw_mesh_path_move_to_queue()
189 , FUNC_ADPT_ARG(gate_mpath->adapter), gate_mpath->dst); in rtw_mesh_path_move_to_queue()
198 rtw_prepare_for_gate(fskb, gate_mpath->dst, gate_mpath); in rtw_mesh_path_move_to_queue()
199 _enter_critical_bh(&gate_mpath->frame_queue.lock, &flags); in rtw_mesh_path_move_to_queue()
200 rtw_list_insert_tail(&fskb->list, get_list_head(&gate_mpath->frame_queue)); in rtw_mesh_path_move_to_queue()
[all …]