1. 04 12月, 2012 1 次提交
  2. 17 11月, 2012 1 次提交
    • Y
      mwl8k: Send BASTREAM firmware commands per vif · f95275c4
      Yogesh Ashok Powar 提交于
      The firmware supports 8 macid's corresponding to 8 BSS that can be
      created in an MBSS environment. Currently, BASTREAM commands were always
      sent with macid 0. This macid is used to configure the hardware ampdu
      registers with appropriate BSS address in an MBSS environment.
      This mac address is used by the hardware for various ampdu related requirements
      e.g. source address in BAR generation, BA interpretation e.t.c.
      Using invalid macid results in this mac address not getting appropriately
      configured in the hardware which results in issues during ampdu traffic.
      
      Fix this by sending the BASTREAM commands with appropriate macid.
      Signed-off-by: NNishant Sarmukadam <nishants@marvell.com>
      Signed-off-by: NYogesh Ashok Powar <yogeshp@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f95275c4
  3. 15 11月, 2012 5 次提交
  4. 31 7月, 2012 1 次提交
  5. 12 7月, 2012 1 次提交
  6. 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
  7. 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
  8. 13 2月, 2012 1 次提交
  9. 07 2月, 2012 1 次提交
  10. 28 1月, 2012 1 次提交
  11. 17 1月, 2012 2 次提交
  12. 05 1月, 2012 2 次提交
  13. 22 12月, 2011 1 次提交
  14. 20 12月, 2011 2 次提交
  15. 04 10月, 2011 1 次提交
    • E
      mac80211: pass vif param to conf_tx() callback · 8a3a3c85
      Eliad Peller 提交于
      tx params should be configured per interface.
      add ieee80211_vif param to the conf_tx callback,
      and change all the drivers that use this callback.
      
      The following spatch was used:
      @rule1@
      struct ieee80211_ops ops;
      identifier conf_tx_op;
      @@
      	ops.conf_tx = conf_tx_op;
      
      @rule2@
      identifier rule1.conf_tx_op;
      identifier hw, queue, params;
      @@
      	conf_tx_op (
      -		struct ieee80211_hw *hw,
      +		struct ieee80211_hw *hw, struct ieee80211_vif *vif,
      		u16 queue,
      		const struct ieee80211_tx_queue_params *params) {...}
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8a3a3c85
  16. 14 9月, 2011 1 次提交
  17. 23 8月, 2011 1 次提交
  18. 16 7月, 2011 1 次提交
  19. 15 6月, 2011 1 次提交
  20. 07 6月, 2011 1 次提交
  21. 06 5月, 2011 2 次提交
  22. 30 4月, 2011 1 次提交
    • Y
      mwl8k: Reducing extra_tx_headroom for tx optimization in AP mode · ff776cec
      Yogesh Ashok Powar 提交于
      The tx_headroom required for mwl8k driver is 32 bytes and it
      can use the space for 802.11 header received from mac80211.
      mwl8k considers the smallest 802.11 frame (CTS2self of 10
      bytes) that can be received from mac80211  to compute the
      extra_tx_headroom as 22 (32 - 10) bytes.
      
      When the wireless interface is part of bridge, this
      extra_tx_headroom requirement results in a memcpy in
      mac80211 (in function pskb_expand_head) for all the data
      frames needing L2 forwarding/bridging, when NET_SKB_PAD is
      defined as 32. This patch reduces the extra_tx_headroom by
      8 bytes so that memcpy of data frames in mac80211 is
      avoided in this case.
      
      The resize will be required in driver for frames with 802.11
      header size of less than 18 bytes.
      Signed-off-by: NYogesh Ashok Powar <yogeshp@marvell.com>
      Signed-off-by: NPradeep Nemavat <pnemavat@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ff776cec
  23. 29 4月, 2011 1 次提交
  24. 26 4月, 2011 4 次提交
  25. 14 4月, 2011 2 次提交
  26. 13 4月, 2011 1 次提交
  27. 08 4月, 2011 2 次提交