Searched refs:gw_mode (Results 1 – 7 of 7) sorted by relevance
38 node if gw_mode was set to 'server'.40 What: /sys/class/net/<mesh_iface>/mesh/gw_mode52 to choose a gateway if gw_mode was set to 'client'.
294 switch (atomic_read(&bat_priv->gw_mode)) { in show_gw_mode()338 if (atomic_read(&bat_priv->gw_mode) == gw_mode_tmp) in store_gw_mode()341 switch (atomic_read(&bat_priv->gw_mode)) { in store_gw_mode()357 atomic_set(&bat_priv->gw_mode, (unsigned)gw_mode_tmp); in store_gw_mode()393 static BAT_ATTR(gw_mode, S_IRUGO | S_IWUSR, show_gw_mode, store_gw_mode);
604 switch (atomic_read(&bat_priv->gw_mode)) { in interface_tx()658 if (atomic_read(&bat_priv->gw_mode) != GW_MODE_OFF) { in interface_tx()833 atomic_set(&bat_priv->gw_mode, GW_MODE_OFF); in softif_create()
197 if (atomic_read(&bat_priv->gw_mode) != GW_MODE_CLIENT) in gw_election()663 switch (atomic_read(&bat_priv->gw_mode)) { in gw_out_of_range()
152 atomic_t gw_mode; /* GW_MODE_* */ member
556 (atomic_read(&bat_priv->gw_mode) == GW_MODE_SERVER)) in bat_iv_ogm_schedule()700 (atomic_read(&bat_priv->gw_mode) == GW_MODE_CLIENT) && in bat_iv_ogm_orig_update()
73 # bonding gw_mode orig_interval