1. 20 11月, 2012 1 次提交
    • J
      Bluetooth: Add support for BCM20702A0 [0b05, 17b5] · 1ee3ff61
      Jeff Cook 提交于
      Vendor-specific ID for BCM20702A0.
      Support for bluetooth over Asus Wi-Fi GO!, included with Asus P8Z77-V
      Deluxe.
      
      T:  Bus=07 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
      D:  Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=0b05 ProdID=17b5 Rev=01.12
      S:  Manufacturer=Broadcom Corp
      S:  Product=BCM20702A0
      S:  SerialNumber=94DBC98AC113
      C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA
      I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
      I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
      I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NJeff Cook <jeff@deserettechnology.com>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      1ee3ff61
  2. 11 10月, 2012 1 次提交
  3. 28 9月, 2012 3 次提交
    • A
      Bluetooth: btmrvl: Fix skb buffer overflow · 9cb23dd4
      Andrei Emeltchenko 提交于
      Add extra check to avoid skb buffer overflow. Fixes crash below:
      
       [  101.030427] ------------[ cut here ]------------
       [  101.030459] kernel BUG at net/core/skbuff.c:127!
       [  101.030486] invalid opcode: 0000 [#1] SMP
      ...
       [  101.030806] Pid: 2010, comm: btmrvl_main_ser Not tainted 3.5.0+ #80 Laptop
       [  101.030859] EIP: 0060:[<c14f2ba9>] EFLAGS: 00010282 CPU: 0
       [  101.030894] EIP is at skb_put+0x99/0xa0
       [  101.030919] EAX: 00000080 EBX: f129380b ECX: ef923540 EDX: 00000001
       [  101.030956] ESI: f00a4000 EDI: 00001003 EBP: ed4a5efc ESP: ed4a5ecc
       [  101.030992]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
       [  101.031024] CR0: 8005003b CR2: 08fca014 CR3: 30960000 CR4: 000407f0
       [  101.031062] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
       [  101.031100] DR6: ffff0ff0 DR7: 00000400
       [  101.031125] Process btmrvl_main_ser (pid: 2010, ti=ed4a4000 task=ef923540 task.ti=ed4a4000)
       [  101.031174] Stack:
       [  101.031188]  c18126f8 c1651938 f853f8d2 00001003 00001003 f1292800 f1292808 f129380b
       [  101.031250]  f1292940 f00a4000 eddb1280 efc0f9c0 ed4a5f44 f853f8d2 00000040 00000000
       [  101.031312]  ef923540 c15ee096 ef923540 eddb12d4 00000004 f00a4000 00000040 00000000
       [  101.031376] Call Trace:
       [  101.031396]  [<f853f8d2>] ? btmrvl_sdio_process_int_status+0x272/0x3d0 [btmrvl_sdio]
       [  101.031444]  [<f853f8d2>] btmrvl_sdio_process_int_status+0x272/0x3d0 [btmrvl_sdio]
       [  101.031488]  [<c15ee096>] ? _raw_spin_unlock_irqrestore+0x36/0x70
       [  101.031526]  [<f85a46e4>] btmrvl_service_main_thread+0x244/0x300 [btmrvl]
       [  101.031568]  [<f853fb50>] ? btmrvl_sdio_poll_card_status.isra.6.constprop.7+0x90/0x90 [btmrvl_sdio]
       [  101.031619]  [<c107eda0>] ? try_to_wake_up+0x270/0x270
       [  101.031648]  [<f85a44a0>] ? btmrvl_process_event+0x3b0/0x3b0 [btmrvl]
       [  101.031686]  [<c106d19d>] kthread+0x7d/0x90
       [  101.031713]  [<c106d120>] ? flush_kthread_work+0x150/0x150
       [  101.031745]  [<c15f5a82>] kernel_thread_helper+0x6/0x10
      ...
       [  101.032008] EIP: [<c14f2ba9>] skb_put+0x99/0xa0 SS:ESP 0068:ed4a5ecc
       [  101.056125] ---[ end trace a0bd01d1a9a796c8 ]---
      Signed-off-by: NAndrei Emeltchenko <andrei.emeltchenko@intel.com>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      9cb23dd4
    • A
      Bluetooth: btmrvl: Use DIV_ROUND_UP macro · e678bad5
      Andrei Emeltchenko 提交于
      The kernel.h macro DIV_ROUND_UP performs the computation
      (((n) + (d) - 1) / (d))
      Signed-off-by: NAndrei Emeltchenko <andrei.emeltchenko@intel.com>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      e678bad5
    • A
      Bluetooth: btmrvl: Correct num_block name · 42632805
      Andrei Emeltchenko 提交于
      Make code readable by correcting name from buf_block_len to num_blocks
      since it represent number of blocks; NOT a length of a block buffer.
      Signed-off-by: NAndrei Emeltchenko <andrei.emeltchenko@intel.com>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      42632805
  4. 19 9月, 2012 7 次提交
  5. 09 9月, 2012 2 次提交
  6. 27 8月, 2012 1 次提交
  7. 22 8月, 2012 1 次提交
  8. 15 8月, 2012 1 次提交
    • Y
      Bluetooth: Add support for Sony Vaio T-Series · bc21fde2
      Yevgeniy Melnichuk 提交于
      Add Sony Vaio T-Series Bluetooth Module( 0x489:0xE036) to
      the blacklist of btusb module and add it to the ath3k module.
      
      output of cat /sys/kernel/debug/usb/devices
      
      T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  5 Spd=12   MxCh= 0
      D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=0489 ProdID=e036 Rev= 0.02
      S:  Manufacturer=Atheros Communications
      S:  Product=Bluetooth USB Host Controller
      S:  SerialNumber=Alaska Day 2006
      C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
      I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      Signed-off-by: NYevgeniy Melnichuk <yevgeniy.melnichuk@googlemail.com>
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
      Acked-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      bc21fde2
  9. 07 8月, 2012 13 次提交
  10. 18 7月, 2012 10 次提交