1. 28 9月, 2018 2 次提交
  2. 31 8月, 2018 4 次提交
  3. 02 8月, 2018 1 次提交
  4. 26 4月, 2018 1 次提交
    • E
      iwlwifi: mvm: set wakeup filters for wowlan "any" configuration · d3a6f7fb
      Eliad Peller 提交于
      In case of "any" wowlan trigger is configured, no valid wakeup filter
      was configured.
      
      Moreover, the fw assumes there's no connection when there are no configured
      wakeup filters.
      This leads to the station info not being updated on D3 command, causing
      rate_n_flags to be 0 when the offloading code sends tx frame (triggering
      SYSASSERT_102C due to invalid antenna param)
      
      Note: "any" trigger is currently assumed to only be used when entering
      d0i3 (which has a different flow). However, we still reach this code
      when using d3_test.
      Signed-off-by: NEliad Peller <eliadx.peller@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      d3a6f7fb
  5. 20 4月, 2018 1 次提交
  6. 02 3月, 2018 1 次提交
  7. 25 11月, 2017 1 次提交
  8. 06 10月, 2017 1 次提交
  9. 08 9月, 2017 1 次提交
    • M
      iwlwifi: mvm: fix wowlan resume failed to load INIT ucode · 59cd827f
      Matt Chen 提交于
      If we set disconnect on wowlan and run suspend/resume, will run
      into:
      ...snipped
      iwlwifi 0000:01:00.0: Failed to load firmware chunk!
      iwlwifi 0000:01:00.0: Could not load the [0] uCode section
      iwlwifi 0000:01:00.0: Failed to start INIT ucode: -110
      iwlwifi 0000:01:00.0: Failed to run INIT ucode: -110
      iwlwifi 0000:01:00.0: Failed to start RT ucode: -110
      
      It is because we still keep IWL_MVM_STATUS_IN_HW_RESTART in
      __iwl_mvm_resume.  When mac80211 starts the device as
      __iwl_mvm_mac_start(), we will miss iwl_mvm_restart_cleanup(mvm).
      Signed-off-by: NMatt Chen <matt.chen@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      59cd827f
  10. 29 6月, 2017 1 次提交
  11. 23 6月, 2017 3 次提交
  12. 16 6月, 2017 1 次提交
    • J
      networking: introduce and use skb_put_data() · 59ae1d12
      Johannes Berg 提交于
      A common pattern with skb_put() is to just want to memcpy()
      some data into the new space, introduce skb_put_data() for
      this.
      
      An spatch similar to the one for skb_put_zero() converts many
      of the places using it:
      
          @@
          identifier p, p2;
          expression len, skb, data;
          type t, t2;
          @@
          (
          -p = skb_put(skb, len);
          +p = skb_put_data(skb, data, len);
          |
          -p = (t)skb_put(skb, len);
          +p = skb_put_data(skb, data, len);
          )
          (
          p2 = (t2)p;
          -memcpy(p2, data, len);
          |
          -memcpy(p, data, len);
          )
      
          @@
          type t, t2;
          identifier p, p2;
          expression skb, data;
          @@
          t *p;
          ...
          (
          -p = skb_put(skb, sizeof(t));
          +p = skb_put_data(skb, data, sizeof(t));
          |
          -p = (t *)skb_put(skb, sizeof(t));
          +p = skb_put_data(skb, data, sizeof(t));
          )
          (
          p2 = (t2)p;
          -memcpy(p2, data, sizeof(*p));
          |
          -memcpy(p, data, sizeof(*p));
          )
      
          @@
          expression skb, len, data;
          @@
          -memcpy(skb_put(skb, len), data, len);
          +skb_put_data(skb, data, len);
      
      (again, manually post-processed to retain some comments)
      Reviewed-by: NStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      59ae1d12
  13. 20 4月, 2017 2 次提交
  14. 11 4月, 2017 2 次提交
  15. 03 2月, 2017 2 次提交
  16. 24 1月, 2017 1 次提交
  17. 19 10月, 2016 3 次提交
  18. 11 5月, 2016 1 次提交
  19. 30 3月, 2016 1 次提交
    • L
      iwlwifi: mvm: support bss dynamic alloc/dealloc of queues · 24afba76
      Liad Kaufman 提交于
      "DQA" is shorthand for "dynamic queue allocation". This
      enables on-demand allocation of queues per RA/TID rather than
      statically allocating per vif, thus allowing a potential
      benefit of various factors.
      
      Please refer to the DOC section this patch adds to sta.h to
      see a more in-depth explanation of this feature.
      
      There are many things to take into consideration when working
      in DQA mode, and this patch is only one in a series. Note that
      default operation mode is non-DQA mode, unless the FW
      indicates that it supports DQA mode.
      
      This patch enables support of DQA for a station connected to
      an AP, and works in a non-aggregated mode.
      
      When a frame for an unused RA/TID arrives at the driver, it
      isn't TXed immediately, but deferred first until a suitable
      queue is first allocated for it, and then TXed by a worker
      that both allocates the queues and TXes deferred traffic.
      
      When a STA is removed, its queues goes back into the queue
      pools for reuse as needed.
      Signed-off-by: NLiad Kaufman <liad.kaufman@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      24afba76
  20. 02 3月, 2016 1 次提交
  21. 29 2月, 2016 1 次提交
  22. 24 2月, 2016 1 次提交
    • E
      iwlwifi: mvm: move TX PN assignment for TKIP to the driver · 1ad4f639
      Eliad Peller 提交于
      If protocol offloading is configured, the fw might generate some
      frames (e.g. arp response) on its own during d3/d0i3.
      
      On d3/d0i3 exit the driver queries the updated PN (if relevant),
      and updates its keys (for the d0i3 case, this is done by
      iwl_mvm_d0i3_exit_work(), which is scheduled on d0i3 exit)
      
      While in d0i3, iwlmvm defers tx frames until d0i3 exit, and
      then continues their processing.
      
      This is problematic with TKIP, since the frame's PN has already
      been set at this stage (in contrast to CCMP, where the PN is
      being set only later on), so both the frame's PN and the upcoming
      PN update (from d0i3 exit work) might be wrong.
      
      Fix it by moving the TX PN assignment (for TKIP) to the driver,
      similarly to CCMP.
      Signed-off-by: NEliad Peller <eliadx.peller@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      1ad4f639
  23. 01 2月, 2016 2 次提交
    • S
      iwlwifi: mvm: support beacon storing · 0db056d3
      Sara Sharon 提交于
      Currently firmware is configured to filter out beacons. In case
      a beacon was changed - it is waking the host.
      However, some vendors change their IEs frequently without any
      significant change, and redundant wakeups are triggered as a
      result.
      As a solution disable beacon filtering when entering d0i3.
      Instead, firmware will store the latest beacon and upon exiting
      d0i3 it will send it up to the host, so the host can act upon
      changes (if there were any).
      This beacon will arrive as a dedicated notification - support it
      as well.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      0db056d3
    • M
      iwlwifi: mvm: Do not switch to D3 image on suspend · 23ae6128
      Matti Gottlieb 提交于
      Currently when the driver is configured with wowlan parameters, and enters
      D3 mode, the driver switches the FW image to D3, and when it exists
      suspend, it reloads the D0 image.
      
      If the firmware supports the consolidation of the D0 & D3 images there is
      no need to load the D3 image on suspend, and no need to reload the D0
      image on resume.
      
      Do not switch images on suspend / resume, for firmwares that support
      consolidated images.
      Signed-off-by: NMatti Gottlieb <matti.gottlieb@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      23ae6128
  24. 08 1月, 2016 2 次提交
  25. 21 12月, 2015 3 次提交