iwlwifi: remove HT code from iwl-3945.h
PATCH 1/3 iwlwifi: remove HT code from iwl-3945.h
From: Reinette Chatre <[email protected]>
This pach removes HT code from iwl-3945.h - it is not needed here as 3945 does not support HT. The code ended up here during the header file split
Signed-off-by Reinette Chatre <[email protected]>
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/net/wireless/iwlwifi/iwl-3945.h | 24 ------------------------ 1 files changed, 0 insertions(+), 24 deletions(-)
drivers/net/wireless/iwlwifi/iwl-3945.h +0 -24
@@ -453,30 +453,6 @@ union iwl3945_ht_rate_supp { }; }; -#ifdef CONFIG_IWL3945_HT -#define CFG_HT_RX_AMPDU_FACTOR_DEF (0x3) -#define CFG_HT_MPDU_DENSITY_2USEC (0x5) -#define CFG_HT_MPDU_DENSITY_DEF CFG_HT_MPDU_DENSITY_2USEC - -struct sta_ht_info { -u8 is_ht; -u16 rx_mimo_ps_mode; -u16 tx_mimo_ps_mode; -u16 control_channel; -u8 max_amsdu_size; -u8 ampdu_factor; -u8 mpdu_density; -u8 operating_mode; -u8 supported_chan_width; -u8 extension_chan_offset; -u8 is_green_field; -u8 sgf; -u8 supp_rates[16 ]; -u8 tx_chan_width; -u8 chan_width_cap; -}; -#endif /*CONFIG_IWL3945_HT */ -#ifdef CONFIG_IWL3945_QOS union iwl3945_qos_capabity {
Signature · 8 lines
1.5.2.2 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
PATCH 2/3 iwlwifi: fix compliation warnings
This patch fixes compilation warnings introduced by 'fix ucode assertion for RX queue overrun' patch
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 +- drivers/net/wireless/iwlwifi/iwl4965-base.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/iwlwifi/iwl3945-base.c +1 -1
@@ -4163,7 +4163,7 @@ static void iwl3945_rx_allocate(struct iwl3945_priv *priv)/* * this should be called while priv->lock is locked */ -void __iwl3945_rx_replenish (void *data) +static void __iwl3945_rx_replenish (void *data) {struct iwl3945_priv *priv = data;
drivers/net/wireless/iwlwifi/iwl4965-base.c +2 -2
@@ -4534,7 +4534,7 @@ static void iwl4965_rx_allocate(struct iwl4965_priv *priv)/* * this should be called while priv->lock is locked */ -void __iwl4965_rx_replenish (void *data) +static void __iwl4965_rx_replenish (void *data) {struct iwl4965_priv *priv = data;
@@ -6036,7 +6036,7 @@ static void iwl4965_dealloc_ucode_pci(struct iwl4965_priv *priv)* iwl4965_verify_inst_full - verify runtime uCode image in card vs. host, * looking at all data. */ -static int iwl4965_verify_inst_full (struct iwl4965_priv *priv,__le32 * image, +static int iwl4965_verify_inst_full (struct iwl4965_priv *priv,__le32 *image,u32 len) {u32 val;
Signature · 8 lines
1.5.2.2 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
PATCH 3/3 iwlwifi: add missing comments
This patch add comments that escaped from the previous merge
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/net/wireless/iwlwifi/iwl-4965.h | 2 +- drivers/net/wireless/iwlwifi/iwl4965-base.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/iwlwifi/iwl-4965.h +1 -1
@@ -516,7 +516,7 @@ struct iwl_ht_info {u8 supported_chan_width;u16 tx_mimo_ps_mode;u8 is_green_field; -u8 sgf; +u8 sgf;/* HT_SHORT_GI_* short guard interval */ u8 max_amsdu_size;u8 ampdu_factor;u8 mpdu_density;
drivers/net/wireless/iwlwifi/iwl4965-base.c +1 -1
@@ -350,7 +350,7 @@ int iwl4965_tx_queue_init(struct iwl4965_priv *priv,* For the command queue (#4), allocate command space + one big * command for scan, since scan command is very huge; the system will * not have two scans at the same time, so only one is needed. -* For data Tx queues (all other queues), no super-size command +* For normal Tx queues (all other queues), no super-size command * space is needed. */ len =sizeof (struct iwl4965_cmd ) * slots_num;
Signature · 8 lines
1.5.2.2 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.