sta_info.c (077f49392819608084c6d8d20e3dcca230afe07d) sta_info.c (71ec375c75095002f36f083ceb32bbb8725734ae)
1/*
2 * Copyright 2002-2005, Instant802 Networks, Inc.
3 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */

--- 279 unchanged lines hidden (view full) ---

288 INIT_WORK(&sta->ampdu_mlme.work, ieee80211_ba_session_work);
289 mutex_init(&sta->ampdu_mlme.mtx);
290
291 memcpy(sta->sta.addr, addr, ETH_ALEN);
292 sta->local = local;
293 sta->sdata = sdata;
294 sta->last_rx = jiffies;
295
1/*
2 * Copyright 2002-2005, Instant802 Networks, Inc.
3 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */

--- 279 unchanged lines hidden (view full) ---

288 INIT_WORK(&sta->ampdu_mlme.work, ieee80211_ba_session_work);
289 mutex_init(&sta->ampdu_mlme.mtx);
290
291 memcpy(sta->sta.addr, addr, ETH_ALEN);
292 sta->local = local;
293 sta->sdata = sdata;
294 sta->last_rx = jiffies;
295
296 sta->sta_state = IEEE80211_STA_NONE;
297
296 do_posix_clock_monotonic_gettime(&uptime);
297 sta->last_connected = uptime.tv_sec;
298 ewma_init(&sta->avg_signal, 1024, 8);
299
300 if (sta_prepare_rate_control(local, sta, gfp)) {
301 kfree(sta);
302 return NULL;
303 }

--- 1145 unchanged lines hidden ---
298 do_posix_clock_monotonic_gettime(&uptime);
299 sta->last_connected = uptime.tv_sec;
300 ewma_init(&sta->avg_signal, 1024, 8);
301
302 if (sta_prepare_rate_control(local, sta, gfp)) {
303 kfree(sta);
304 return NULL;
305 }

--- 1145 unchanged lines hidden ---