Commit Graph

134 Commits

Author SHA1 Message Date
Dmitry Shmidt
0e80804a2e net: wireless: bcmdhd: Increase pm_notify callback priority
Make pm_notify callback to be called the first on suspend/resume path to
ensure it will always be called.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-31 13:31:53 -08:00
Dmitry Shmidt
dfc896e1c8 net: wireless: bcmdhd: Fix crash on dhdsdio_probe_attach() failure
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-31 13:31:37 -08:00
Dmitry Shmidt
256a6b23be net: wireless: bcmdhd: Daemonize wl_event_handler
Daemonizing makes thread (besides other things) NON-FREEZABLE, and it will not
get fake signal on suspend to quicl down_interruptible()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-31 13:31:15 -08:00
Dmitry Shmidt
ff93146589 net: wireless: bcmdhd: Update to Version 5.90.195.23
- WFD fixes

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-27 15:32:34 -08:00
Dmitry Shmidt
96034c2006 net: wireless: bcmdhd: Update to Version 5.90.195.22
- 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-01-27 15:32:33 -08:00
Dmitry Shmidt
494661a1ac net: wireless: bcmdhd: Update to Version 5.90.195.19
- Add WFD changes
- Add extra locking for internal ioctl operations

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-27 15:32:33 -08:00
Dmitry Shmidt
1dddb0cc0d net: wireless: bcmdhd: Update to Version 5.90.195.15
- Add WFD concurrent mode support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-27 15:32:32 -08:00
Dmitry Shmidt
52bdb6f543 net: wireless: bcmdhd: Add WIPHY_FLAG_SUPPORTS_FW_ROAM flag
Adding this flag will allow NL80211_ATTR_ROAM_SUPPORT, and will set
  WPA_DRIVER_FLAGS_BSS_SELECTION flag in wpa_supplicant

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-27 15:32:32 -08:00
Dmitry Shmidt
b1a94205e9 net: wireless: bcmdhd: Fake PNO event to wake up the wpa_supplicant
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-01-27 15:32:32 -08:00
Dmitry Shmidt
e1493f1544 net: wireless: bcmdhd: Enable wlan access on resume for all sdio functions
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:50 -08:00
Dmitry Shmidt
bbd08c6e95 net: wireless: bcmdhd: Fix P2P interface removal
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:49 -08:00
Dmitry Shmidt
599c8566fa net: wireless: bcmdhd: Fix proper scan command even if request is NULL
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:48 -08:00
Dmitry Shmidt
f227b88c89 net: wireless: bcmdhd: Decrease event wake_lock timeout to 1500 ms
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:47 -08:00
Dmitry Shmidt
ed3f356087 net: wireless: bcmdhd: Fix getting arp_hostip table
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:44 -08:00
Dmitry Shmidt
c561cedf2b net: wireless: bcmdhd: Allow to push more packets to FW for Tx
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:44 -08:00
Dmitry Shmidt
4f36cb88d6 net: wireless: bcmdhd: Fix scan crash in ibss mode
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:43 -08:00
Dmitry Shmidt
af16732d4c net: wireless: bcmdhd: Add FW reloading in case of FW hang
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:43 -08:00
Dmitry Shmidt
7caeacd6ed net: wireless: bcmdhd: Update to Version 5.90.125.94.1
- Return zeroed private command buffer
- Fix memory leak in wl_inform_single_bss()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:43 -08:00
Dmitry Shmidt
8d71d882e7 net: wireless: bcmdhd: Use CONFIG_DHD_USE_STATIC_BUF for preallocated memory
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-12-19 13:22:43 -08:00
Dmitry Shmidt
0d8f32b7e8 net: wireless: bcmdhd: Call init_ioctl() only if was started properly for WEXT
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-11 16:14:33 -08:00
Dmitry Shmidt
1720a91d03 net: wireless: bcmdhd: Call init_ioctl() only if was started properly
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-11 16:14:22 -08:00
Dmitry Shmidt
766aaa604c net: wireless: bcmdhd: Fix possible memory leak in escan/iscan
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-11 16:14:07 -08:00
Dmitry Shmidt
5d94d7a3b7 net: wireless: bcmdhd: Skip dhd_bus_stop() if bus is already down
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-04 11:13:35 -07:00
Dmitry Shmidt
19179ebdb3 net: wireless: bcmdhd: Improve suspend/resume processing
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-04 09:56:20 -07:00
Dmitry Shmidt
40dd812298 net: wireless: bcmdhd: Check if FW is Ok for internal FW call
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-04 09:56:02 -07:00
Dmitry Shmidt
019c9a9d40 net: wireless: bcmdhd: Adjust scan parameters for wl_cfg80211_connect()
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-26 12:26:51 -07:00
Dmitry Shmidt
c670bf779b net: wireless: bcmdhd: Update to version 5.90.125.94
- 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-10-26 12:26:38 -07:00
Dmitry Shmidt
108376f4f4 net: wireless: bcmdhd: Fix crash in p2p OFF
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-20 13:49:26 -07:00
Dmitry Shmidt
b07882cade net: wireless: bcmdhd: Add wake_lock to dhd_open() and dhd_stop()
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-19 14:11:00 -07:00
Dmitry Shmidt
eef7ae49c5 net: wireless: bcmdhd: Fix bssid profile update
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-19 14:10:43 -07:00
Dmitry Shmidt
0ba392a160 net: wireless: bcmdhd: Add proper cleaning for ap_info structure
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-16 17:19:16 -07:00
Dmitry Shmidt
b11ecb42c0 net: wireless: bcmdhd: Send cfg80211_disconnected() if fails to get rssi
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-16 17:18:48 -07:00
Dmitry Shmidt
dd0675eed3 net: wireless: bcmdhd: Use spin_lock_irqsave instead of spin_lock_irq
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-06 10:39:55 -07:00
Dmitry Shmidt
0cd19f01a7 net: wireless: bcmdhd: Fix event thread termination in case of empty queue
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-06 10:39:55 -07:00
Dmitry Shmidt
23cbfabf0b net: wireless: bcmdhd: Improve join functionality
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-06 10:39:55 -07:00
Dmitry Shmidt
dbfa5aa0fa net: wireless: bcmdhd: Make sure that FW is UP after corresponding message
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-06 10:39:55 -07:00
Dmitry Shmidt
82b74f2353 net: wireless: bcmdhd: Fix profile update syncronization
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-06 10:39:55 -07:00
Dmitry Shmidt
6f6fe090c2 net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down()
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-10-06 10:39:54 -07:00
Dmitry Shmidt
f73747b051 net: wireless: bcmdhd: Fix get_noa() and set_noa() commands
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-28 17:12:02 -07:00
Dmitry Shmidt
8ee397dbb9 net: wireless: bcmdhd: Combined P2P fix
- 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-09-27 12:26:09 -07:00
Dmitry Shmidt
3e59ce0fde net: wireless: bcmdhd: Remove unnecessary rtnl_lock() calls
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-23 13:55:58 -07:00
Dmitry Shmidt
36cc2d0c3a net: wireless: bcmdhd: Fix SB address window caching
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-23 13:55:43 -07:00
Dmitry Shmidt
d72feaa3ce net: wireless: bcmdhd: Fix scan notification in case of scan abort
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-22 16:30:36 -07:00
Dmitry Shmidt
0eb5aac3aa net: wireless: bcmdhd: Update to Version 5.90.125.87
- Improve discovery of FW hanging
- Add WFD noa and power-safe related functions

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-21 13:22:10 -07:00
Dmitry Shmidt
9cbad3982d net: wireless: bcmdhd: Suppress dhd_pno_set message in case of success
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-19 12:37:49 -07:00
Dmitry Shmidt
9897481d97 net: wireless: bcmdhd: Enable P2P events only for P2P FW
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-18 16:15:19 -07:00
Dmitry Shmidt
1545c2379b net: wireless: bcmdhd: Fix wl_cfg80211_suspend() crash
- Eliminate wlan chip access during suspend
- Add DHD_CLEAR_ON_SUSPEND define to clear statuses on suspend

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-16 14:19:17 -07:00
Dmitry Shmidt
0831df769b net: wireless: bcmdhd: Update to Version 5.90.125.84
- 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-09-15 09:50:42 -07:00
Dmitry Shmidt
1ff007ee93 net: wireless: bcmdhd: Prohibit FW access in case of FW crash
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-15 09:50:28 -07:00
Dmitry Shmidt
4bc71443e4 net: wireless: bcmdhd: Update to version 5.90.125.78
- 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-09-07 10:47:58 -07:00