1. 14 5月, 2014 1 次提交
  2. 07 3月, 2014 3 次提交
  3. 05 3月, 2014 3 次提交
  4. 06 12月, 2013 2 次提交
  5. 12 11月, 2013 1 次提交
    • M
      rtlwifi: Fix endian error in extracting packet type · 0c5d63f0
      Mark Cave-Ayland 提交于
      All of the rtlwifi drivers have an error in the routine that tests if
      the data is "special". If it is, the subsequant transmission will be
      at the lowest rate to enhance reliability. The 16-bit quantity is
      big-endian, but was being extracted in native CPU mode. One of the
      effects of this bug is to inhibit association under some conditions
      as the TX rate is too high.
      
      Based on suggestions by Joe Perches, the entire routine is rewritten.
      
      One of the local headers contained duplicates of some of the ETH_P_XXX
      definitions. These are deleted.
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Cc: Stable <stable@vger.kernel.org> [2.6.38+]
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0c5d63f0
  6. 27 9月, 2013 2 次提交
  7. 12 6月, 2013 1 次提交
  8. 02 4月, 2013 5 次提交
  9. 06 3月, 2013 1 次提交
  10. 02 2月, 2013 1 次提交
  11. 15 11月, 2012 1 次提交
  12. 31 10月, 2012 1 次提交
  13. 08 9月, 2012 3 次提交
    • L
      rtlwifi: Update header file · 2461c7d6
      Larry Finger 提交于
      The latest version of the vendor driver for the rtlwifi family
      includes many changes. This patch incorporates the difference
      in the main header file.
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2461c7d6
    • L
      rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192se: Remove sparse warnings · 8e2c406a
      Larry Finger 提交于
      The rtlwifi family of drivers has the following sparse errors:
      
        CHECK   drivers/net/wireless/rtlwifi/usb.c
      drivers/net/wireless/rtlwifi/usb.c:122:17: warning: cast to restricted __le32
        CHECK   drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c
      drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c:1157:13: warning: context imbalance in 'rtl92c_dm_refresh_rate_adaptive_mask' - different lock contexts for basic block
        CHECK   drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
      drivers/net/wireless/rtlwifi/rtl8192ce/hw.c:1909:30: warning: cast to restricted __le32
        CHECK   drivers/net/wireless/rtlwifi/rtl8192ce/sw.c
      drivers/net/wireless/rtlwifi/rtl8192ce/sw.c:345:1: warning: symbol 'rtl92ce_pci_ids' was not declared. Should it be static?
        CHECK   drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
      drivers/net/wireless/rtlwifi/rtl8192cu/trx.c:494:9: warning: cast from restricted __le16
        CHECK   drivers/net/wireless/rtlwifi/rtl8192se/fw.c
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:490:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:490:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:494:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:494:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:499:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:499:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:510:25: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:510:25: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:607:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:607:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:650:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:650:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:652:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:652:9: warning: cast to restricted __le16
        CHECK   drivers/net/wireless/rtlwifi/rtl8192se/trx.c
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:758:9: warning: cast from restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:788:17: warning: cast from restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:804:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:804:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:807:17: warning: cast from restricted __le32
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8e2c406a
    • L
  14. 31 7月, 2012 1 次提交
  15. 13 7月, 2012 1 次提交
  16. 24 4月, 2012 2 次提交
  17. 12 4月, 2012 1 次提交
  18. 10 4月, 2012 2 次提交
  19. 31 1月, 2012 2 次提交
  20. 25 1月, 2012 1 次提交
  21. 20 12月, 2011 2 次提交
    • R
      module_param: make bool parameters really bool (net & drivers/net) · eb939922
      Rusty Russell 提交于
      module_param(bool) used to counter-intuitively take an int.  In
      fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
      trick.
      
      It's time to remove the int/unsigned int option.  For this version
      it'll simply give a warning, but it'll break next kernel version.
      
      (Thanks to Joe Perches for suggesting coccinelle for 0/1 -> true/false).
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eb939922
    • L
      rtlwifi: Fix locking problem introduces with commit 6539306b · b9116b9a
      Larry Finger 提交于
      When I tested commit 6539306b, I did not notice that loading an out-of-tree
      module turns off lockdep testing in kernel 3.2. For that reason, I missed
      the kernel WARNING shown below:
      
      The solution fixes the warning by partially reverting commit 6539306b.
      
      [   84.168146] ------------[ cut here ]------------
      [   84.168155] WARNING: at kernel/mutex.c:198 mutex_lock_nested+0x309/0x310()
      [   84.168158] Hardware name: HP Pavilion dv2700 Notebook PC
      [   84.168161] Modules linked in: nfs lockd auth_rpcgss nfs_acl sunrpc af_packet cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 mperf e
      xt3 jbd ide_cd_mod cdrom snd_hda_codec_conexant arc4 rtl8192ce ide_pci_generic rtl8192c_common rtlwifi snd_hda_intel mac80211 snd_hda_codec snd_pcm snd_timer
       amd74xx ide_core cfg80211 k8temp snd joydev soundcore hwmon battery forcedeth i2c_nforce2 sg rfkill ac serio_raw snd_page_alloc button video i2c_core ipv6 a
      utofs4 ext4 mbcache jbd2 crc16 sd_mod ahci ohci_hcd libahci libata scsi_mod ehci_hcd usbcore usb_common fan processor thermal
      [   84.168231] Pid: 1218, comm: kworker/u:2 Not tainted 3.2.0-rc5-wl+ #155
      [   84.168234] Call Trace:
      [   84.168240]  [<ffffffff81048aaa>] warn_slowpath_common+0x7a/0xb0
      [   84.168245]  [<ffffffff81048af5>] warn_slowpath_null+0x15/0x20
      [   84.168249]  [<ffffffff813811f9>] mutex_lock_nested+0x309/0x310
      [   84.168269]  [<ffffffffa00793f9>] ? rtl_ips_nic_on+0x49/0xb0 [rtlwifi]
      [   84.168277]  [<ffffffffa00793f9>] rtl_ips_nic_on+0x49/0xb0 [rtlwifi]
      [   84.168284]  [<ffffffffa007ab85>] rtl_pci_tx+0x1b5/0x560 [rtlwifi]
      [   84.168291]  [<ffffffffa007635a>] rtl_op_tx+0x9a/0xa0 [rtlwifi]
      [   84.168359]  [<ffffffffa043cf51>] __ieee80211_tx+0x181/0x2b0 [mac80211]
      [   84.168375]  [<ffffffffa043ef06>] ieee80211_tx+0xf6/0x120 [mac80211]
      [   84.168391]  [<ffffffffa043ee49>] ? ieee80211_tx+0x39/0x120 [mac80211]
      [   84.168408]  [<ffffffffa043f80b>] ieee80211_xmit+0xdb/0x100 [mac80211]
      [   84.168425]  [<ffffffffa043f730>] ? ieee80211_skb_resize.isra.26+0xb0/0xb0 [mac80211]
      [   84.168441]  [<ffffffffa0440b2a>] ieee80211_tx_skb_tid+0x5a/0x70 [mac80211]
      [   84.168458]  [<ffffffffa0443da2>] ieee80211_send_auth+0x152/0x1b0 [mac80211]
      [   84.168474]  [<ffffffffa042e169>] ieee80211_work_work+0x1049/0x1860 [mac80211]
      [   84.168489]  [<ffffffffa042d120>] ? free_work+0x20/0x20 [mac80211]
      [   84.168504]  [<ffffffffa042d120>] ? free_work+0x20/0x20 [mac80211]
      [   84.168510]  [<ffffffff81065ffc>] process_one_work+0x17c/0x530
      [   84.168514]  [<ffffffff81065f92>] ? process_one_work+0x112/0x530
      [   84.168519]  [<ffffffff81066994>] worker_thread+0x164/0x350
      [   84.168524]  [<ffffffff8108420d>] ? trace_hardirqs_on+0xd/0x10
      [   84.168528]  [<ffffffff81066830>] ? manage_workers.isra.28+0x220/0x220
      [   84.168533]  [<ffffffff8106bc17>] kthread+0x87/0x90
      [   84.168539]  [<ffffffff813854b4>] kernel_thread_helper+0x4/0x10
      [   84.168543]  [<ffffffff81382bdd>] ? retint_restore_args+0xe/0xe
      [   84.168547]  [<ffffffff8106bb90>] ? __init_kthread_worker+0x70/0x70
      [   84.168552]  [<ffffffff813854b0>] ? gs_change+0xb/0xb
      [   84.168554] ---[ end trace f25a4fdc768c028f ]---
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Stanislaw Gruska <sgruszka@redhat.com>
      Cc: Chaoming Li <chaoming_li@realsil.com.cn>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b9116b9a
  22. 14 12月, 2011 2 次提交
  23. 22 11月, 2011 1 次提交