diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2009-01-23 16:45:21 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:01:38 -0500 |
commit | 0d21044effa10044930419c6f837f75191229c3a (patch) | |
tree | c5d460adc539f02356bae2df36be1d5f00ec47ca /drivers/net/wireless/iwlwifi/iwl-commands.h | |
parent | 17f841cd6cb0837ba0599ad18a746c30ddd83e08 (diff) |
iwlwifi: fix probe mask for 39 scan API
This pach make use of 39 own scan probe mask
the variables or of different types
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 7571110f5f15..e49415c7fb2a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2432,6 +2432,9 @@ struct iwl3945_scan_channel { | |||
2432 | __le16 passive_dwell; /* in 1024-uSec TU (time units), typ 20-500 */ | 2432 | __le16 passive_dwell; /* in 1024-uSec TU (time units), typ 20-500 */ |
2433 | } __attribute__ ((packed)); | 2433 | } __attribute__ ((packed)); |
2434 | 2434 | ||
2435 | /* set number of direct probes u8 type */ | ||
2436 | #define IWL39_SCAN_PROBE_MASK(n) ((BIT(n) | (BIT(n) - BIT(1)))) | ||
2437 | |||
2435 | struct iwl_scan_channel { | 2438 | struct iwl_scan_channel { |
2436 | /* | 2439 | /* |
2437 | * type is defined as: | 2440 | * type is defined as: |
@@ -2448,6 +2451,9 @@ struct iwl_scan_channel { | |||
2448 | __le16 passive_dwell; /* in 1024-uSec TU (time units), typ 20-500 */ | 2451 | __le16 passive_dwell; /* in 1024-uSec TU (time units), typ 20-500 */ |
2449 | } __attribute__ ((packed)); | 2452 | } __attribute__ ((packed)); |
2450 | 2453 | ||
2454 | /* set number of direct probes __le32 type */ | ||
2455 | #define IWL_SCAN_PROBE_MASK(n) cpu_to_le32((BIT(n) | (BIT(n) - BIT(1)))) | ||
2456 | |||
2451 | /** | 2457 | /** |
2452 | * struct iwl_ssid_ie - directed scan network information element | 2458 | * struct iwl_ssid_ie - directed scan network information element |
2453 | * | 2459 | * |