iwlwifi: adjust TSF in IBSS
authorAssaf Krauss <assaf.krauss@intel.com>
Mon, 30 Jun 2008 09:23:17 +0000 (17:23 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jun 2008 21:37:42 +0000 (17:37 -0400)
commit2ff75b7877c40b1917f23cc5fafccaf3c1ab4745
tree1b15ff798d6b54ff0c2d6861cc846e09e7aacf23
parent4faeb86070c38c0df9f5a23c3f6acf5538492a33
iwlwifi: adjust TSF in IBSS

This patch makes the driver, in IBSS mode, comply with TSF requirements
in 2 ways:
1. It notifies mac80211 of its TSF timestamp.
2. It uses the given timestamp in the beacon template to update the ucode.

Signed-off-by: Assaf Krauss <assaf.krauss@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-rx.c
drivers/net/wireless/iwlwifi/iwl4965-base.c