aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
Commit message (Collapse)AuthorAgeFilesLines
* net: wireless: bcmdhd: check privilege on priv cmdJerry Lee2016-10-121-0/+4
| | | | | | | | check net admin capability for ioctl calls BUG=26425765 Change-Id: Idae75c9fc530add3ead3508d25e994bbfec9a6de
* ppp: take reference on channels netnsGuillaume Nault2016-10-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let channels hold a reference on their network namespace. Some channel types, like ppp_async and ppp_synctty, can have their userspace controller running in a different namespace. Therefore they can't rely on them to preclude their netns from being removed from under them. ================================================================== BUG: KASAN: use-after-free in ppp_unregister_channel+0x372/0x3a0 at addr ffff880064e217e0 Read of size 8 by task syz-executor/11581 ============================================================================= BUG net_namespace (Not tainted): kasan: bad access detected ----------------------------------------------------------------------------- Disabling lock debugging due to kernel taint INFO: Allocated in copy_net_ns+0x6b/0x1a0 age=92569 cpu=3 pid=6906 [< none >] ___slab_alloc+0x4c7/0x500 kernel/mm/slub.c:2440 [< none >] __slab_alloc+0x4c/0x90 kernel/mm/slub.c:2469 [< inline >] slab_alloc_node kernel/mm/slub.c:2532 [< inline >] slab_alloc kernel/mm/slub.c:2574 [< none >] kmem_cache_alloc+0x23a/0x2b0 kernel/mm/slub.c:2579 [< inline >] kmem_cache_zalloc kernel/include/linux/slab.h:597 [< inline >] net_alloc kernel/net/core/net_namespace.c:325 [< none >] copy_net_ns+0x6b/0x1a0 kernel/net/core/net_namespace.c:360 [< none >] create_new_namespaces+0x2f6/0x610 kernel/kernel/nsproxy.c:95 [< none >] copy_namespaces+0x297/0x320 kernel/kernel/nsproxy.c:150 [< none >] copy_process.part.35+0x1bf4/0x5760 kernel/kernel/fork.c:1451 [< inline >] copy_process kernel/kernel/fork.c:1274 [< none >] _do_fork+0x1bc/0xcb0 kernel/kernel/fork.c:1723 [< inline >] SYSC_clone kernel/kernel/fork.c:1832 [< none >] SyS_clone+0x37/0x50 kernel/kernel/fork.c:1826 [< none >] entry_SYSCALL_64_fastpath+0x16/0x7a kernel/arch/x86/entry/entry_64.S:185 INFO: Freed in net_drop_ns+0x67/0x80 age=575 cpu=2 pid=2631 [< none >] __slab_free+0x1fc/0x320 kernel/mm/slub.c:2650 [< inline >] slab_free kernel/mm/slub.c:2805 [< none >] kmem_cache_free+0x2a0/0x330 kernel/mm/slub.c:2814 [< inline >] net_free kernel/net/core/net_namespace.c:341 [< none >] net_drop_ns+0x67/0x80 kernel/net/core/net_namespace.c:348 [< none >] cleanup_net+0x4e5/0x600 kernel/net/core/net_namespace.c:448 [< none >] process_one_work+0x794/0x1440 kernel/kernel/workqueue.c:2036 [< none >] worker_thread+0xdb/0xfc0 kernel/kernel/workqueue.c:2170 [< none >] kthread+0x23f/0x2d0 kernel/drivers/block/aoe/aoecmd.c:1303 [< none >] ret_from_fork+0x3f/0x70 kernel/arch/x86/entry/entry_64.S:468 INFO: Slab 0xffffea0001938800 objects=3 used=0 fp=0xffff880064e20000 flags=0x5fffc0000004080 INFO: Object 0xffff880064e20000 @offset=0 fp=0xffff880064e24200 CPU: 1 PID: 11581 Comm: syz-executor Tainted: G B 4.4.0+ Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014 00000000ffffffff ffff8800662c7790 ffffffff8292049d ffff88003e36a300 ffff880064e20000 ffff880064e20000 ffff8800662c77c0 ffffffff816f2054 ffff88003e36a300 ffffea0001938800 ffff880064e20000 0000000000000000 Call Trace: [< inline >] __dump_stack kernel/lib/dump_stack.c:15 [<ffffffff8292049d>] dump_stack+0x6f/0xa2 kernel/lib/dump_stack.c:50 [<ffffffff816f2054>] print_trailer+0xf4/0x150 kernel/mm/slub.c:654 [<ffffffff816f875f>] object_err+0x2f/0x40 kernel/mm/slub.c:661 [< inline >] print_address_description kernel/mm/kasan/report.c:138 [<ffffffff816fb0c5>] kasan_report_error+0x215/0x530 kernel/mm/kasan/report.c:236 [< inline >] kasan_report kernel/mm/kasan/report.c:259 [<ffffffff816fb4de>] __asan_report_load8_noabort+0x3e/0x40 kernel/mm/kasan/report.c:280 [< inline >] ? ppp_pernet kernel/include/linux/compiler.h:218 [<ffffffff83ad71b2>] ? ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392 [< inline >] ppp_pernet kernel/include/linux/compiler.h:218 [<ffffffff83ad71b2>] ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392 [< inline >] ? ppp_pernet kernel/drivers/net/ppp/ppp_generic.c:293 [<ffffffff83ad6f26>] ? ppp_unregister_channel+0xe6/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392 [<ffffffff83ae18f3>] ppp_asynctty_close+0xa3/0x130 kernel/drivers/net/ppp/ppp_async.c:241 [<ffffffff83ae1850>] ? async_lcp_peek+0x5b0/0x5b0 kernel/drivers/net/ppp/ppp_async.c:1000 [<ffffffff82c33239>] tty_ldisc_close.isra.1+0x99/0xe0 kernel/drivers/tty/tty_ldisc.c:478 [<ffffffff82c332c0>] tty_ldisc_kill+0x40/0x170 kernel/drivers/tty/tty_ldisc.c:744 [<ffffffff82c34943>] tty_ldisc_release+0x1b3/0x260 kernel/drivers/tty/tty_ldisc.c:772 [<ffffffff82c1ef21>] tty_release+0xac1/0x13e0 kernel/drivers/tty/tty_io.c:1901 [<ffffffff82c1e460>] ? release_tty+0x320/0x320 kernel/drivers/tty/tty_io.c:1688 [<ffffffff8174de36>] __fput+0x236/0x780 kernel/fs/file_table.c:208 [<ffffffff8174e405>] ____fput+0x15/0x20 kernel/fs/file_table.c:244 [<ffffffff813595ab>] task_work_run+0x16b/0x200 kernel/kernel/task_work.c:115 [< inline >] exit_task_work kernel/include/linux/task_work.h:21 [<ffffffff81307105>] do_exit+0x8b5/0x2c60 kernel/kernel/exit.c:750 [<ffffffff813fdd20>] ? debug_check_no_locks_freed+0x290/0x290 kernel/kernel/locking/lockdep.c:4123 [<ffffffff81306850>] ? mm_update_next_owner+0x6f0/0x6f0 kernel/kernel/exit.c:357 [<ffffffff813215e6>] ? __dequeue_signal+0x136/0x470 kernel/kernel/signal.c:550 [<ffffffff8132067b>] ? recalc_sigpending_tsk+0x13b/0x180 kernel/kernel/signal.c:145 [<ffffffff81309628>] do_group_exit+0x108/0x330 kernel/kernel/exit.c:880 [<ffffffff8132b9d4>] get_signal+0x5e4/0x14f0 kernel/kernel/signal.c:2307 [< inline >] ? kretprobe_table_lock kernel/kernel/kprobes.c:1113 [<ffffffff8151d355>] ? kprobe_flush_task+0xb5/0x450 kernel/kernel/kprobes.c:1158 [<ffffffff8115f7d3>] do_signal+0x83/0x1c90 kernel/arch/x86/kernel/signal.c:712 [<ffffffff8151d2a0>] ? recycle_rp_inst+0x310/0x310 kernel/include/linux/list.h:655 [<ffffffff8115f750>] ? setup_sigcontext+0x780/0x780 kernel/arch/x86/kernel/signal.c:165 [<ffffffff81380864>] ? finish_task_switch+0x424/0x5f0 kernel/kernel/sched/core.c:2692 [< inline >] ? finish_lock_switch kernel/kernel/sched/sched.h:1099 [<ffffffff81380560>] ? finish_task_switch+0x120/0x5f0 kernel/kernel/sched/core.c:2678 [< inline >] ? context_switch kernel/kernel/sched/core.c:2807 [<ffffffff85d794e9>] ? __schedule+0x919/0x1bd0 kernel/kernel/sched/core.c:3283 [<ffffffff81003901>] exit_to_usermode_loop+0xf1/0x1a0 kernel/arch/x86/entry/common.c:247 [< inline >] prepare_exit_to_usermode kernel/arch/x86/entry/common.c:282 [<ffffffff810062ef>] syscall_return_slowpath+0x19f/0x210 kernel/arch/x86/entry/common.c:344 [<ffffffff85d88022>] int_ret_from_sys_call+0x25/0x9f kernel/arch/x86/entry/entry_64.S:281 Memory state around the buggy address: ffff880064e21680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff880064e21700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff880064e21780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff880064e21800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff880064e21880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== Change-Id: I591b30eafa1b57bd2e211e1f33c39128702ff0b0 Fixes: 273ec51dd7ce ("net: ppp_generic - introduce net-namespace functionality v2") Reported-by: Baozeng Ding <sploving1@gmail.com> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* usbnet: cleanup after bind() in probe()Oliver Neukum2016-10-121-0/+7
| | | | | | | | | | | | | In case bind() works, but a later error forces bailing in probe() in error cases work and a timer may be scheduled. They must be killed. This fixes an error case related to the double free reported in http://www.spinics.net/lists/netdev/msg367669.html and needs to go on top of Linus' fix to cdc-ncm. Change-Id: I43b1673bc31b3af05789e461b39c55062735cc56 Signed-off-by: Oliver Neukum <ONeukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: wireless: bcmdhd: Remove WLAN_CIPHER_SUITE_AES_CMAC advertisementDmitry Shmidt2016-04-301-0/+2
| | | | | Change-Id: I2df5a40bf76c9025a0f6e82627a20271cd36b8b2 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Disable OOB interrupt when WLAN is offRitter Yeh2016-04-301-0/+2
| | | | | | | | b/17446901 Change-Id: I99069c584fa7279b8bd5a61d64ce27764edbd1d8 Signed-off-by: Ritter Yeh <ryeh@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Add support for hidden ssid PNO scanAshwin2016-04-308-107/+170
| | | | | | | | | Changes to support hidden ssid config to be sent to FW. Earlier all ssids were hard coded as hidden, now only those indicated as such by supplicant will be. Change-Id: I927030fe12f162c52c93277b2ebfb4bf55daef4a Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
* net: wireless: bcmdhd: Add WIPHY_WOWLAN_ANY supportDmitry Shmidt2016-04-301-0/+3
| | | | | Change-Id: Ia6afe2ebcd0c68622c7f7a1fb36efa62dc009abf Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: support Hotspot 2.0 release 1.0Ecco Park2016-04-304-0/+222
| | | | | | Change-Id: I0d893b85741da628cb5c49c0a1b70c9d2d1ffac9 Signed-off-by: Ecco Park <eccopark@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Change the parameter for TDLSEcco Park2016-04-302-0/+19
| | | | | | | | | 1) tuned the parameter for TDLS connection to transit between AP and TDLS smoothly. 2) tdls_rssi_high : -70 dbm -> -60 dbm (for setup) tdls_rssi_low : -80 dbm -> -70dbm (for teardown) bug : 11632025 Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Sync with N5 branchDmitry Shmidt2016-04-307-23/+34
| | | | | Change-Id: I8152c52ae7da4932ff4b588d456548498bd4bab7 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: enable TDLS_auto_modeEcco Park2016-04-303-32/+57
| | | | | | | | | | Requirement : 1. enable auto mode for SETUP request 2. disable auto mode for TEARDOWN request bug : 11632025 TDLS hybrid mode support Change-Id: Idc0cb60e65a45bb32b8beb2bb3daf72c9112eab6 Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Enable IPv6 RA filter featureEcco Park2016-04-301-0/+19
| | | | | | | 1) We will block IPv6 Router Advertisement multicast packet in suspend mode to save power on device. Bug: 11638281 Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Set MAX_DTIM_ALLOWED_INTERVAL to 600Dmitry Shmidt2016-04-301-1/+1
| | | | | Change-Id: Ie4d9cac1e0828651a142d64762b251537431ea99 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Change DTIM skip policy in suspendEcco Park2016-04-302-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | issue : WiFi continuously disconnects Root cause : Sometimes we got link down event due to beacon lost when device goes to suspend. This problem sometimes happens in case that DTIM is 3 and beacon 100ms because we wake up on 900ms (100ms * 3 * 3) during suspend. This value(900ms) is too big to STA for sync up with AP time. This causes STA out of sync for time with the AP. Eventually STA got lost of beacon during long time (4secs). Solution : If the total dtim skip interval (beacon_interval * DTIM * 3) is greater than 300ms, we will not extend DTIM to DTIM * 3. Instead of that, we will use original value (DTIM) for wake up in suspend. Bug : 1343127 WiFi continuously disconnects Signed-off-by: Ecco Park <eccopark@broadcom.com> Change-Id: I6d89bd1c56127befe4d9606869396ee25b7911ef
* net: wireless: bcmdhd: cancel current PNO if connection will happenEcco Park2016-04-302-7/+23
| | | | | | | | | | | | | Issue : Manta: Lack of WLS causes PNO problem Problem : we found that race condition happens between connection and PNO sometimes. Connection is failed due to this race condition. Solution: we need to cancel PNO explicitly if the connection request start in DHD driver. Bug : 11174374 Signed-off-by: Ecco Park <eccopark@broadcom.com> Change-Id: I7bf81d127901a74e9f47d6cc4ee7b265c6936dc3
* net: wireless: bcmdhd: reduced the wakelock time of RX packetEcco Park2016-04-302-2/+2
| | | | | | | | Reduce time : 1secs -> 500ms Problem : [Issue 11512235] 34% battery eaten overnight [Issue 11374623] OS + Wifi used 41% of battery, wlan_rx_wake Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Fixed a problem of buganizer issue (11190960)Ecco Park2016-04-301-0/+1
| | | | | | | | | | | | | Problem : if PNO scan occurs in Driver after p2p scan, we failed to do PNO scan Root cause : In the wl_run_escan function, we still goes into p2p scan code even though current scan is PNO which is kind of legacy scan. Solution : we need to clear the staus of P2P scan before doing PNO SCAN. Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: fixed power consumption issue of P2P.Ecco Park2016-04-303-1/+25
| | | | | | | | | | | | | solution : add wake_lock not to go to suspend during removing P2P GO interface in wl_cfg80211.c. Description of this issue : if device goes to suspend during removing the interface, we will fail to remove P2P GO virtual interface(p2p-p2p0-0). This will causes P2P GO still alive in firmware Bugnizer case id : 10874302 This issue is reported by LG team. Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Fix country checkingDmitry Shmidt2016-04-301-1/+1
| | | | | | | Bug: 11319610 Change-Id: I5c52ed594614d8039f167de3c98bd9f802b521df Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: add code for WLS service.Ecco Park2016-04-301-2/+5
| | | | | | | add protection code to fix the issue#11051053 ( [Issue 11051053] [BATCHED-SCAN] Batched scan results become unavailable after disabling/re-enabling wifi scan) Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Fixed Wi-Fi Location Service issues.Ecco Park2016-04-302-5/+22
| | | | | | | 1. 10954142 [BATCHED-SCAN]Wifi Batching stopped after long time 2. 10412309 [BATCHED-SCAN] Batched scans aren't as frequent as expected. Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Fixed Coverity issue.Ecco Park2016-04-304-43/+50
| | | | Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: new feature for Roaming.Ecco Park2016-04-305-6/+58
| | | | | | | | | | | | | | | | 1) The functionality help to prevent the device from doing roam scan forever in the environment which has just one AP nearbyt, but the RSSI of the AP is -75dbm ~ 78dbm 2) The feature will set the roam trigger from -75dbm to -85dbm in case that there are only one AP. 3) The value will be reset to -75dbm after disconnecting from current AP. 4) This patch will Fixed Google issue: [10718651] WiFi draining battery life even while phone connected to charge 5) Enable flow control in DHD driver to fix 10430352 UDP speed is less than 40% of TCP speed with LInksys WRT110 Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Fix of Wireless Location ServiceEcco Park2016-04-301-0/+6
| | | | | Fixed memory Leak in case of rmmod DHD without batching stop. Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Fix of Wireless Location ServiceEcco Park2016-04-303-3/+12
| | | | | | Fixed [10378803] [BATCHED-SCAN] WLS_BATCHING commands often return their command back rather than expected outputs Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Update Location Service codeEcco Park2016-04-304-29/+57
| | | | | | | | | | | | | updated the dhd_pno.c based on new firmware which will be released today. updated the wl_anroid.c based on Robert's requirement Signed-off-by: Ecco Park <eccopark@broadcom.com> Conflicts: drivers/net/wireless/bcmdhd/common/include/proto/bcmevent.h Change-Id: I270755fe4c041ea1282afaed9d120c9b83c2bc0c
* net: wireless: bcmdhd: enable WL_IFACE_COMB_NUM_CHANNELSEcco Park2016-04-301-0/+1
| | | | Signed-off-by: Ecco Park <eccopark@broadcom.com>
* net: wireless: bcmdhd: Update to version 1.88.45Ecco Park2016-04-3010-442/+479
| | | | | | | | | | | | | | | | | | | 1. Remove WL_SUPPORT_AUTO_CHANNEL codes 2. add codes for WL_IFACE_COMB_NUM_CHANNELS and WL_CFG80211_P2P_DEV_IF to support concurent mode. (Google Bug : [9892309] support Wifi direct 5GHZ channels) but, remove the WL_IFACE_COM_NUM_CHANELS in Makefile 3. refactoring the codes for hidden ap roaming Signed-off-by: Ecco Park <eccopark@broadcom.com> Conflicts: drivers/net/wireless/bcmdhd/Makefile drivers/net/wireless/bcmdhd/wl_android.c drivers/net/wireless/bcmdhd/wl_cfg80211.c drivers/net/wireless/bcmdhd/wl_cfgp2p.c drivers/net/wireless/bcmdhd/wl_cfgp2p.h Change-Id: If8283f26714196aa971c186c57758c0e64ce87df
* net: wireless: bcmdhd: Update to version 1.88.42Dmitry Shmidt2016-04-3014-323/+2343
| | | | | | | - Add batched scan implementation Change-Id: I48a36f753597734b2a8865a53f15df30c5ae0d36 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.41Dmitry Shmidt2016-04-3043-251/+885
| | | | | | | | | | | | | | | - Fix sched scan processing - Fix NDO processing - Do not wake dhd_dpc process if not necessary - Remove unnecessary defines and ifdefs - Fix SDIO bus wakeup code when idletime was zero case - Fix OOB interrupt handler was not registered when WLAN on failed case - Clean up ARP Packet filter code - Clean up P2P ESCAN source code - Clean up TDLS code Change-Id: I6b9a15f0d49c80d72183fd6e9f4b6bb01e450cd4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Remove chatty message from wl_cfgp2p_act_frm_searchDmitry Shmidt2016-04-301-1/+1
| | | | | Change-Id: I06ffddddf239443f3684f97a5c31b6872c89d769 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Remove PASS_ARP_PACKET defineDmitry Shmidt2016-04-301-1/+1
| | | | | Change-Id: Ic5787ffb40840def3cb676ce0030c0923b0738c4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Enable p2p support bits for p2p deviceDmitry Shmidt2016-04-301-2/+1
| | | | | Change-Id: I62102ead0e72be41d591f9562f3ac27c41b9e395 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Fix NDO functionalityECCO PARK2016-04-301-19/+39
| | | | | Change-Id: I297e5b1124a515a7f829a5d7e736454ec9c8732a Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.27Dmitry Shmidt2016-04-3019-350/+1751
| | | | | | | | | - Check FW capabilities - Add NS offload - Sync with bcm4339 version Change-Id: I95053eb417a147236dab43e5aabef5108d786b7c Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Fix tdls processing from cfg80211Dmitry Shmidt2016-04-303-20/+54
| | | | | Change-Id: Ie59e3b2e22e0542c5336183d591c1fca4eb490ae Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.21Dmitry Shmidt2016-04-3019-184/+201
| | | | | | | | | - Remove DHCP_SCAN_SUPPRESS option - Tune P2P parameters - Add bcm4339 support Change-Id: Ifc2906b3df6c17a7a8ea8e27f5f001fe3d9acd01 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Close p2p0 device in wl_downDmitry Shmidt2016-04-301-0/+7
| | | | | Change-Id: I9e8404badf55c0e7a54144d7b5f1c5d80aa0cb4b Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.16Dmitry Shmidt2016-04-309-65/+196
| | | | | | | | | | | - Change the logic to enable Power save mode for STA or P2P GC - Fix protxstatus bug for corner case - Reset uninitialized value for mac entry - Remove dhd_wlfc_init/deinit in wl_android.c - Fix IBSS mode Change-Id: I4589e87eda456798eae48548261a1f7cb9542660 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.11Dmitry Shmidt2016-04-309-77/+136
| | | | | | | | | | - Fix potential memory leak in wl_android_iolist_resume for Miracast command - Check return value for "buf_key_b4_m4" - Add Platform custom LISTEN INTERVAL - Parse all P2P IEs to check for attributes Change-Id: I892cd2efee425e38e08fbbec666c9a666eebe0cb Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Enable full scan on PNO eventDmitry Shmidt2016-04-301-1/+1
| | | | | Change-Id: I21cfbd5fd88ab528a481b3a215a922ec656c681f Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Prevent recursive call of cfg80211_sched_scan_stopped()Dmitry Shmidt2016-04-301-3/+1
| | | | | Change-Id: I821313a69b2d2bb978917fc184bf9e095dd48c47 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.10Dmitry Shmidt2016-04-307-66/+106
| | | | | | | | | | - Check vndr pointer in case WPA Supplicant does not use probe_resp data - Enable buf_key_b4_m4 to install the key after sending 4-way M4 (802.1x EAPOL 4-way handshake may fail on Multiple VSDB situation) - Improve P2P tx frame stuff Change-Id: I5a46ebb50b37fbe6f4380f6e4deb8925603a56be Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Fix WEP-104 authenticationDmitry Shmidt2016-04-301-1/+1
| | | | | Change-Id: I2c80e7ff393050978d35f997f24ee82d7e4c20d1 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.7Dmitry Shmidt2016-04-308-25/+209
| | | | | | | | | | - Add WLTDLS_ENABLE option - Initial MIRACAST command to tune ampdu, disable PM mode and internal roaming - Minor bug fixing Change-Id: Icb38aad8c9ad7ee69e2001435dd0bce0da95543f Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.6Dmitry Shmidt2016-04-3012-438/+50
| | | | | | | | | | - Fix improper printing of negative value from dhd dump command - Fix too long scan dwell time when connect command is coming with no channel info - Remove unused WLBTAMP code Change-Id: I4acdb3aa54ab79200299ac42d0d537c2beccc377 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to version 1.88.4Dmitry Shmidt2016-04-30111-9528/+15562
| | | | | | | | | - Improve P2P concurrency - Re-arch proptxstatus code - Fix WMM (QoS) traffic differentiation test Change-Id: Id204048255a5ab41913da260adf9154a350f7a77 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Fix SUPPORT_PM2_ONLY option for p2pDmitry Shmidt2016-04-301-1/+1
| | | | | Change-Id: I1db584aa5284adc8ab156e4690891bba3a1c3b91 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to Version 1.28-27Greg Goldman2016-04-3012-79/+176
| | | | | | | | | | | | | | - Disable SDIO in-band interrupt explicitly to avoid problems with SDIO Host when generating SDIO Interrupt on DAT1 created unwanted CRC error - Fix handling when bcmsdh_probe() called twice - Fix handling the packet list properly in the corner cases - Remove unnecessary delay during P2P connection process - Fix issue finding peer with VSDB - Get AP beacon and DTIM to set proper DTIM skipping Change-Id: I7ee923727d0c3ad34c83b5ec1dda8e2aa5ea5834 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* net: wireless: bcmdhd: Update to Version 1.28-24Dmitry Shmidt2016-04-308-27/+45
| | | | | | | | | - P2P: Improve provision discovery probing - Add optional dhd_dpcpoll to improve performance - Return proper err in wl_cfg80211_attach Change-Id: I877fc2ff4de2e43b33fdd688cd7309924f7c3722 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>