1. 27 9月, 2013 1 次提交
  2. 13 9月, 2013 1 次提交
  3. 30 5月, 2013 2 次提交
  4. 08 4月, 2013 1 次提交
  5. 26 3月, 2013 1 次提交
  6. 19 3月, 2013 1 次提交
  7. 09 2月, 2013 1 次提交
  8. 05 2月, 2013 1 次提交
  9. 23 1月, 2013 1 次提交
  10. 08 1月, 2013 1 次提交
  11. 03 1月, 2013 2 次提交
  12. 07 12月, 2012 1 次提交
  13. 04 12月, 2012 1 次提交
  14. 01 12月, 2012 1 次提交
  15. 27 11月, 2012 1 次提交
  16. 14 11月, 2012 1 次提交
  17. 25 9月, 2012 1 次提交
  18. 12 9月, 2012 1 次提交
    • C
      p54: fix off-by-one null pointer bug in p54_tx_80211 · 390fd9d6
      Christian Lamparter 提交于
      This patch fixes a regression which was introduced in:
      "mac80211: move TX station pointer and restructure TX"
      
      IP: p54_tx_80211+0x21/0x513 [p54common]
      Oops: 0000 [#1] SMP
      Modules linked in: p54usb p54common [...]
      Pid: 13394, comm: hostapd 3.6.0-rc4-wl+
      RIP: 0010:p54_tx_80211+0x21/0x513
      RSP: 0018:...  EFLAGS: 00010292
      [...]
      Process hostapd
      Stack:
      [...]
      Call Trace:
      p54_bss_info_changed+0x204/0x21e [p54common]
      ieee80211_del_station+0x16/0x32 [mac80211]
      ieee80211_start_ap+0x10f/0x157 [mac80211]
      nl80211_start_ap+0x315/0x361 [cfg80211]
      
      p54_tx_80211 function is called as part of the
      beacon update. The caller p54_bss_info_changed
      has to supply a valid tx control struct, or
      the control->sta will lead to a null pointer
      dereference.
      Signed-off-by: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      390fd9d6
  19. 18 8月, 2012 1 次提交
  20. 14 8月, 2012 1 次提交
  21. 11 8月, 2012 1 次提交
    • C
      p54: parse output power table · 9bc63816
      Christian Lamparter 提交于
      For the upcoming tpc changes, the driver needs
      to provide sensible max output values for each
      supported channel.
      
      And while the eeprom always had a output_limit
      table, which defines the upper limit for each
      frequency and modulation, it was never really
      useful for anything... until now.
      
      Note: For anyone wondering about what your card
      is calibrated for: check "iw list".
      	* 2412 MHz [1] (18.0 dBm)
      	* 2437 MHz [6] (19.0 dBm)
      	[...]
      	* 5180 MHz [36] (18.0 dBm)
      	* 5260 MHz [52] (17.0 dBm) (radar detection)
      	* 5680 MHz [136] (19.0 dBm) (radar detection)
      (for a Dell Wireless 1450 USB Adapter)
      Signed-off-by: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9bc63816
  22. 07 8月, 2012 1 次提交
  23. 31 7月, 2012 1 次提交
  24. 17 7月, 2012 1 次提交
  25. 03 7月, 2012 1 次提交
  26. 07 6月, 2012 1 次提交
    • J
      wireless: Remove casts to same type · 2c208890
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      Neatened the mwifiex_deauthenticate_infra function which
      was doing odd things with array pointers and not using
      is_zero_ether_addr.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2c208890
  27. 19 5月, 2012 1 次提交
    • S
      USB: Disable hub-initiated LPM for comms devices. · e1f12eb6
      Sarah Sharp 提交于
      Hub-initiated LPM is not good for USB communications devices.  Comms
      devices should be able to tell when their link can go into a lower power
      state, because they know when an incoming transmission is finished.
      Ideally, these devices would slam their links into a lower power state,
      using the device-initiated LPM, after finishing the last packet of their
      data transfer.
      
      If we enable the idle timeouts for the parent hubs to enable
      hub-initiated LPM, we will get a lot of useless LPM packets on the bus
      as the devices reject LPM transitions when they're in the middle of
      receiving data.  Worse, some devices might blindly accept the
      hub-initiated LPM and power down their radios while they're in the
      middle of receiving a transmission.
      
      The Intel Windows folks are disabling hub-initiated LPM for all USB
      communications devices under a xHCI USB 3.0 host.  In order to keep
      the Linux behavior as close as possible to Windows, we need to do the
      same in Linux.
      
      Set the disable_hub_initiated_lpm flag for for all USB communications
      drivers.  I know there aren't currently any USB 3.0 devices that
      implement these class specifications, but we should be ready if they do.
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      Cc: Marcel Holtmann <marcel@holtmann.org>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Johan Hedberg <johan.hedberg@gmail.com>
      Cc: Hansjoerg Lipp <hjlipp@web.de>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: Peter Korsgaard <jacmet@sunsite.dk>
      Cc: Jan Dumon <j.dumon@option.com>
      Cc: Petko Manolov <petkan@users.sourceforge.net>
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Kalle Valo <kvalo@qca.qualcomm.com>
      Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
      Cc: Jouni Malinen <jouni@qca.qualcomm.com>
      Cc: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
      Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
      Cc: Christian Lamparter <chunkeey@googlemail.com>
      Cc: Brett Rudley <brudley@broadcom.com>
      Cc: Roland Vossen <rvossen@broadcom.com>
      Cc: Arend van Spriel <arend@broadcom.com>
      Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
      Cc: Kan Yan <kanyan@broadcom.com>
      Cc: Dan Williams <dcbw@redhat.com>
      Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Gertjan van Wingerde <gwingerde@gmail.com>
      Cc: Helmut Schaa <helmut.schaa@googlemail.com>
      Cc: Herton Ronaldo Krzesinski <herton@canonical.com>
      Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: Chaoming Li <chaoming_li@realsil.com.cn>
      Cc: Daniel Drake <dsd@gentoo.org>
      Cc: Ulrich Kunitz <kune@deine-taler.de>
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      e1f12eb6
  28. 11 5月, 2012 1 次提交
    • J
      drivers/net: Convert compare_ether_addr to ether_addr_equal · 2e42e474
      Joe Perches 提交于
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      
      Done via cocci script:
      
      $ cat compare_ether_addr.cocci
      @@
      expression a,b;
      @@
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2e42e474
  29. 22 4月, 2012 1 次提交
  30. 17 4月, 2012 1 次提交
    • A
      net/wireless: use module_pci_driver · 5b0a3b7e
      Axel Lin 提交于
      This patch converts the drivers in drivers/net/wireless/* to use
      module_pci_driver() macro which makes the code smaller and a bit simpler.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Jiri Slaby <jirislaby@gmail.com>
      Cc: Nick Kossifidis <mickflemm@gmail.com>
      Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
      Cc: Simon Kelley <simon@thekelleys.org.uk>
      Cc: Jouni Malinen <j@w1.fi>
      Cc: Lennert Buytenhek <buytenh@wantstofly.org>
      Cc: Christian Lamparter <chunkeey@googlemail.com>
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: linux-wireless@vger.kernel.org
      Acked-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5b0a3b7e
  31. 11 4月, 2012 1 次提交
  32. 10 4月, 2012 2 次提交
  33. 07 3月, 2012 2 次提交
  34. 06 3月, 2012 1 次提交
  35. 01 3月, 2012 1 次提交
  36. 28 1月, 2012 1 次提交