Skip to content

Commit

Permalink
iwlwifi: rename PROBE_OPTION_MAX_API1 to PROBE_OPTION_MAX_3945
Browse files Browse the repository at this point in the history
This limit applies to current (APIv1 and APIv2) 3945 firmware only, not
supported firmware of any of the other cards.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Apr 22, 2009
1 parent cca8479 commit 9b3bf06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/iwlwifi/iwl-commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -2469,8 +2469,8 @@ struct iwl_ssid_ie {
u8 ssid[32];
} __attribute__ ((packed));

#define PROBE_OPTION_MAX_API1 0x4
#define PROBE_OPTION_MAX 0x14
#define PROBE_OPTION_MAX_3945 4
#define PROBE_OPTION_MAX 20
#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
Expand Down Expand Up @@ -2552,7 +2552,7 @@ struct iwl3945_scan_cmd {
struct iwl3945_tx_cmd tx_cmd;

/* For directed active scans (set to all-0s otherwise) */
struct iwl_ssid_ie direct_scan[PROBE_OPTION_MAX_API1];
struct iwl_ssid_ie direct_scan[PROBE_OPTION_MAX_3945];

/*
* Probe request frame, followed by channel list.
Expand Down

0 comments on commit 9b3bf06

Please sign in to comment.