Lines Matching refs:meshpeer

2240 	const struct ieee80211_meshpeer_ie *meshpeer;  in mesh_recv_action_meshpeering_open()  local
2244 meshpeer = mesh_parse_meshpeering_action(ni, wh, frm+2+2, efrm, &ie, in mesh_recv_action_meshpeering_open()
2246 if (meshpeer == NULL) { in mesh_recv_action_meshpeering_open()
2252 "recv PEER OPEN, lid 0x%x", meshpeer->peer_llinkid); in mesh_recv_action_meshpeering_open()
2258 args[0] = meshpeer->peer_llinkid; in mesh_recv_action_meshpeering_open()
2270 ni->ni_mllid = meshpeer->peer_llinkid; in mesh_recv_action_meshpeering_open()
2290 if (ni->ni_mllid != meshpeer->peer_llinkid) { in mesh_recv_action_meshpeering_open()
2311 ni->ni_mllid = meshpeer->peer_llinkid; in mesh_recv_action_meshpeering_open()
2322 if (ni->ni_mlpid != meshpeer->peer_linkid || in mesh_recv_action_meshpeering_open()
2323 ni->ni_mllid != meshpeer->peer_llinkid) { in mesh_recv_action_meshpeering_open()
2337 ni->ni_mllid = meshpeer->peer_llinkid; in mesh_recv_action_meshpeering_open()
2347 if (ni->ni_mllid != meshpeer->peer_llinkid) { in mesh_recv_action_meshpeering_open()
2368 args[1] = meshpeer->peer_llinkid; in mesh_recv_action_meshpeering_open()
2387 const struct ieee80211_meshpeer_ie *meshpeer; in mesh_recv_action_meshpeering_confirm() local
2391 meshpeer = mesh_parse_meshpeering_action(ni, wh, frm+2+2+2+2, efrm, &ie, in mesh_recv_action_meshpeering_confirm()
2393 if (meshpeer == NULL) { in mesh_recv_action_meshpeering_confirm()
2399 meshpeer->peer_llinkid, meshpeer->peer_linkid); in mesh_recv_action_meshpeering_confirm()
2412 args[1] = meshpeer->peer_llinkid; in mesh_recv_action_meshpeering_confirm()
2421 if (ni->ni_mllid != meshpeer->peer_llinkid) { in mesh_recv_action_meshpeering_confirm()
2450 const struct ieee80211_meshpeer_ie *meshpeer; in mesh_recv_action_meshpeering_close() local
2454 meshpeer = mesh_parse_meshpeering_action(ni, wh, frm+2, efrm, &ie, in mesh_recv_action_meshpeering_close()
2456 if (meshpeer == NULL) { in mesh_recv_action_meshpeering_close()
3145 const struct ieee80211_meshpeer_ie *meshpeer = in mesh_verify_meshpeer() local
3148 if (meshpeer == NULL || in mesh_verify_meshpeer()
3149 meshpeer->peer_len < IEEE80211_MPM_BASE_SZ || in mesh_verify_meshpeer()
3150 meshpeer->peer_len > IEEE80211_MPM_MAX_SZ) in mesh_verify_meshpeer()
3152 if (meshpeer->peer_proto != IEEE80211_MPPID_MPM) { in mesh_verify_meshpeer()
3156 meshpeer->peer_proto); in mesh_verify_meshpeer()
3161 if (meshpeer->peer_len != IEEE80211_MPM_BASE_SZ) in mesh_verify_meshpeer()
3165 if (meshpeer->peer_len != IEEE80211_MPM_BASE_SZ + 2) in mesh_verify_meshpeer()
3169 if (meshpeer->peer_len < IEEE80211_MPM_BASE_SZ + 2) in mesh_verify_meshpeer()
3171 if (meshpeer->peer_len == (IEEE80211_MPM_BASE_SZ + 2) && in mesh_verify_meshpeer()
3172 meshpeer->peer_linkid != 0) in mesh_verify_meshpeer()
3174 if (meshpeer->peer_rcode == 0) in mesh_verify_meshpeer()