aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
AgeCommit message (Collapse)AuthorFilesLines
2011-02-21rt2x00: Add/Modify the GPIO register definitionShiang Tu2-3/+9
Revise/Add GPIO register related definitions Signed-off-by: Shiang Tu <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rt2x00: Add/Modify protection related register definitionsShiang Tu2-14/+20
Make the definition of protection related registers more precisely Signed-off-by: Shiang Tu <[email protected]> Acked-by: Helmut Schaa <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rt2x00: Remove superfluos empty lineHelmut Schaa1-1/+0
Signed-off-by: Helmut Schaa <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21Revert "rt2x00 : avoid timestamp for monitor injected frame."Helmut Schaa1-6/+3
This reverts commit e81e0aef32bfa7f593b14479b9c7eaa7196798ac "rt2x00 : avoid timestamp for monitor injected frame." as it breaks proper timestamp insertion into probe responses injected by hostapd for example. Signed-off-by: Helmut Schaa <[email protected]> Cc: Benoit PAPILLAULT <[email protected]> Cc: Alban Browaeys <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rt2x00: Minor optimization for devices with RTS/CTS offloadHelmut Schaa1-3/+3
Only devices that don't have RTS/CTS offload need to check for IEEE80211_TX_RC_USE_RTS_CTS and IEEE80211_TX_RC_USE_CTS_PROTECT. By swapping both conditions we keep the same number of needed conditionals for devices without RTS/CTS offload but save one conditional on devices with RTS/CTS offload. Signed-off-by: Helmut Schaa <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rt2x00: Fix rt2800 txpower setting to correct valueRA-Jay Hung3-77/+199
TX_PWR_CFG_* setting need to consider below cases -compesate 20M/40M tx power delta for 2.4/5GHZ band -limit maximum EIRP tx power to power_level of regulatory requirement Signed-off-by: RA-Jay Hung <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rt2x00: Add antenna setting for RT3070/RT3090/RT3390 with RX antenna ↵RA-Jay Hung3-9/+70
diversity support For RT3070/RT3090/RT3390 with RX antenna diversity support, we must select default antenna using gpio control way even if we do not turn on antenna diversity feature. Seperate the meaning of TX/RX chain and antenna. Some chips use 2x2 TX/RX chain but may have 3 RX antennas or 1x1 TX/RX chain but may have 2 RX antennas to do antenna diversity. Signed-off-by: RA-Jay Hung <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Remove obsolete/unused macrosLarry Finger2-102/+33
The original code has many macros that are no longer needed. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192ce: Fix endian warningsLarry Finger10-291/+313
Drivers rtlwifi, and rtl8192ce generate a large number of sparse warnings. This patch fixes most of them. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Modify build system for rtl8192cuLarry Finger5-3/+35
Modify Kconfig and Makefile to build rtl8192cu. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192cu: Add routine trxGeorge1-0/+684
Add routine rtlwifi/rtl8192cu/trx.c. This routine differs from the rtl8192ce file of the same name. Signed-off-by: George <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192cu: Add routine tableGeorge1-0/+1888
Add rtlwifi/rtl8192cu/table.c. These tables are different than the ones used in rtl8192ce. Signed-off-by: George <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192cu: Add routine rfGeorge1-0/+493
Add rtlwifi/rtl8192cu/rf.c. This routine is distinct from the one in rtl8192ce with the same name. Signed-off-by: George <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192cu: Add routine phyGeorge1-0/+611
Add the routine rtlwifi/rtl8192cu/phy.c. Most of the code is included from rtlwifi/rtl8192c/phy_common.c. Signed-off-by: George <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192cu: Add routine macGeorge1-0/+1144
Add the routine rtlwifi/rtl8192cu/hw.c. Signed-off-by: George <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192cu: Add routine hwGeorge1-0/+2505
Add the routine rtlwifi/rtl8192cu/hw.c. This one is distinct from the routine of the same name in rtl8192ce. Signed-off-by: George <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: rtl8192cu: Add routines dm, fw, led and swGeorge4-0/+615
Add the rtlwifi/rtl8192cu routines for dm.c, fw.c, led.c and sw.c. Where possible, these routines use the corresponding code in rtl8192ce. Signed-off-by: George <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Move common parts of rtl8192ce/phy.cLarry Finger2-2018/+2050
Move common routines from rtlwifi/rtl8192ce/phy.c and .../rtl8192cu/phy.c into rtlwifi/rtl8192c/phy_common.c. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Modify wifi.h for rtl8192cuLarry Finger2-50/+239
Further merge of parameters needed for rtl8192cu. In addition, some changes needed for rtl8192se and rtl8192de are included and additional Hungarian notation is removed. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Add headers for rtl8187cuGeorge13-4/+1212
Signed-off-by: Larry Finger <[email protected]> Signed-off-by: George <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Modify some rtl8192ce routines for merging rtl8192cuLarry Finger15-321/+321
Modify some rtl8192ce routines for merging with rtl8192cu. In addition, remove some usage of Hungarian notation. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Make changes in rtlwifi/rtl8192ce/def.h to support rtl8192cuLarry Finger2-13/+144
This change modifies rtlwifi/rtl8192ce/def.h to handle rtl8192cu. In addition, a couple of routines needed for both drivers are converted to be inline. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rtlwifi: Make changes in rtlwifi/rtl8192ce/reg.h to support rtl8192cuLarry Finger2-4/+69
This change modifies rtlwifi/rtl8192ce/reg.h to support rtl8192cu. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21ath9k: Implement op_flush()Vasanthakumar Thiagarajan3-11/+88
When op_flush() is called with no drop (drop=false), the driver tries to tx as many frames as possible in about 100ms on every hw queue. During this time period frames from sw queue are also scheduled on to respective hw queue. Signed-off-by: Vasanthakumar Thiagarajan <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21wl12xx: fix sdio_test kconfig/build errorsRandy Dunlap1-1/+1
The wl12xx sdio_test code uses wl12xx_get_platform_data, which is only present when WL12*_SDIO is enabled, so make WL12XX_SDIO_TEST depend on WL12XX_SDIO so that the needed interface will be present. sdio_test.c:(.devinit.text+0x13178): undefined reference to `wl12xx_get_platform_data' Signed-off-by: Randy Dunlap <[email protected]> Cc: Luciano Coelho <[email protected]> Cc: Roger Quadros <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21ath5k: Enable AR2315 chipset recognitionWojciech Dubowik1-1/+2
Enable recognition of AR2315 chipsets in ath5k driver. Reported-by: Simon Morgenthaler <[email protected]> Signed-off-by: Wojciech Dubowik <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21ar9170usb: mark the old driver as obsoleteChristian Lamparter1-1/+3
AR9170USB will be replaced by carl9170 in the foreseeable future [2.6.40]. Signed-off-by: Christian Lamparter <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21p54pci: update receive dma buffers before and after processingChristian Lamparter1-5/+9
Documentation/DMA-API-HOWTO.txt states: "DMA transfers need to be synced properly in order for the cpu and device to see the most uptodate and correct copy of the DMA buffer." Cc: <[email protected]> Signed-off-by: Christian Lamparter <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21rt2x00: Fix WPA TKIP Michael MIC failures.Gertjan van Wingerde2-0/+12
As reported and found by Johannes Stezenbach: rt2800{pci,usb} do not report the Michael MIC in RXed frames, but do check the Michael MIC in hardware. Therefore we have to report to mac80211 that the received frame does not include the Michael MIC. https://bugzilla.kernel.org/show_bug.cgi?id=16608 Signed-off-by: Gertjan van Wingerde <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21iwlagn: Support new 5000 microcode.Fry, Donald H1-1/+1
New iwlwifi-5000 microcode requires driver support for API version 5. Signed-off-by: Don Fry <[email protected]> Signed-off-by: Wey-Yi Guy <[email protected]>
2011-02-21ath5k: Fix fast channel switchingNick Kossifidis1-55/+87
Fast channel change fixes: a) Always set OFDM timings b) Don't re-activate PHY c) Enable only NF calibration, not AGC https://bugzilla.kernel.org/show_bug.cgi?id=27382 Signed-off-by: Nick Kossifidis <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-02-21iwlwifi: split the drivers for agn and legacy devices 3945/4965Wey-Yi Guy73-2083/+30482
Intel WiFi devices 3945 and 4965 now have their own driver in the folder drivers/net/wireless/iwlegacy Add support to build these drivers independently of the driver for AGN devices. Selecting the 3945 builds iwl3945.ko and iwl_legacy.ko, and selecting the 4965 builds iwl4965.ko and iwl_legacy.ko. iwl-legacy.ko contains code shared between both devices. The 3945 is an ABG/BG device, with no support for 802.11n. The 4965 is a 2x3 ABGN device. Signed-off-by: Meenakshi Venkataraman <[email protected]> Acked-by: Johannes Berg <[email protected]> Signed-off-by: Wey-Yi Guy <[email protected]>
2011-02-21Revert "iwlwifi: split the drivers for agn and legacy devices 3945/4965"Wey-Yi Guy30-61/+14046
This reverts commit aa833c4b1a928b8d3c4fcc2faaa0d6b81ea02b56.
2011-02-21iwlwifi: split the drivers for agn and legacy devices 3945/4965Wey-Yi Guy30-14046/+61
Intel WiFi devices 3945 and 4965 now have their own driver in the folder drivers/net/wireless/iwlegacy Add support to build these drivers independently of the driver for AGN devices. Selecting the 3945 builds iwl3945.ko and iwl_legacy.ko, and selecting the 4965 builds iwl4965.ko and iwl_legacy.ko. iwl-legacy.ko contains code shared between both devices. The 3945 is an ABG/BG device, with no support for 802.11n. The 4965 is a 2x3 ABGN device. Signed-off-by: Meenakshi Venkataraman <[email protected]> Acked-by: Johannes Berg <[email protected]> Signed-off-by: Wey-Yi Guy <[email protected]>
2011-02-21iwlwifi: enable 2-wire bt coex support for non-combo deviceWey-Yi Guy1-3/+5
For non-combo devices, 2-wire BT coex is needed to make sure BT coex still function with external BT devices Signed-off-by: Wey-Yi Guy <[email protected]>
2011-02-21iwlwifi: Loading correct uCode again when fail to loadWey-Yi Guy1-0/+9
During uCode loading, if the reply_alive come back with "failure", try to load the same uCode again. Signed-off-by: Wey-Yi Guy <[email protected]>
2011-02-21iwlwifi: Limit number of firmware reloadWey-Yi Guy2-0/+31
If device has serious problem and cause firmware can not recover itself. Keep reloading firmware will not help, it can only fill up the syslog and lock up the system because busy reloading. Introduce the limit reload counter, if the reload reach the maximum within the pre-defined duration;stop the reload operation. Signed-off-by: Wey-Yi Guy <[email protected]>
2011-02-21ax88796: use generic mdio_bitbang driverMarc Kleine-Budde2-200/+196
..instead of using hand-crafted and not proper working version. Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: clean up probe and remove functionMarc Kleine-Budde1-44/+31
This way we can remove the struct resource pointers from the private data. Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: make pointer to platform data constMarc Kleine-Budde1-1/+1
Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: remove platform_device member from struct ax_deviceMarc Kleine-Budde1-4/+2
Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: use netdev_<LEVEL> instead of dev_<LEVEL> and pr_<LEVEL>Marc Kleine-Budde1-26/+20
Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: remove first_init parameter from ax_init_dev()Marc Kleine-Budde1-25/+19
ax_init_dev() is always called with first_init=1. Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: remove memset of private dataMarc Kleine-Budde1-2/+0
It's allocated via alloc_netdev, thus already zeroed. Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: don't use magic ei_status to acces private dataMarc Kleine-Budde1-39/+42
Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21ax88796: fix codingstyle and checkpatch warningsMarc Kleine-Budde1-128/+134
Signed-off-by: Marc Kleine-Budde <[email protected]>
2011-02-21Merge branch 'master' into for-2.6.39Tejun Heo81-586/+3145
2011-02-19Merge branch 'master' of ↵David S. Miller21-176/+279
master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 Conflicts: Documentation/feature-removal-schedule.txt drivers/net/e1000e/netdev.c net/xfrm/xfrm_policy.c
2011-02-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds16-155/+245
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (37 commits) net: deinit automatic LIST_HEAD net: dont leave active on stack LIST_HEAD net: provide default_advmss() methods to blackhole dst_ops tg3: Restrict phy ioctl access drivers/net: Call netif_carrier_off at the end of the probe ixgbe: work around for DDP last buffer size ixgbe: fix panic due to uninitialised pointer e1000e: flush all writebacks before unload e1000e: check down flag in tasks isdn: hisax: Use l2headersize() instead of dup (and buggy) func. arp_notify: unconditionally send gratuitous ARP for NETDEV_NOTIFY_PEERS. cxgb4vf: Use defined Mailbox Timeout cxgb4vf: Quiesce Virtual Interfaces on shutdown ... cxgb4vf: Behave properly when CONFIG_DEBUG_FS isn't defined ... cxgb4vf: Check driver parameters in the right place ... pch_gbe: Fix the MAC Address load issue. iwlwifi: Delete iwl3945_good_plcp_health. net/can/softing: make CAN_SOFTING_CS depend on CAN_SOFTING netfilter: nf_iterate: fix incorrect RCU usage pch_gbe: Fix the issue that the receiving data is not normal. ...
2011-02-18Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6John W. Linville11-28/+22
Conflicts: drivers/bluetooth/ath3k.c drivers/bluetooth/btusb.c