diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-01-06 17:07:11 +0100 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-01-22 00:51:08 +0100 |
commit | 940739196c78576590dd155c1b9d8a705cea2af1 (patch) | |
tree | 2bf053dc8920ae79e4e5194c3e867381ea454b50 /drivers/net/wireless/iwlwifi/iwl-commands.h | |
parent | iwlwifi: implement remain-on-channel (diff) | |
download | linux-940739196c78576590dd155c1b9d8a705cea2af1.tar.xz linux-940739196c78576590dd155c1b9d8a705cea2af1.zip |
iwlwifi: replace minimum slot time constant
There are a number of places where the minimum
slot time is hardcoded to 20 TU, add a new
constant for that and use it everywhere.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index abe2479215f0..935b19e2c260 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h @@ -4370,6 +4370,11 @@ int iwl_agn_check_rxon_cmd(struct iwl_priv *priv); * REPLY_WIPAN_PARAMS = 0xb2 (Commands and Notification) */ +/* + * Minimum slot time in TU + */ +#define IWL_MIN_SLOT_TIME 20 + /** * struct iwl_wipan_slot * @width: Time in TU |