An error occurred fetching the project authors.
  1. 25 Mar, 2013 1 commit
  2. 08 Feb, 2013 1 commit
    • Luciano Coelho's avatar
      wlcore: remove if_ops from platform_data · afb43e6d
      Luciano Coelho authored
      We can't pass pointers from the platform data to the modules, because
      with DT it cannot be done.  Those pointers are not set by the board
      files anyway.  It's the bus modules that set them, so they can be
      safely removed from the platform data without changing any board
      files.
      
      Create a new structure that the bus modules pass to wlcore.  This
      structure contains the if_ops pointers and a pointer to the actual
      platform data.
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
      afb43e6d
  3. 11 Dec, 2012 4 commits
    • Ido Yariv's avatar
      wlcore: Always pass DMA-able buffers to mmc functions · 2e07d028
      Ido Yariv authored
      Some of the mmc drivers initiate DMA transfers with buffers passed from
      higher layers. This means that the driver shouldn't ever pass non
      DMA-able buffers, such as ones that are unaligned, allocated on the
      stack or static.
      
      Fix a couple of calls to the mmc layer in which buffers which weren't
      necessarily DMA-able were passed.
      
      [Use sizeof(*wl->buffer_32) instead of sizeof(u32) -- Luca]
      Signed-off-by: default avatarIdo Yariv <ido@wizery.com>
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      2e07d028
    • Arik Nemtsov's avatar
      wlcore/wl18xx: change priority calculations for links · f1626fd8
      Arik Nemtsov authored
      Update the 18xx FW status private part to include Tx related link
      priorities. Introduce new HW ops to determine link priority per chip
      family.
      
      For 18xx the changes are:
      - Suspended links are at most low priority and Tx for them is stopped
        beyond the suspend threshold.
      - Active links now get their thresholds directly from FW
      - There's a new "stop" threshold for active links, at which point a link
        stops receiving new packets.
      
      Update the min 18xx FW version required to make sure suspended links
      bitmap is advertised by the FW.
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      f1626fd8
    • Eyal Shapira's avatar
      wlcore: increase scan dwell times if no activity · 5d3a1603
      Eyal Shapira authored
      There's a limit on scan dwell times of max 30ms in order
      to avoid degrading voip traffic which could be going on
      while scanning. However these dwell times increase the
      chance of missing out on nearby APs leading to partial
      scan results. Allow configuration of longer dwell times
      in case there no active interface (i.e. no STA associated
      or AP up).
      
      [Arik - count started vifs using an in-driver function]
      
      [Fixed some new checkpatch warnings regarding comments in the
      networking subsystem. -- Luca]
      Signed-off-by: default avatarEyal Shapira <eyal@wizery.com>
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      5d3a1603
    • Eliad Peller's avatar
      wlcore: add ACX_PEER_CAP command · 530abe19
      Eliad Peller authored
      ACX_PEER_CAP command is just ACX_PEER_HT_CAP, but allows
      configuring the peer's support rates as well.
      
      this is needed because we start the station role when
      the remote rates are not known yet.
      
      the two commands should be unified in future fw versions,
      but for now add a new set_peer_cap per-hw op, that will
      use ACX_PEER_CAP for 18xx, and ACX_PEER_HT_CAP for 12xx.
      Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      530abe19
  4. 06 Dec, 2012 1 commit
  5. 05 Dec, 2012 1 commit
    • Arik Nemtsov's avatar
      wlcore: improved Tx scheduling algorithm · 0e810479
      Arik Nemtsov authored
      Prioritize EDCA by choosing the AC before anything else. Use the
      fast/slow link bitmap in FW to improve the scheduling algorithm for
      the multi-link scenario.
      
      Set packet thresholds to determine if a given link is high or low
      priority according to its speed. A slow link will be given high priority
      if the amount of packets queued for it in the FW is lower than the
      slow-threshold. Similarly, a fast link will be given high priority if
      the number of its packets queued in FW is smaller than the high-threshold.
      
      The improved algorithm:
      1. Choose optimal AC according to FW utilization
      2. Traversing the VIFs in a round-robin fashion, try to choose a high
         priority link. Links are traversed in a round-robin fashion inside a
         VIF.
      3. If no high priority links are found, choose the first non-empty
         (low priority) link found in the round robin.
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      0e810479
  6. 04 Dec, 2012 6 commits
  7. 28 Nov, 2012 1 commit
  8. 27 Nov, 2012 5 commits
  9. 27 Sep, 2012 7 commits
  10. 18 Jul, 2012 1 commit
  11. 10 Jul, 2012 4 commits
  12. 22 Jun, 2012 5 commits
  13. 21 Jun, 2012 2 commits
    • Arik Nemtsov's avatar
      wl18xx: sane defaults for HT capabilities · fa2adfcd
      Arik Nemtsov authored
      Introduce a default set of HT capabilities that are set according to the
      number of antennas on the board. Move the HT setting code down to allow
      the number of antennas to be set (and optionally overridden) before it.
      
      Remove the "mimo" HT option, since the default mode now enables MIMO is
      possible.
      
      Use this opportunity to add a helper function for setting HT
      capabilities and reduce the volume of the code a bit.
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      fa2adfcd
    • Arik Nemtsov's avatar
      wlcore: allow setting sleep_auth before interface init · 66340e5b
      Arik Nemtsov authored
      Hold a value for sta_sleep_auth that is amenable to change by debugfs.
      When detecting a legal value in this variable on interface init, use it
      as an override value for sleep_auth.
      
      This makes debugging more intuitive using the debugfs value.
      
      Increment the conf version since we added an element to the conf
      structure.
      
      Note: An AP going up will always set sleep_auth to PSM_CAM.
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      66340e5b
  14. 08 Jun, 2012 1 commit