• Home
  • Raw
  • Download

Lines Matching refs:flags

100 static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,  in mesh_path_sel_frame_tx()  argument
157 *pos++ = flags; in mesh_path_sel_frame_tx()
215 info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; in prepare_frame_for_deferred_tx()
303 failed = !(txinfo->flags & IEEE80211_TX_STAT_ACK); in ieee80211s_update_metric()
442 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get()
444 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
445 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get()
455 } else if (!(mpath->flags & MESH_PATH_ACTIVE)) { in hwmp_route_info_get()
458 have_sn = mpath->flags & MESH_PATH_SN_VALID; in hwmp_route_info_get()
489 mpath->flags |= MESH_PATH_SN_VALID; in hwmp_route_info_get()
518 if ((mpath->flags & MESH_PATH_FIXED) || in hwmp_route_info_get()
519 ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
564 u8 target_flags, ttl, flags; in hwmp_preq_frame_process() local
577 flags = PREQ_IE_FLAGS(preq_elem); in hwmp_preq_frame_process()
578 root_is_gate = !!(flags & RANN_FLAG_IS_GATE); in hwmp_preq_frame_process()
603 if (flags & IEEE80211_PREQ_PROACTIVE_PREP_FLAG) { in hwmp_preq_frame_process()
618 if ((!(mpath->flags & MESH_PATH_SN_VALID)) || in hwmp_preq_frame_process()
621 mpath->flags |= MESH_PATH_SN_VALID; in hwmp_preq_frame_process()
623 (mpath->flags & MESH_PATH_ACTIVE)) { in hwmp_preq_frame_process()
666 if (flags & IEEE80211_PREQ_PROACTIVE_PREP_FLAG) { in hwmp_preq_frame_process()
671 mesh_path_sel_frame_tx(MPATH_PREQ, flags, orig_addr, in hwmp_preq_frame_process()
699 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
726 if (!(mpath->flags & MESH_PATH_ACTIVE)) { in hwmp_prep_frame_process()
733 flags = PREP_IE_FLAGS(prep_elem); in hwmp_prep_frame_process()
740 mesh_path_sel_frame_tx(MPATH_PREP, flags, orig_addr, orig_sn, 0, in hwmp_prep_frame_process()
783 if (mpath->flags & MESH_PATH_ACTIVE && in hwmp_perr_frame_process()
785 !(mpath->flags & MESH_PATH_FIXED) && in hwmp_perr_frame_process()
786 (!(mpath->flags & MESH_PATH_SN_VALID) || in hwmp_perr_frame_process()
788 mpath->flags &= ~MESH_PATH_ACTIVE; in hwmp_perr_frame_process()
814 u8 ttl, flags, hopcount; in hwmp_rann_frame_process() local
820 flags = rann->rann_flags; in hwmp_rann_frame_process()
821 root_is_gate = !!(flags & RANN_FLAG_IS_GATE); in hwmp_rann_frame_process()
865 if ((!(mpath->flags & (MESH_PATH_ACTIVE | MESH_PATH_RESOLVING)) || in hwmp_rann_frame_process()
869 !(mpath->flags & MESH_PATH_FIXED) && (ttl != 0)) { in hwmp_rann_frame_process()
895 mesh_path_sel_frame_tx(MPATH_RANN, flags, orig_addr, in hwmp_rann_frame_process()
968 static void mesh_queue_preq(struct mesh_path *mpath, u8 flags) in mesh_queue_preq() argument
990 if (mpath->flags & MESH_PATH_REQ_QUEUED) { in mesh_queue_preq()
998 preq_node->flags = flags; in mesh_queue_preq()
1000 mpath->flags |= MESH_PATH_REQ_QUEUED; in mesh_queue_preq()
1055 if (mpath->flags & (MESH_PATH_DELETED | MESH_PATH_FIXED)) { in mesh_path_start_discovery()
1059 mpath->flags &= ~MESH_PATH_REQ_QUEUED; in mesh_path_start_discovery()
1060 if (preq_node->flags & PREQ_Q_F_START) { in mesh_path_start_discovery()
1061 if (mpath->flags & MESH_PATH_RESOLVING) { in mesh_path_start_discovery()
1065 mpath->flags &= ~MESH_PATH_RESOLVED; in mesh_path_start_discovery()
1066 mpath->flags |= MESH_PATH_RESOLVING; in mesh_path_start_discovery()
1070 } else if (!(mpath->flags & MESH_PATH_RESOLVING) || in mesh_path_start_discovery()
1071 mpath->flags & MESH_PATH_RESOLVED) { in mesh_path_start_discovery()
1072 mpath->flags &= ~MESH_PATH_RESOLVING; in mesh_path_start_discovery()
1093 if (preq_node->flags & PREQ_Q_F_REFRESH) in mesh_path_start_discovery()
1136 if (info->control.flags & IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP) in mesh_nexthop_resolve()
1152 if (!(mpath->flags & MESH_PATH_RESOLVING)) in mesh_nexthop_resolve()
1158 info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; in mesh_nexthop_resolve()
1186 if (!mpath || !(mpath->flags & MESH_PATH_ACTIVE)) in mesh_nexthop_lookup()
1193 !(mpath->flags & MESH_PATH_RESOLVING) && in mesh_nexthop_lookup()
1194 !(mpath->flags & MESH_PATH_FIXED)) in mesh_nexthop_lookup()
1218 if (mpath->flags & MESH_PATH_RESOLVED || in mesh_path_timer()
1219 (!(mpath->flags & MESH_PATH_RESOLVING))) { in mesh_path_timer()
1220 mpath->flags &= ~(MESH_PATH_RESOLVING | MESH_PATH_RESOLVED); in mesh_path_timer()
1225 mpath->flags &= ~MESH_PATH_REQ_QUEUED; in mesh_path_timer()
1229 mpath->flags &= ~(MESH_PATH_RESOLVING | in mesh_path_timer()
1247 u8 flags, target_flags = 0; in mesh_path_tx_root_frame() local
1249 flags = (ifmsh->mshcfg.dot11MeshGateAnnouncementProtocol) in mesh_path_tx_root_frame()
1254 mesh_path_sel_frame_tx(MPATH_RANN, flags, sdata->vif.addr, in mesh_path_tx_root_frame()
1260 flags |= IEEE80211_PREQ_PROACTIVE_PREP_FLAG; in mesh_path_tx_root_frame()
1266 mesh_path_sel_frame_tx(MPATH_PREQ, flags, sdata->vif.addr, in mesh_path_tx_root_frame()