summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/bcmdhd/dhd_sdio.c
AgeCommit message (Collapse)Author
2012-06-15net: wireless: bcmdhd: Make responce waiting uninterruptibleDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Change singal pending return value from -110 to -4Dmitry Shmidt
- ETIMEDOUT is interpreted as FW is not responding, so return EINTR instead Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.61Dmitry Shmidt
- Deauth frame from p2p GO to client doesn't go from firmware if we do del_virtual_iface immediately. Putting a delay after sending deauth frame to allowed FW to send out deauth frame. - IF_DEL operation was timing out due to wrong status check. Fixed it and added few debug prints. - Sending Provision Discovery directly to GO instead of doing an internal scan. Also put the internal scan count to 3 to have better timings for GO-NEG. - Increase beacon timeout only for concurrent mode. For STA only operation, use the default beacon timeout value (4). - If scan abort is due to timeout, aborting the scan in FW is not required. Moreover, as this scan_timeout call is coming in timer interrupt context, all blocking calls such as fw scan abort will result in kernel panic : don’t call abort in Firmware. - Add p2p_cancel_listen routine. Fix p2p_listen_complete related kernel crash seen while turning off WiFi. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to version 5.90.195.53Dmitry Shmidt
- Add retry to wl_cfg80211_mgmt_tx() for P2P - Change singal pending return value from -512 to -110 - Minor cleaning Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix FW hang recoveryDmitry Shmidt
- Reduce IOCTL responce timeout to 2 sec (from 20) - Fix pending status in case of timeout - Pass error code from dhd_is_associated() call - Call cfg80211_disconnected() if no timeout detected Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix frame sequence lag issueAndrey Smolnikov
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.46Dmitry Shmidt
- Fix WEXT compilation - Start SoftAP in G-band only - Fix IF_DEL timeout due to wrong status check - Fix P2P to pass certification - Enable arpoe in concurrent mode by default - Fail to start sched scan in P2P GO Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.30Dmitry Shmidt
- Fix STA features if P2P FW is in use - Move ENABLE_P2P_INTERFACE to Makefile - Minor fixes in PNO scan Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.28Dmitry Shmidt
- Improve scan for p2p - Use use_rxchain support - Use WL_WIRELESS_EXT instead of CONFIG_WIRELESS_EXT - Initial sched_scan support Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix driver hang when resettingMike J. Chen
bus->tx_max was not being initialized when we do a reset and the driver is statically linked. this led to about a 50% chance that it would be considered an illegal value when we send the mac address to the FW. add code to initialize it to a safe value until we receive the right value from the fw. Bug: 5974574 Change-Id: I28ab25d97203ef075e5354c25f85a25daaff5594 Signed-off-by: Mike J. Chen <mjchen@google.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix crash on dhdsdio_probe_attach() failureDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.23Dmitry Shmidt
- WFD fixes Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.22Dmitry Shmidt
- Disable Ad-hoc support for cfg80211 - dhd_linux.c: Fix incorrect pid check - Merge Android changes from Android tree Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.19Dmitry Shmidt
- Add WFD changes - Add extra locking for internal ioctl operations Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.15Dmitry Shmidt
- Add WFD concurrent mode support Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Allow to push more packets to FW for TxDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Use CONFIG_DHD_USE_STATIC_BUF for preallocated memoryDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-02-23net: wireless: bcmdhd: set reference to physical deviceMursalin Akon
Set the parent field of the netdevice, which causes sysfs to create a device subdirectory under the netdevice. Without this subdirectory the user-space NetworkManager cannot manage the network device. Implemented using void * to maintain current driver implementation of segregated OS-specific implementation. This CL contains changes similar to http://git-master/r/77889 which was done for bcm4329. Bug 924521 (cherry picked from commit 8ce30af25321844cb0e89a3c23f0a6521885b6db) Signed-off-by: Mursalin Akon <makon@nvidia.com> Change-Id: I78ef9883ae1f85dbd3ad18e0ee2dece1559c4da8 Reviewed-on: http://git-master/r/82875 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com>
2011-11-30drivers: net: bcmdhd: modify firmware pathNarayan Reddy
In order to support bcm4329 and bcm4330 in single binary, driver has to construct firmware path names dynamically. Change-Id: I7bdb0fd51f21494b4cb61c65fe9ba23e0eb5604f Reviewed-on: http://git-master/r/60884 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R4b22880696a239bd16f570156bb013b00d6a2d67
2011-11-30drivers: net: bcmdhd: load firmare based on chipidNarayan Reddy
bcm4329 and bcm4330 need different firmware files. This change detects chipid and loads firmware located at CONFIG_BCMDHD_FW_DIR/firmware_bcm<chipid>.bin Bug 820860 (cherry picked from commit 850c98cc99c0bd8feee523a6c62501de9be3c770) Change-Id: I043ffeda3ae8fe6f5c0c133bacc4aba7a080b983 Reviewed-on: http://git-master/r/60221 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R59196ff5cb76aedcfaae1e84277a2ae27ce92314
2011-11-30net: wireless: bcmdhd: Update to version 5.90.125.94Dmitry Shmidt
- Fix WFD interface removal - Fix profile update - Keep same mode for softap or WFD during early suspend - Add dhd_console_ms parameter access Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Combined P2P fixDmitry Shmidt
- Fix random kernel panic during p2p certification and change private command for set_ap_wps_ie of wpa_supplicant - Fix problem for 5.1.18 discoverability exchange of P2P sigma - Fix problem for 7.1.3 to change PM_FAST to PM_MAX (802.11 legacy power save) - Change type of signal variable in wl_inform_single_bss from uint to int - Fix crash on P2P interface removal - Add new DHD_BLOC logic for our internal purposes to keep track of FW crashes and build info Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Update to Version 5.90.125.87Dmitry Shmidt
- Improve discovery of FW hanging - Add WFD noa and power-safe related functions Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Update to Version 5.90.125.84Dmitry Shmidt
- Fix no scan problem for cfg80211 when Scan Event missed - Improve logic to generate Event via cfg80211 when FW hangs - Fix a crash on Android driver removal - DHD read has chance to crash under long stress : fix (dhd_sdio.c) - Fix power consumption issue as sending disassoc explicitly - Change the logic for listen timer to solve memory leak and guarantee listen timing - Adding wl_cfg80211_get_station for HostAPD Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Update to version 5.90.125.78Dmitry Shmidt
- Add BT-Coex support to cfg80211 - Add private event logic to cfg80211 when FW hangs - Reduce passive dwell time to 130 ms - Fix proptx initialize fail issue - Implement codes for WPS2.0 using cfg80211 - Clean any left virtual interfaces in primary dhd_stop context - Skip waiting for rtnl_lock in cfg80211 callback if already taken - Skip writing to file FW trap info Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Update to 5.90.125.74Howard M. Harte
Change-Id: I427ee7a07e794b228e58fa2edbaa127481b67398 Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Update to 5.90.125.69Greg Goldman
Change-Id: I25a516ca4d8f5edc72a2a54e420f5e1b4fe3aa16 Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Update to 5.90.125.64:Howard M. Harte
* Fix for dhd_bus_devreset in dhd_sdio return error 35 when first called. * Add combo scan support. * Fix PMK caching issue. Change-Id: Iac9e8591d27ef7240418c79caf0a4ac919ef23f3 Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Fixing memory leak problem in wl_get_iesGreg Goldman
Change-Id: I26462c22ba4c3aebc1e157fbf74833c65815647c Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30Update to 5.90.125.52:Howard M. Harte
Fix unremoved monitor interface problem after killing hostapd. Add WPS support for hostapd. Change-Id: I4e476fafb203592fcdf5c15a526b67d4aa78df3e Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30Fix a potential crash/memory leak if NVRAM fails to load.Howard M. Harte
Change-Id: I27f41dd5833835b74f38524e9691d68ac807c991 Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30Update to 5.90.125.40Lin Ma
Add monitor interface support and fix cfg80211 management frame isses Add support for hostapd Use private command to get p2p device address Change-Id: Ie490e38f1af9f259ff4a96b2f7d367119c65c377 Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Fix MAC address settingDmitry Shmidt
If MAC address setting fails from wifi_get_mac_addr() it will be picked up from nvram. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30Update to 5.90.125.33Greg Goldman
Add logic to get MAC address before firmware is loaded Change-Id: I2151a0fcc5aab914cfec8bfedf761b9f06445d1a Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30Update to 5.90.125.32:Lin Ma
* Move Android specific functions to wl_android (wifi control functions, wifi device, pre-alloc buffer.) * Link Android start/stop commands to interface up/down (download firmware when primary interfacde is up.) * Fix a issue in driver unload, the same IRQ can not be disabled twice (set_irq_wake) Change-Id: Id49c4f746f69371323c9a34834c3b628b78ff713 Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30net: wireless: bcmdhd: Combined patch from 4.218.248-31Howard M. Harte
bcmdhd: Allocate skb with GFP_KERNEL flag if possible: fix for older kernels. bcmdhd: Fix race conditions for sysioc_thread * Fix up formatting and #ifdefs. net: wireless: bcmdhd: Fix get_customized_country_code() for older kernels. net: wireless: bcmdhd: Move PNO function prototypes to dhd.h. Add private command support. net: wireless: bcmdhd: Set proper read barrier net: wireless: bcmdhd: Fix memory leak in case of dhd_bus_init() failure net: wireless: bcmdhd: Fix wake_lock symmetry net: wireless: bcmdhd: Ignore error if scan results are empty net: wireless: bcmdhd: Add sdlock to firmware loading net: wireless: bcmdhd: Fix watchdog syncronization during start/stop net: wireless: bcmdhd: Fix Makefile to allow WEXT compilation Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-30Update to 5.90.125.27 release.Howard M. Harte
Change-Id: I593f4a90671468b486e5f39b9eeff8ae65ac9431 Signed-off-by: Howard M. Harte <hharte@broadcom.com>
2011-11-30Update to 5.90.125.22:Howard M. Harte
* Add support for SoftAP, keepalive, ARP offload. * Clean up cfg80211 and p2p code. * Update Makefile to support new features. Change-Id: I1e7a16acd400d7baf5625ca8ba6552a6f1c80661 Signed-off-by: Howard M. Harte <hharte@broadcom.com>
2011-11-30net: wireless: bcmdhd: Initial version based on 5.90.125.14Dmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>