Commit 71ec375c authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: add NOTEXIST station state

This will be used by drivers later if they
need to have stations inserted all the time,
in mac80211 has no purpose, is never used
and sta_state starts out in NONE.
Signed-off-by: default avatarJohannes Berg <>
Signed-off-by: default avatarJohn W. Linville <>
parent 89c91cae
......@@ -293,6 +293,8 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
sta->sdata = sdata;
sta->last_rx = jiffies;
sta->sta_state = IEEE80211_STA_NONE;
sta->last_connected = uptime.tv_sec;
ewma_init(&sta->avg_signal, 1024, 8);
......@@ -77,6 +77,7 @@ enum ieee80211_sta_info_flags {
enum ieee80211_sta_state {
/* NOTE: These need to be ordered correctly! */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment