Skip to content

Commit 3eb14b9

Browse files
committed
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
2 parents 791f58c + 5c01d56 commit 3eb14b9

174 files changed

Lines changed: 8597 additions & 5613 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/feature-removal-schedule.txt‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,6 @@ Who: Hans de Goede <hdegoede@redhat.com>
520520

521521
----------------------------
522522

523-
524523
What: corgikbd, spitzkbd, tosakbd driver
525524
When: 2.6.35
526525
Files: drivers/input/keyboard/{corgi,spitz,tosa}kbd.c
@@ -608,3 +607,24 @@ Why: Useful in 2003, implementation is a hack.
608607
Generally invoked by accident today.
609608
Seen as doing more harm than good.
610609
Who: Len Brown <len.brown@intel.com>
610+
611+
----------------------------
612+
613+
What: iwlwifi 50XX module parameters
614+
When: 2.6.40
615+
Why: The "..50" modules parameters were used to configure 5000 series and
616+
up devices; different set of module parameters also available for 4965
617+
with same functionalities. Consolidate both set into single place
618+
in drivers/net/wireless/iwlwifi/iwl-agn.c
619+
620+
Who: Wey-Yi Guy <wey-yi.w.guy@intel.com>
621+
622+
----------------------------
623+
624+
What: iwl4965 alias support
625+
When: 2.6.40
626+
Why: Internal alias support has been present in module-init-tools for some
627+
time, the MODULE_ALIAS("iwl4965") boilerplate aliases can be removed
628+
with no impact.
629+
630+
Who: Wey-Yi Guy <wey-yi.w.guy@intel.com>

‎drivers/net/wireless/ath/ar9170/cmd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ __regwrite_out : \
7979
if (__nreg) { \
8080
if (IS_ACCEPTING_CMD(__ar)) \
8181
__err = ar->exec_cmd(__ar, AR9170_CMD_WREG, \
82-
8 * __nreg, \
82+
8 * __nreg, \
8383
(u8 *) &__ar->cmdbuf[1], \
8484
0, NULL); \
8585
__nreg = 0; \

‎drivers/net/wireless/ath/ar9170/eeprom.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ struct ar9170_eeprom {
127127
__le16 checksum;
128128
__le16 version;
129129
u8 operating_flags;
130-
#define AR9170_OPFLAG_5GHZ 1
131-
#define AR9170_OPFLAG_2GHZ 2
130+
#define AR9170_OPFLAG_5GHZ 1
131+
#define AR9170_OPFLAG_2GHZ 2
132132
u8 misc;
133133
__le16 reg_domain[2];
134134
u8 mac_address[6];

‎drivers/net/wireless/ath/ar9170/hw.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,5 +425,6 @@ enum ar9170_txq {
425425

426426
#define AR9170_TXQ_DEPTH 32
427427
#define AR9170_TX_MAX_PENDING 128
428+
#define AR9170_RX_STREAM_MAX_SIZE 65535
428429

429430
#endif /* __AR9170_HW_H */

‎drivers/net/wireless/ath/ar9170/main.c‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ static void __ar9170_dump_txqueue(struct ar9170 *ar,
236236
wiphy_name(ar->hw->wiphy), skb_queue_len(queue));
237237

238238
skb_queue_walk(queue, skb) {
239-
printk(KERN_DEBUG "index:%d => \n", i++);
239+
printk(KERN_DEBUG "index:%d =>\n", i++);
240240
ar9170_print_txheader(ar, skb);
241241
}
242242
if (i != skb_queue_len(queue))
@@ -281,7 +281,7 @@ static void ar9170_dump_tx_status_ampdu(struct ar9170 *ar)
281281
unsigned long flags;
282282

283283
spin_lock_irqsave(&ar->tx_status_ampdu.lock, flags);
284-
printk(KERN_DEBUG "%s: A-MPDU tx_status queue => \n",
284+
printk(KERN_DEBUG "%s: A-MPDU tx_status queue =>\n",
285285
wiphy_name(ar->hw->wiphy));
286286
__ar9170_dump_txqueue(ar, &ar->tx_status_ampdu);
287287
spin_unlock_irqrestore(&ar->tx_status_ampdu.lock, flags);
@@ -308,7 +308,7 @@ static void ar9170_recycle_expired(struct ar9170 *ar,
308308
if (time_is_before_jiffies(arinfo->timeout)) {
309309
#ifdef AR9170_QUEUE_DEBUG
310310
printk(KERN_DEBUG "%s: [%ld > %ld] frame expired => "
311-
"recycle \n", wiphy_name(ar->hw->wiphy),
311+
"recycle\n", wiphy_name(ar->hw->wiphy),
312312
jiffies, arinfo->timeout);
313313
ar9170_print_txheader(ar, skb);
314314
#endif /* AR9170_QUEUE_DEBUG */
@@ -689,7 +689,8 @@ void ar9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len)
689689

690690
/* firmware debug */
691691
case 0xca:
692-
printk(KERN_DEBUG "ar9170 FW: %.*s\n", len - 4, (char *)buf + 4);
692+
printk(KERN_DEBUG "ar9170 FW: %.*s\n", len - 4,
693+
(char *)buf + 4);
693694
break;
694695
case 0xcb:
695696
len -= 4;
@@ -1728,7 +1729,7 @@ static void ar9170_tx(struct ar9170 *ar)
17281729
printk(KERN_DEBUG "%s: queue %d full\n",
17291730
wiphy_name(ar->hw->wiphy), i);
17301731

1731-
printk(KERN_DEBUG "%s: stuck frames: ===> \n",
1732+
printk(KERN_DEBUG "%s: stuck frames: ===>\n",
17321733
wiphy_name(ar->hw->wiphy));
17331734
ar9170_dump_txqueue(ar, &ar->tx_pending[i]);
17341735
ar9170_dump_txqueue(ar, &ar->tx_status[i]);
@@ -2512,7 +2513,7 @@ void *ar9170_alloc(size_t priv_size)
25122513
* tends to split the streams into separate rx descriptors.
25132514
*/
25142515

2515-
skb = __dev_alloc_skb(AR9170_MAX_RX_BUFFER_SIZE, GFP_KERNEL);
2516+
skb = __dev_alloc_skb(AR9170_RX_STREAM_MAX_SIZE, GFP_KERNEL);
25162517
if (!skb)
25172518
goto err_nomem;
25182519

‎drivers/net/wireless/ath/ar9170/usb.c‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,28 @@ static struct usb_device_id ar9170_usb_ids[] = {
6767
{ USB_DEVICE(0x0cf3, 0x1001) },
6868
/* TP-Link TL-WN821N v2 */
6969
{ USB_DEVICE(0x0cf3, 0x1002) },
70+
/* 3Com Dual Band 802.11n USB Adapter */
71+
{ USB_DEVICE(0x0cf3, 0x1010) },
72+
/* H3C Dual Band 802.11n USB Adapter */
73+
{ USB_DEVICE(0x0cf3, 0x1011) },
7074
/* Cace Airpcap NX */
7175
{ USB_DEVICE(0xcace, 0x0300) },
7276
/* D-Link DWA 160 A1 */
7377
{ USB_DEVICE(0x07d1, 0x3c10) },
7478
/* D-Link DWA 160 A2 */
7579
{ USB_DEVICE(0x07d1, 0x3a09) },
80+
/* Netgear WNA1000 */
81+
{ USB_DEVICE(0x0846, 0x9040) },
7682
/* Netgear WNDA3100 */
7783
{ USB_DEVICE(0x0846, 0x9010) },
7884
/* Netgear WN111 v2 */
7985
{ USB_DEVICE(0x0846, 0x9001) },
8086
/* Zydas ZD1221 */
8187
{ USB_DEVICE(0x0ace, 0x1221) },
88+
/* Proxim ORiNOCO 802.11n USB */
89+
{ USB_DEVICE(0x1435, 0x0804) },
90+
/* WNC Generic 11n USB Dongle */
91+
{ USB_DEVICE(0x1435, 0x0326) },
8292
/* ZyXEL NWD271N */
8393
{ USB_DEVICE(0x0586, 0x3417) },
8494
/* Z-Com UB81 BG */

‎drivers/net/wireless/ath/ath.h‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ enum ath_device_state {
4848
ATH_HW_INITIALIZED,
4949
};
5050

51+
enum ath_bus_type {
52+
ATH_PCI,
53+
ATH_AHB,
54+
ATH_USB,
55+
};
56+
5157
struct reg_dmn_pair_mapping {
5258
u16 regDmnEnum;
5359
u16 reg_5ghz_ctl;
@@ -73,9 +79,10 @@ struct ath_ops {
7379
struct ath_common;
7480

7581
struct ath_bus_ops {
76-
void (*read_cachesize)(struct ath_common *common, int *csz);
77-
bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data);
78-
void (*bt_coex_prep)(struct ath_common *common);
82+
enum ath_bus_type ath_bus_type;
83+
void (*read_cachesize)(struct ath_common *common, int *csz);
84+
bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data);
85+
void (*bt_coex_prep)(struct ath_common *common);
7986
};
8087

8188
struct ath_common {

‎drivers/net/wireless/ath/ath5k/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ ath5k-y += attach.o
1212
ath5k-y += base.o
1313
ath5k-y += led.o
1414
ath5k-y += rfkill.o
15+
ath5k-y += ani.o
1516
ath5k-$(CONFIG_ATH5K_DEBUG) += debug.o
1617
obj-$(CONFIG_ATH5K) += ath5k.o

0 commit comments

Comments
 (0)