1. 06 May, 2016 1 commit
  2. 04 May, 2016 1 commit
    • Emmanuel Grumbach's avatar
      iwlwifi: mvm: don't override the rate with the AMSDU len · 5c08b0f5
      Emmanuel Grumbach authored
      The TSO code creates A-MSDUs from a single large send. Each
      A-MSDU is an skb and skb->len doesn't include the number of
      bytes which need to be added for the headers being added
      (subframe header, TCP header, IP header, SNAP, padding).
      
      To be able to set the right value in the Tx command, we
      put the number of bytes added by those headers in
      driver_data in iwl_mvm_tx_tso and use this value in
      iwl_mvm_set_tx_cmd.
      
      The problem by setting this value in driver_data is that
      it overrides the ieee80211_tx_info. The bug manifested
      itself when we send P2P related frames in CCK since the
      rate in ieee80211_tx_info is zero-ed. This of course is
      a violation of the P2P specification.
      
      To fix this, copy the original ieee80211_tx_info to the
      stack and pass it to the functions which need it.
      Assign the number of bytes added by the headers to the
      driver_data inside the skb itself.
      
      Fixes: a6d5e32f ("iwlwifi: mvm: send large SKBs to the transport")
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      5c08b0f5
  3. 21 Apr, 2016 1 commit
  4. 15 Apr, 2016 1 commit
  5. 12 Apr, 2016 4 commits
  6. 02 Apr, 2016 1 commit
  7. 23 Mar, 2016 3 commits
    • Arnd Bergmann's avatar
      rtlwifi: fix gcc-6 indentation warning · 2acd8464
      Arnd Bergmann authored
      The rtl8821ae_dm_txpower_tracking_callback_thermalmeter function
      contains a call to RT_TRACE() that is indented in a misleading
      way, as pointed out by a gcc-6 warning:
      
      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function 'rtl8821ae_dm_txpower_tracking_callback_thermalmeter':
      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2491:4: error: statement is indented as if it were guarded by...
          RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD,
          ^~~~~~~~
      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2488:3: note: ...this 'for' clause, but it is not
         for (p = RF90_PATH_A; p < MAX_PATH_NUM_8821A; p++)
         ^~~
      
      It is clear from the context that the call was not meant to be
      part of the loop and only the indentation is wrong, so this
      removes the extra tabs.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      2acd8464
    • Arnd Bergmann's avatar
      bcma: fix building without OF_IRQ · c58d900c
      Arnd Bergmann authored
      The bcma driver core can be built with or without DT support, but
      it fails to build when CONFIG_OF=y and CONFIG_OF_IRQ=n, which
      can happen on platforms that do not support IRQ domains.
      
      ERROR: "irq_create_of_mapping" [drivers/bcma/bcma.ko] undefined!
      ERROR: "of_irq_parse_raw" [drivers/bcma/bcma.ko] undefined!
      ERROR: "of_irq_parse_one" [drivers/bcma/bcma.ko] undefined!
      
      This adds another compile-time check for OF_IRQ, but also
      gets rid of now unneeded #ifdef checks: Using the simpler
      IS_ENABLED() check for OF_IRQ also covers the case of not
      having CONFIG_OF enabled. The check for CONFIG_OF_ADDRESS
      was added to allow building on architectures without
      OF_ADDRESS, but that has been addressed already in
      b1d06b60 ("of: Provide static inline function for
      of_translate_address if needed").
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      c58d900c
    • Jia-Ju Bai's avatar
      b43: Fix memory leaks in b43_bus_dev_ssb_init and b43_bus_dev_bcma_init · 372f7d6a
      Jia-Ju Bai authored
      The memory allocated by kzalloc in b43_bus_dev_ssb_init and
      b43_bus_dev_bcma_init is not freed.
      This patch fixes the bug by adding kfree in b43_ssb_remove,
      b43_bcma_remove and error handling code of b43_bcma_probe.
      
      Thanks Michael for his suggestion.
      Signed-off-by: default avatarJia-Ju Bai <baijiaju1990@163.com>
      Acked-by: default avatarMichael Büsch <m@bues.ch>
      Signed-off-by: default avatarSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      372f7d6a
  8. 22 Mar, 2016 27 commits
  9. 21 Mar, 2016 1 commit
    • David S. Miller's avatar
      Merge branch 'bridge-gso-segs-and-size' · 6b072523
      David S. Miller authored
      Eric Dumazet says:
      
      ====================
      net: propagate max_gso_segs and max_gso_size
      
      bridge code does not properly update max_gso_segs and max_gso_size.
      
      Since this was not really obvious, first patch adds two new rtnetlink
      attributes to help debugging this kind of issues (ip -d link)
      
      Second patch fixes bridge code.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6b072523