• 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()
445 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get()
447 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
448 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get()
458 } else if (!(mpath->flags & MESH_PATH_ACTIVE)) { in hwmp_route_info_get()
461 have_sn = mpath->flags & MESH_PATH_SN_VALID; in hwmp_route_info_get()
492 mpath->flags |= MESH_PATH_SN_VALID; in hwmp_route_info_get()
521 if ((mpath->flags & MESH_PATH_FIXED) || in hwmp_route_info_get()
522 ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
567 u8 target_flags, ttl, flags; in hwmp_preq_frame_process() local
580 flags = PREQ_IE_FLAGS(preq_elem); in hwmp_preq_frame_process()
581 root_is_gate = !!(flags & RANN_FLAG_IS_GATE); in hwmp_preq_frame_process()
606 if (flags & IEEE80211_PREQ_PROACTIVE_PREP_FLAG) { in hwmp_preq_frame_process()
621 if ((!(mpath->flags & MESH_PATH_SN_VALID)) || in hwmp_preq_frame_process()
624 mpath->flags |= MESH_PATH_SN_VALID; in hwmp_preq_frame_process()
626 (mpath->flags & MESH_PATH_ACTIVE)) { in hwmp_preq_frame_process()
669 if (flags & IEEE80211_PREQ_PROACTIVE_PREP_FLAG) { in hwmp_preq_frame_process()
674 mesh_path_sel_frame_tx(MPATH_PREQ, flags, orig_addr, in hwmp_preq_frame_process()
702 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
729 if (!(mpath->flags & MESH_PATH_ACTIVE)) { in hwmp_prep_frame_process()
736 flags = PREP_IE_FLAGS(prep_elem); in hwmp_prep_frame_process()
743 mesh_path_sel_frame_tx(MPATH_PREP, flags, orig_addr, orig_sn, 0, in hwmp_prep_frame_process()
786 if (mpath->flags & MESH_PATH_ACTIVE && in hwmp_perr_frame_process()
788 !(mpath->flags & MESH_PATH_FIXED) && in hwmp_perr_frame_process()
789 (!(mpath->flags & MESH_PATH_SN_VALID) || in hwmp_perr_frame_process()
791 mpath->flags &= ~MESH_PATH_ACTIVE; in hwmp_perr_frame_process()
817 u8 ttl, flags, hopcount; in hwmp_rann_frame_process() local
823 flags = rann->rann_flags; in hwmp_rann_frame_process()
824 root_is_gate = !!(flags & RANN_FLAG_IS_GATE); in hwmp_rann_frame_process()
868 if ((!(mpath->flags & (MESH_PATH_ACTIVE | MESH_PATH_RESOLVING)) || in hwmp_rann_frame_process()
872 !(mpath->flags & MESH_PATH_FIXED) && (ttl != 0)) { in hwmp_rann_frame_process()
898 mesh_path_sel_frame_tx(MPATH_RANN, flags, orig_addr, in hwmp_rann_frame_process()
971 static void mesh_queue_preq(struct mesh_path *mpath, u8 flags) in mesh_queue_preq() argument
993 if (mpath->flags & MESH_PATH_REQ_QUEUED) { in mesh_queue_preq()
1001 preq_node->flags = flags; in mesh_queue_preq()
1003 mpath->flags |= MESH_PATH_REQ_QUEUED; in mesh_queue_preq()
1058 if (mpath->flags & (MESH_PATH_DELETED | MESH_PATH_FIXED)) { in mesh_path_start_discovery()
1062 mpath->flags &= ~MESH_PATH_REQ_QUEUED; in mesh_path_start_discovery()
1063 if (preq_node->flags & PREQ_Q_F_START) { in mesh_path_start_discovery()
1064 if (mpath->flags & MESH_PATH_RESOLVING) { in mesh_path_start_discovery()
1068 mpath->flags &= ~MESH_PATH_RESOLVED; in mesh_path_start_discovery()
1069 mpath->flags |= MESH_PATH_RESOLVING; in mesh_path_start_discovery()
1073 } else if (!(mpath->flags & MESH_PATH_RESOLVING) || in mesh_path_start_discovery()
1074 mpath->flags & MESH_PATH_RESOLVED) { in mesh_path_start_discovery()
1075 mpath->flags &= ~MESH_PATH_RESOLVING; in mesh_path_start_discovery()
1096 if (preq_node->flags & PREQ_Q_F_REFRESH) in mesh_path_start_discovery()
1108 if (mpath->flags & MESH_PATH_DELETED) { in mesh_path_start_discovery()
1146 if (info->control.flags & IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP) in mesh_nexthop_resolve()
1162 if (!(mpath->flags & MESH_PATH_RESOLVING) && in mesh_nexthop_resolve()
1169 info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; in mesh_nexthop_resolve()
1197 if (!mpath || !(mpath->flags & MESH_PATH_ACTIVE)) in mesh_nexthop_lookup()
1204 !(mpath->flags & MESH_PATH_RESOLVING) && in mesh_nexthop_lookup()
1205 !(mpath->flags & MESH_PATH_FIXED)) in mesh_nexthop_lookup()
1229 if (mpath->flags & MESH_PATH_RESOLVED || in mesh_path_timer()
1230 (!(mpath->flags & MESH_PATH_RESOLVING))) { in mesh_path_timer()
1231 mpath->flags &= ~(MESH_PATH_RESOLVING | MESH_PATH_RESOLVED); in mesh_path_timer()
1236 mpath->flags &= ~MESH_PATH_REQ_QUEUED; in mesh_path_timer()
1240 mpath->flags &= ~(MESH_PATH_RESOLVING | in mesh_path_timer()
1258 u8 flags, target_flags = 0; in mesh_path_tx_root_frame() local
1260 flags = (ifmsh->mshcfg.dot11MeshGateAnnouncementProtocol) in mesh_path_tx_root_frame()
1265 mesh_path_sel_frame_tx(MPATH_RANN, flags, sdata->vif.addr, in mesh_path_tx_root_frame()
1271 flags |= IEEE80211_PREQ_PROACTIVE_PREP_FLAG; in mesh_path_tx_root_frame()
1277 mesh_path_sel_frame_tx(MPATH_PREQ, flags, sdata->vif.addr, in mesh_path_tx_root_frame()