diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-03-10 20:13:26 -0800 |
---|---|---|
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) | |
download | op-kernel-dev-266af4c745952e9bebf687dd68af58df553cb59d.zip op-kernel-dev-266af4c745952e9bebf687dd68af58df553cb59d.tar.gz |
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 03cfb74..ca42ffa 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 { u8 data[0]; } __packed; +enum iwl_scan_flags { + /* BIT(0) currently unused */ + IWL_SCAN_FLAGS_ACTION_FRAME_TX = BIT(1), + /* bits 2-7 reserved */ +}; + struct iwl_scan_cmd { __le16 len; - u8 reserved0; + u8 scan_flags; /* scan flags: see enum iwl_scan_flags */ u8 channel_count; /* # channels in channel list */ __le16 quiet_time; /* dwell only this # millisecs on quiet channel * (only for active scan) */ |