#ifndef LLC_C_ST_H #define LLC_C_ST_H /* * Copyright (c) 1997 by Procom Technology,Inc. * 2001 by Arnaldo Carvalho de Melo * * This program can be redistributed or modified under the terms of the * GNU General Public License as published by the Free Software Foundation. * This program is distributed without any warranty or implied warranty * of merchantability or fitness for a particular purpose. * * See the GNU General Public License for more details. */ /* Connection component state management */ /* connection states */ #define LLC_CONN_OUT_OF_SVC 0 /* prior to allocation */ #define LLC_CONN_STATE_ADM 1 /* disc, initial state */ #define LLC_CONN_STATE_SETUP 2 /* disconnected state */ #define LLC_CONN_STATE_NORMAL 3 /* connected state */ #define LLC_CONN_STATE_BUSY 4 /* connected state */ #define LLC_CONN_STATE_REJ 5 /* connected state */ #define LLC_CONN_STATE_AWAIT 6 /* connected state */ #define LLC_CONN_STATE_AWAIT_BUSY 7 /* connected state */ #define LLC_CONN_STATE_AWAIT_REJ 8 /* connected state */ #define LLC_CONN_STATE_D_CONN 9 /* disconnected state */ #define LLC_CONN_STATE_RESET 10 /* disconnected state */ #define LLC_CONN_STATE_ERROR 11 /* disconnected state */ #define LLC_CONN_STATE_TEMP 12 /* disconnected state */ #define NBR_CONN_STATES 12 /* size of state table */ #define NO_STATE_CHANGE 100 /* Connection state table structure */ struct llc_conn_state_trans { llc_conn_ev_t ev; u8 next_state; const llc_conn_ev_qfyr_t *ev_qualifiers; const llc_conn_action_t *ev_actions; }; struct llc_conn_state { u8 current_state; struct llc_conn_state_trans **transitions; }; extern struct llc_conn_state llc_conn_state_table[]; #endif /* LLC_C_ST_H */ /wireless/core.h'>logtreecommitdiff
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-28 11:09:04 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-28 11:09:04 -0800
commitdd553962675ab5747e887f89aea1ece90e6a802e (patch)
treed999368d0921e139b7b67ea0fc6a4e6ac548d8dc /net/wireless/core.h
parent64a172d265643b345007ddaafcc523f6e5373b69 (diff)
parent2e38a37f23c98d7fad87ff022670060b8a0e2bf5 (diff)
Merge tag 'md/4.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Pull MD fixes from Shaohua Li: "This fixes several corner cases for raid5 cache, which is merged into this cycle" * tag 'md/4.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md: md/r5cache: disable write back for degraded array md/r5cache: shift complex rmw from read path to write path md/r5cache: flush data only stripes in r5l_recovery_log() md/raid5: move comment of fetch_block to right location md/r5cache: read data into orig_page for prexor of cached data md/raid5-cache: delete meaningless code
Diffstat (limited to 'net/wireless/core.h')