diff options
author | Abhijeet Kolekar <abhijeet.kolekar@intel.com> | 2010-02-19 11:49:49 -0800 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-02-23 14:59:12 -0800 |
commit | 89612124d6d62230043ebd827a2b54ea5ea5280c (patch) | |
tree | 6bc255e176748a399948ef8c7549632409931ace /drivers/net/wireless/iwlwifi/iwl-commands.h | |
parent | a120e912eb51e347f36c71b60a1d13af74d30e83 (diff) | |
download | blackbird-op-linux-89612124d6d62230043ebd827a2b54ea5ea5280c.tar.gz blackbird-op-linux-89612124d6d62230043ebd827a2b54ea5ea5280c.zip |
iwlwifi: increase command buffer size
Increase the buffer size for commands with "huge"
bit set. This has been recently observed for 6050 cards where
for even with huge bit set few commands were not properly allocated
memory with the command overwriting the buffer allocated for it..
Also add a check to see if command size exceeds the
maximum allowable size.
Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index e91507531923..cfd6c8423113 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h @@ -2612,6 +2612,7 @@ struct iwl_ssid_ie { #define TX_CMD_LIFE_TIME_INFINITE cpu_to_le32(0xFFFFFFFF) #define IWL_GOOD_CRC_TH cpu_to_le16(1) #define IWL_MAX_SCAN_SIZE 1024 +#define IWL_MAX_CMD_SIZE 4096 #define IWL_MAX_PROBE_REQUEST 200 /* |