1. 06 3月, 2013 1 次提交
  2. 15 2月, 2013 2 次提交
  3. 02 2月, 2013 2 次提交
  4. 31 1月, 2013 4 次提交
  5. 23 1月, 2013 2 次提交
  6. 08 1月, 2013 3 次提交
  7. 03 1月, 2013 1 次提交
    • J
      mac80211: split TX aggregation stop action · 18b559d5
      Johannes Berg 提交于
      When TX aggregation is stopped, there are a few
      different cases:
       - connection with the peer was dropped
       - session stop was requested locally
       - session stop was requested by the peer
       - connection was dropped while a session is stopping
      
      The behaviour in these cases should be different, if
      the connection is dropped then the driver should drop
      all frames, otherwise the frames may continue to be
      transmitted, aggregated in the case of a locally
      requested session stop or unaggregated in the case of
      the peer requesting session stop.
      
      Split these different cases so that the driver can
      act accordingly; however, treat local and remote stop
      the same way and ask the driver to not send frames as
      aggregated packets any more.
      
      In the case of connection drop, the stop callback the
      driver is otherwise supposed to call is no longer
      required.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      18b559d5
  8. 08 12月, 2012 2 次提交
  9. 07 12月, 2012 1 次提交
  10. 27 11月, 2012 1 次提交
  11. 15 11月, 2012 1 次提交
  12. 14 11月, 2012 1 次提交
  13. 25 9月, 2012 1 次提交
  14. 24 8月, 2012 1 次提交
  15. 11 8月, 2012 1 次提交
  16. 31 7月, 2012 1 次提交
  17. 12 7月, 2012 1 次提交
    • J
      mac80211: add time synchronisation with BSS for assoc · 8c358bcd
      Johannes Berg 提交于
      Some drivers (iwlegacy, iwlwifi and rt2x00) today use the
      bss_conf.last_tsf value. By itself though that value is
      completely worthless since it may be ancient. What really
      is needed is synchronisation between some device time and
      the TSF.
      
      To clarify this, rename bss_conf.last_tsf to sync_tsf and
      add sync_device_ts which is obtained from rx_status which
      gets a new field device_timestamp for this purpose. This
      is intentionally not using the mactime field since that
      is used for other things and in IBSS is expected to sync
      with the IBSS's TSF which isn't necessarily true for the
      device timestamp.
      
      Also, since we have the information and it's useful even
      before the connection has been established, give all the
      timing details to the driver before authenticating.
      Reviewed-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8c358bcd
  18. 10 7月, 2012 2 次提交
  19. 02 7月, 2012 1 次提交
  20. 29 6月, 2012 1 次提交
    • P
      iwlegacy: print how long queue was actually stuck · 26b6da6b
      Paul Bolle 提交于
      Every now and then, after resuming from suspend, the iwlegacy driver
      prints
          iwl4965 0000:03:00.0: Queue 2 stuck for 2000 ms.
          iwl4965 0000:03:00.0: On demand firmware reload
      
      I have no idea what causes these errors. But the code currently uses
      wd_timeout in the first error. wd_timeout will generally be set at
      IL_DEF_WD_TIMEOUT (ie, 2000). Perhaps printing for how long the queue
      was actually stuck can clarify the cause of these errors.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      26b6da6b
  21. 07 6月, 2012 1 次提交
  22. 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
  23. 11 4月, 2012 1 次提交
  24. 06 4月, 2012 1 次提交
    • S
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
  25. 27 3月, 2012 2 次提交
    • S
      iwlegacy: fix BSSID setting · e92109be
      Stanislaw Gruszka 提交于
      Current commit 0775f9f9
      "mac80211: remove spurious BSSID change flag" exposed bug on iwlegacy,
      that we do not set BSSID address correctly and then device was not able
      to receive frames after successful associate.
      
      On the way fix scan canceling comment. Apparently ->post_associate()
      do cancel scan itself, but scan cancel on BSS_CHANGED_BSSID is needed.
      I'm not sure why, but when I removed it, I had frequent auth failures:
      
       wlan4: send auth to 54:e6:fc:98:63:fe (try 1/3)
       wlan4: send auth to 54:e6:fc:98:63:fe (try 2/3)
       wlan4: send auth to 54:e6:fc:98:63:fe (try 3/3)
       wlan4: authentication with 54:e6:fc:98:63:fe timed out
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e92109be
    • S
      iwlegacy: do not nulify il->vif on reset · 883a649b
      Stanislaw Gruszka 提交于
      This il->vif is dereferenced in different part of iwlegacy code, so do
      not nullify it. This should fix random crashes observed in companion
      with microcode errors i.e. crash in il3945_config_ap().
      
      Additionally this should address also
      WARNING: at drivers/net/wireless/iwlegacy/common.c:4656 il_mac_remove_interface
      at least one of the possible reasons of that warning.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      883a649b
  26. 26 3月, 2012 1 次提交
  27. 14 3月, 2012 1 次提交
  28. 13 3月, 2012 1 次提交
  29. 01 3月, 2012 1 次提交