提交 9b3bf06a 编写于 作者: J Johannes Berg 提交者: John W. Linville

iwlwifi: rename PROBE_OPTION_MAX_API1 to PROBE_OPTION_MAX_3945

This limit applies to current (APIv1 and APIv2) 3945 firmware only, not
supported firmware of any of the other cards.
Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 cca84799
...@@ -2469,8 +2469,8 @@ struct iwl_ssid_ie { ...@@ -2469,8 +2469,8 @@ struct iwl_ssid_ie {
u8 ssid[32]; u8 ssid[32];
} __attribute__ ((packed)); } __attribute__ ((packed));
#define PROBE_OPTION_MAX_API1 0x4 #define PROBE_OPTION_MAX_3945 4
#define PROBE_OPTION_MAX 0x14 #define PROBE_OPTION_MAX 20
#define TX_CMD_LIFE_TIME_INFINITE cpu_to_le32(0xFFFFFFFF) #define TX_CMD_LIFE_TIME_INFINITE cpu_to_le32(0xFFFFFFFF)
#define IWL_GOOD_CRC_TH cpu_to_le16(1) #define IWL_GOOD_CRC_TH cpu_to_le16(1)
#define IWL_MAX_SCAN_SIZE 1024 #define IWL_MAX_SCAN_SIZE 1024
...@@ -2552,7 +2552,7 @@ struct iwl3945_scan_cmd { ...@@ -2552,7 +2552,7 @@ struct iwl3945_scan_cmd {
struct iwl3945_tx_cmd tx_cmd; struct iwl3945_tx_cmd tx_cmd;
/* For directed active scans (set to all-0s otherwise) */ /* 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. * Probe request frame, followed by channel list.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册