diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/Kconfig | 22 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/Makefile | 40 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 5 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-shared.h | 2 |
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 @@ | |||
1 | config IWLAGN | 1 | config 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 | ||
44 | menu "Debugging Options" | 44 | menu "Debugging Options" |
45 | depends on IWLAGN | 45 | depends on IWLWIFI |
46 | 46 | ||
47 | config IWLWIFI_DEBUG | 47 | config 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 | ||
72 | config IWLWIFI_DEBUGFS | 72 | config 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 | ||
80 | config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE | 80 | config 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 | ||
86 | config IWLWIFI_DEVICE_TRACING | 86 | config 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 | ||
105 | config IWLWIFI_DEVICE_SVTOOL | 105 | config 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 |
2 | obj-$(CONFIG_IWLAGN) += iwlagn.o | 2 | obj-$(CONFIG_IWLWIFI) += iwlwifi.o |
3 | iwlagn-objs := iwl-agn.o iwl-agn-rs.o | 3 | iwlwifi-objs := iwl-agn.o iwl-agn-rs.o |
4 | iwlagn-objs += iwl-agn-ucode.o iwl-agn-tx.o | 4 | iwlwifi-objs += iwl-agn-ucode.o iwl-agn-tx.o |
5 | iwlagn-objs += iwl-agn-lib.o iwl-agn-calib.o iwl-io.o | 5 | iwlwifi-objs += iwl-agn-lib.o iwl-agn-calib.o iwl-io.o |
6 | iwlagn-objs += iwl-agn-tt.o iwl-agn-sta.o | 6 | iwlwifi-objs += iwl-agn-tt.o iwl-agn-sta.o |
7 | 7 | ||
8 | iwlagn-objs += iwl-core.o iwl-eeprom.o iwl-power.o | 8 | iwlwifi-objs += iwl-core.o iwl-eeprom.o iwl-power.o |
9 | iwlagn-objs += iwl-rx.o iwl-sta.o | 9 | iwlwifi-objs += iwl-rx.o iwl-sta.o |
10 | iwlagn-objs += iwl-scan.o iwl-led.o | 10 | iwlwifi-objs += iwl-scan.o iwl-led.o |
11 | iwlagn-objs += iwl-agn-rxon.o | 11 | iwlwifi-objs += iwl-agn-rxon.o |
12 | iwlagn-objs += iwl-5000.o | 12 | iwlwifi-objs += iwl-5000.o |
13 | iwlagn-objs += iwl-6000.o | 13 | iwlwifi-objs += iwl-6000.o |
14 | iwlagn-objs += iwl-1000.o | 14 | iwlwifi-objs += iwl-1000.o |
15 | iwlagn-objs += iwl-2000.o | 15 | iwlwifi-objs += iwl-2000.o |
16 | iwlagn-objs += iwl-pci.o | 16 | iwlwifi-objs += iwl-pci.o |
17 | iwlagn-objs += iwl-trans.o | 17 | iwlwifi-objs += iwl-trans.o |
18 | iwlagn-objs += iwl-trans-pcie.o iwl-trans-pcie-rx.o iwl-trans-pcie-tx.o | 18 | iwlwifi-objs += iwl-trans-pcie.o iwl-trans-pcie-rx.o iwl-trans-pcie-tx.o |
19 | 19 | ||
20 | iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o | 20 | iwlwifi-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o |
21 | iwlagn-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o | 21 | iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o |
22 | iwlagn-$(CONFIG_IWLWIFI_DEVICE_SVTOOL) += iwl-sv-open.o | 22 | iwlwifi-$(CONFIG_IWLWIFI_DEVICE_SVTOOL) += iwl-sv-open.o |
23 | 23 | ||
24 | CFLAGS_iwl-devtrace.o := -I$(src) | 24 | CFLAGS_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); | |||
79 | MODULE_VERSION(DRV_VERSION); | 79 | MODULE_VERSION(DRV_VERSION); |
80 | MODULE_AUTHOR(DRV_COPYRIGHT " " DRV_AUTHOR); | 80 | MODULE_AUTHOR(DRV_COPYRIGHT " " DRV_AUTHOR); |
81 | MODULE_LICENSE("GPL"); | 81 | MODULE_LICENSE("GPL"); |
82 | MODULE_ALIAS("iwlagn"); | ||
82 | 83 | ||
83 | void iwl_update_chain_flags(struct iwl_priv *priv) | 84 | void 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 | ||
1126 | int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue, | 1126 | int 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 | ||
239 | int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue, | 239 | int 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); |
241 | int iwl_mac_tx_last_beacon(struct ieee80211_hw *hw); | 242 | int iwl_mac_tx_last_beacon(struct ieee80211_hw *hw); |
242 | void iwl_set_rxon_hwcrypto(struct iwl_priv *priv, struct iwl_rxon_context *ctx, | 243 | void 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; | |||
100 | struct iwl_sensitivity_ranges; | 100 | struct iwl_sensitivity_ranges; |
101 | struct iwl_trans_ops; | 101 | struct 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>" |