android_kernel_motorola_sm6225/drivers/net/wireless/iwlwifi/dvm
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
..
agn.h iwlwifi: increase scan timeout 2012-06-21 10:01:38 +02:00
calib.c
calib.h
commands.h
debugfs.c
dev.h iwlwifi: remove sku field from hw_params 2012-06-20 08:42:21 +02:00
devices.c iwlwifi: disable early power Off reset for all NICs 2012-06-18 13:47:06 +02:00
led.c
led.h
lib.c iwlwifi: remove sku field from hw_params 2012-06-20 08:42:21 +02:00
mac80211.c iwlwifi: limit mac_change_interface to BSS context 2012-06-21 10:01:43 +02:00
main.c iwlwifi: remove sku field from hw_params 2012-06-20 08:42:21 +02:00
Makefile
power.c
power.h
rs.c
rs.h
rx.c
rxon.c mac80211: add time synchronisation with BSS for assoc 2012-07-12 12:10:46 +02:00
scan.c iwlwifi: fix radio reset scan dwell vs. quiet time 2012-06-21 10:01:22 +02:00
sta.c
testmode.c
tt.c
tt.h
tx.c iwlwifi: WARN only once when we have trouble in reclaim 2012-06-13 09:02:09 +02:00
ucode.c