diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-03-10 23:13:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-11 14:15:55 -0500 |
commit | 266af4c745952e9bebf687dd68af58df553cb59d (patch) | |
tree | b3bbe8ac763395a4dfcfdd2b46948c9963dbfa46 /drivers/net/wireless/iwlwifi/iwl-commands.h | |
parent | 808118cb41dfe12a1ac0e35515ac4d91b170bdf9 (diff) |
iwlagn: support off-channel TX
Add support to iwlagn for off-channel TX. The
microcode API for this is a bit strange in that
it uses a hacked-up scan command, so the scan
code needs to change quite a bit to accomodate
that and be able to send it out.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 03cfb74da2bc..ca42ffa63ed7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2964,9 +2964,15 @@ struct iwl3945_scan_cmd { | |||
2964 | u8 data[0]; | 2964 | u8 data[0]; |
2965 | } __packed; | 2965 | } __packed; |
2966 | 2966 | ||
2967 | enum iwl_scan_flags { | ||
2968 | /* BIT(0) currently unused */ | ||
2969 | IWL_SCAN_FLAGS_ACTION_FRAME_TX = BIT(1), | ||
2970 | /* bits 2-7 reserved */ | ||
2971 | }; | ||
2972 | |||
2967 | struct iwl_scan_cmd { | 2973 | struct iwl_scan_cmd { |
2968 | __le16 len; | 2974 | __le16 len; |
2969 | u8 reserved0; | 2975 | u8 scan_flags; /* scan flags: see enum iwl_scan_flags */ |
2970 | u8 channel_count; /* # channels in channel list */ | 2976 | u8 channel_count; /* # channels in channel list */ |
2971 | __le16 quiet_time; /* dwell only this # millisecs on quiet channel | 2977 | __le16 quiet_time; /* dwell only this # millisecs on quiet channel |
2972 | * (only for active scan) */ | 2978 | * (only for active scan) */ |