aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/Kconfig22
-rw-r--r--drivers/net/wireless/iwlwifi/Makefile40
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rs.c3
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-tx.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c1
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c5
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h3
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-shared.h2
8 files changed, 39 insertions, 39 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig
index 1d7572f9887f..e0441033788c 100644
--- a/drivers/net/wireless/iwlwifi/Kconfig
+++ b/drivers/net/wireless/iwlwifi/Kconfig
@@ -1,5 +1,5 @@
1config IWLAGN 1config IWLWIFI
2 tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlagn) " 2 tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
3 depends on PCI && MAC80211 3 depends on PCI && MAC80211
4 select FW_LOADER 4 select FW_LOADER
5 select NEW_LEDS 5 select NEW_LEDS
@@ -39,14 +39,14 @@ config IWLAGN
39 If you want to compile the driver as a module ( = code which can be 39 If you want to compile the driver as a module ( = code which can be
40 inserted in and removed from the running kernel whenever you want), 40 inserted in and removed from the running kernel whenever you want),
41 say M here and read <file:Documentation/kbuild/modules.txt>. The 41 say M here and read <file:Documentation/kbuild/modules.txt>. The
42 module will be called iwlagn. 42 module will be called iwlwifi.
43 43
44menu "Debugging Options" 44menu "Debugging Options"
45 depends on IWLAGN 45 depends on IWLWIFI
46 46
47config IWLWIFI_DEBUG 47config IWLWIFI_DEBUG
48 bool "Enable full debugging output in the iwlagn driver" 48 bool "Enable full debugging output in the iwlwifi driver"
49 depends on IWLAGN 49 depends on IWLWIFI
50 ---help--- 50 ---help---
51 This option will enable debug tracing output for the iwlwifi drivers 51 This option will enable debug tracing output for the iwlwifi drivers
52 52
@@ -70,8 +70,8 @@ config IWLWIFI_DEBUG
70 any problems you may encounter. 70 any problems you may encounter.
71 71
72config IWLWIFI_DEBUGFS 72config IWLWIFI_DEBUGFS
73 bool "iwlagn debugfs support" 73 bool "iwlwifi debugfs support"
74 depends on IWLAGN && MAC80211_DEBUGFS 74 depends on IWLWIFI && MAC80211_DEBUGFS
75 ---help--- 75 ---help---
76 Enable creation of debugfs files for the iwlwifi drivers. This 76 Enable creation of debugfs files for the iwlwifi drivers. This
77 is a low-impact option that allows getting insight into the 77 is a low-impact option that allows getting insight into the
@@ -79,13 +79,13 @@ config IWLWIFI_DEBUGFS
79 79
80config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE 80config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE
81 bool "Experimental uCode support" 81 bool "Experimental uCode support"
82 depends on IWLAGN && IWLWIFI_DEBUG 82 depends on IWLWIFI && IWLWIFI_DEBUG
83 ---help--- 83 ---help---
84 Enable use of experimental ucode for testing and debugging. 84 Enable use of experimental ucode for testing and debugging.
85 85
86config IWLWIFI_DEVICE_TRACING 86config IWLWIFI_DEVICE_TRACING
87 bool "iwlwifi device access tracing" 87 bool "iwlwifi device access tracing"
88 depends on IWLAGN 88 depends on IWLWIFI
89 depends on EVENT_TRACING 89 depends on EVENT_TRACING
90 help 90 help
91 Say Y here to trace all commands, including TX frames and IO 91 Say Y here to trace all commands, including TX frames and IO
@@ -104,7 +104,7 @@ endmenu
104 104
105config IWLWIFI_DEVICE_SVTOOL 105config IWLWIFI_DEVICE_SVTOOL
106 bool "iwlwifi device svtool support" 106 bool "iwlwifi device svtool support"
107 depends on IWLAGN 107 depends on IWLWIFI
108 select NL80211_TESTMODE 108 select NL80211_TESTMODE
109 help 109 help
110 This option enables the svtool support for iwlwifi device through 110 This option enables the svtool support for iwlwifi device through
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile
index 8fa59cdb3b49..bacafa4a5f48 100644
--- a/drivers/net/wireless/iwlwifi/Makefile
+++ b/drivers/net/wireless/iwlwifi/Makefile
@@ -1,25 +1,25 @@
1# AGN 1# WIFI
2obj-$(CONFIG_IWLAGN) += iwlagn.o 2obj-$(CONFIG_IWLWIFI) += iwlwifi.o
3iwlagn-objs := iwl-agn.o iwl-agn-rs.o 3iwlwifi-objs := iwl-agn.o iwl-agn-rs.o
4iwlagn-objs += iwl-agn-ucode.o iwl-agn-tx.o 4iwlwifi-objs += iwl-agn-ucode.o iwl-agn-tx.o
5iwlagn-objs += iwl-agn-lib.o iwl-agn-calib.o iwl-io.o 5iwlwifi-objs += iwl-agn-lib.o iwl-agn-calib.o iwl-io.o
6iwlagn-objs += iwl-agn-tt.o iwl-agn-sta.o 6iwlwifi-objs += iwl-agn-tt.o iwl-agn-sta.o
7 7
8iwlagn-objs += iwl-core.o iwl-eeprom.o iwl-power.o 8iwlwifi-objs += iwl-core.o iwl-eeprom.o iwl-power.o
9iwlagn-objs += iwl-rx.o iwl-sta.o 9iwlwifi-objs += iwl-rx.o iwl-sta.o
10iwlagn-objs += iwl-scan.o iwl-led.o 10iwlwifi-objs += iwl-scan.o iwl-led.o
11iwlagn-objs += iwl-agn-rxon.o 11iwlwifi-objs += iwl-agn-rxon.o
12iwlagn-objs += iwl-5000.o 12iwlwifi-objs += iwl-5000.o
13iwlagn-objs += iwl-6000.o 13iwlwifi-objs += iwl-6000.o
14iwlagn-objs += iwl-1000.o 14iwlwifi-objs += iwl-1000.o
15iwlagn-objs += iwl-2000.o 15iwlwifi-objs += iwl-2000.o
16iwlagn-objs += iwl-pci.o 16iwlwifi-objs += iwl-pci.o
17iwlagn-objs += iwl-trans.o 17iwlwifi-objs += iwl-trans.o
18iwlagn-objs += iwl-trans-pcie.o iwl-trans-pcie-rx.o iwl-trans-pcie-tx.o 18iwlwifi-objs += iwl-trans-pcie.o iwl-trans-pcie-rx.o iwl-trans-pcie-tx.o
19 19
20iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o 20iwlwifi-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o
21iwlagn-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o 21iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o
22iwlagn-$(CONFIG_IWLWIFI_DEVICE_SVTOOL) += iwl-sv-open.o 22iwlwifi-$(CONFIG_IWLWIFI_DEVICE_SVTOOL) += iwl-sv-open.o
23 23
24CFLAGS_iwl-devtrace.o := -I$(src) 24CFLAGS_iwl-devtrace.o := -I$(src)
25 25
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
index c14f8d6fd7d8..7d6a3bf64950 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
@@ -2273,9 +2273,6 @@ static void rs_rate_scale_perform(struct iwl_priv *priv,
2273 info->flags & IEEE80211_TX_CTL_NO_ACK) 2273 info->flags & IEEE80211_TX_CTL_NO_ACK)
2274 return; 2274 return;
2275 2275
2276 if (!sta || !lq_sta)
2277 return;
2278
2279 lq_sta->supp_rates = sta->supp_rates[lq_sta->band]; 2276 lq_sta->supp_rates = sta->supp_rates[lq_sta->band];
2280 2277
2281 tid = rs_tl_add_packet(lq_sta, hdr); 2278 tid = rs_tl_add_packet(lq_sta, hdr);
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
index 0e5d6498be21..dcb3bd67d4f9 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
@@ -300,7 +300,7 @@ int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
300 sta_priv = (void *)info->control.sta->drv_priv; 300 sta_priv = (void *)info->control.sta->drv_priv;
301 301
302 if (sta_priv && sta_priv->asleep && 302 if (sta_priv && sta_priv->asleep &&
303 (info->flags & IEEE80211_TX_CTL_PSPOLL_RESPONSE)) { 303 (info->flags & IEEE80211_TX_CTL_POLL_RESPONSE)) {
304 /* 304 /*
305 * This sends an asynchronous command to the device, 305 * This sends an asynchronous command to the device,
306 * but we can rely on it being processed before the 306 * but we can rely on it being processed before the
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index baaf48616cc7..d0fd6f063bf8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -79,6 +79,7 @@ MODULE_DESCRIPTION(DRV_DESCRIPTION);
79MODULE_VERSION(DRV_VERSION); 79MODULE_VERSION(DRV_VERSION);
80MODULE_AUTHOR(DRV_COPYRIGHT " " DRV_AUTHOR); 80MODULE_AUTHOR(DRV_COPYRIGHT " " DRV_AUTHOR);
81MODULE_LICENSE("GPL"); 81MODULE_LICENSE("GPL");
82MODULE_ALIAS("iwlagn");
82 83
83void iwl_update_chain_flags(struct iwl_priv *priv) 84void iwl_update_chain_flags(struct iwl_priv *priv)
84{ 85{
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index fc400bb2bdff..0725603dbf1d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -1123,8 +1123,9 @@ int iwl_send_statistics_request(struct iwl_priv *priv, u8 flags, bool clear)
1123 &statistics_cmd); 1123 &statistics_cmd);
1124} 1124}
1125 1125
1126int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue, 1126int iwl_mac_conf_tx(struct ieee80211_hw *hw,
1127 const struct ieee80211_tx_queue_params *params) 1127 struct ieee80211_vif *vif, u16 queue,
1128 const struct ieee80211_tx_queue_params *params)
1128{ 1129{
1129 struct iwl_priv *priv = hw->priv; 1130 struct iwl_priv *priv = hw->priv;
1130 struct iwl_rxon_context *ctx; 1131 struct iwl_rxon_context *ctx;
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index e55ffad83950..db50b650756c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -236,7 +236,8 @@ struct iwl_cfg {
236 * L i b * 236 * L i b *
237 ***************************/ 237 ***************************/
238 238
239int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue, 239int iwl_mac_conf_tx(struct ieee80211_hw *hw,
240 struct ieee80211_vif *vif, u16 queue,
240 const struct ieee80211_tx_queue_params *params); 241 const struct ieee80211_tx_queue_params *params);
241int iwl_mac_tx_last_beacon(struct ieee80211_hw *hw); 242int iwl_mac_tx_last_beacon(struct ieee80211_hw *hw);
242void iwl_set_rxon_hwcrypto(struct iwl_priv *priv, struct iwl_rxon_context *ctx, 243void iwl_set_rxon_hwcrypto(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
diff --git a/drivers/net/wireless/iwlwifi/iwl-shared.h b/drivers/net/wireless/iwlwifi/iwl-shared.h
index 8747bbdf8983..3a24b477b8fb 100644
--- a/drivers/net/wireless/iwlwifi/iwl-shared.h
+++ b/drivers/net/wireless/iwlwifi/iwl-shared.h
@@ -100,7 +100,7 @@ struct iwl_priv;
100struct iwl_sensitivity_ranges; 100struct iwl_sensitivity_ranges;
101struct iwl_trans_ops; 101struct iwl_trans_ops;
102 102
103#define DRV_NAME "iwlagn" 103#define DRV_NAME "iwlwifi"
104#define IWLWIFI_VERSION "in-tree:" 104#define IWLWIFI_VERSION "in-tree:"
105#define DRV_COPYRIGHT "Copyright(c) 2003-2011 Intel Corporation" 105#define DRV_COPYRIGHT "Copyright(c) 2003-2011 Intel Corporation"
106#define DRV_AUTHOR "<ilw@linux.intel.com>" 106#define DRV_AUTHOR "<ilw@linux.intel.com>"