aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2011-05-13 13:45:43 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-16 14:10:49 -0400
commit57cf8043a64b56a10b9f194572548a3dfb62e596 (patch)
treea0b9530e824c7e7b1417e20f87e800819abfe285 /include/net
parent108697c44b8e50bea3505c6bf9667da4627cb2d5 (diff)
nl80211: Move peer link state definition to nl80211
These definitions need to be exposed now that we can set the peer link states via NL80211_ATTR_STA_PLINK_STATE. They were already being (opaquely) reported by NL80211_STA_INFO_PLINK_STATE. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 04afcfb9eaf4..0a2d795d35de 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -372,33 +372,6 @@ enum plink_actions {
372}; 372};
373 373
374/** 374/**
375 * enum plink_states - state of a mesh peer link finite state machine
376 *
377 * @PLINK_LISTEN: initial state, considered the implicit state of non
378 * existant mesh peer links
379 * @PLINK_OPN_SNT: mesh plink open frame has been sent to this mesh
380 * peer @PLINK_OPN_RCVD: mesh plink open frame has been received from
381 * this mesh peer
382 * @PLINK_CNF_RCVD: mesh plink confirm frame has been received from
383 * this mesh peer
384 * @PLINK_ESTAB: mesh peer link is established
385 * @PLINK_HOLDING: mesh peer link is being closed or cancelled
386 * @PLINK_BLOCKED: all frames transmitted from this mesh plink are
387 * discarded
388 * @PLINK_INVALID: reserved
389 */
390enum plink_state {
391 PLINK_LISTEN,
392 PLINK_OPN_SNT,
393 PLINK_OPN_RCVD,
394 PLINK_CNF_RCVD,
395 PLINK_ESTAB,
396 PLINK_HOLDING,
397 PLINK_BLOCKED,
398 PLINK_INVALID,
399};
400
401/**
402 * struct station_parameters - station parameters 375 * struct station_parameters - station parameters
403 * 376 *
404 * Used to change and create a new station. 377 * Used to change and create a new station.