android_kernel_motorola_sm6225/drivers/net/wireless/iwlegacy
Johannes Berg 8c358bcd09 mac80211: add time synchronisation with BSS for assoc
Some drivers (iwlegacy, iwlwifi and rt2x00) today use the
bss_conf.last_tsf value. By itself though that value is
completely worthless since it may be ancient. What really
is needed is synchronisation between some device time and
the TSF.

To clarify this, rename bss_conf.last_tsf to sync_tsf and
add sync_device_ts which is obtained from rx_status which
gets a new field device_timestamp for this purpose. This
is intentionally not using the mactime field since that
is used for other things and in IBSS is expected to sync
with the IBSS's TSF which isn't necessarily true for the
device timestamp.

Also, since we have the information and it's useful even
before the connection has been established, give all the
timing details to the driver before authenticating.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-07-12 12:10:46 +02:00
..
3945-debug.c iwlegacy: move debugfs_ops to il_priv 2012-02-22 14:51:13 -05:00
3945-mac.c iwlegacy: do not nulify il->vif on reset 2012-03-26 15:07:22 -04:00
3945-rs.c cfg80211: add 802.11ad (60gHz band) support 2012-07-02 15:11:10 +02:00
3945.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
3945.h iwlegacy: move debugfs_ops to il_priv 2012-02-22 14:51:13 -05:00
4965-calib.c iwlegacy: remove enum iw_calib and related code 2012-02-29 14:14:55 -05:00
4965-debug.c iwlegacy: move debugfs_ops to il_priv 2012-02-22 14:51:13 -05:00
4965-mac.c iwl4965: claim RSN IBSS support 2012-06-06 15:18:18 -04:00
4965-rs.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-04-12 13:49:28 -04:00
4965.c iwlegacy: merge all ops structures into one 2012-02-22 14:51:15 -05:00
4965.h iwlegacy: remove enum iw_calib and related code 2012-02-29 14:14:55 -05:00
commands.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
common.c mac80211: add time synchronisation with BSS for assoc 2012-07-12 12:10:46 +02:00
common.h iwlegacy: remove unused enum il4965_calib_enabled_state 2012-02-29 14:14:55 -05:00
csr.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
iwl-spectrum.h iwlegacy: rename iwl to il 2011-11-15 11:16:58 +01:00
Kconfig iwlegacy: Kconfig: Change Debug Option to be more clear 2012-02-29 14:14:55 -05:00
Makefile iwlegacy: rename iwl-debug.c to debug.c 2011-11-15 14:24:36 +01:00
prph.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00