1. 08 2月, 2013 1 次提交
    • L
      wlcore: fix wrong remote rates when starting STA role · 9c3a8d99
      Luciano Coelho 提交于
      In wl18xx, we use a new ACX command in order to set the remote
      supported rates, once we know it (ie. after association).  The wl12xx
      firmware doesn't support changing the rates after the STA is started,
      so we need to use all supported rates.
      
      Commit 530abe19 (wlcore: add ACX_PEER_CAP command) broke that by using
      wlvif->rate_set when starting the STA role.
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      9c3a8d99
  2. 11 12月, 2012 2 次提交
  3. 05 12月, 2012 3 次提交
  4. 04 12月, 2012 2 次提交
  5. 30 11月, 2012 1 次提交
  6. 28 11月, 2012 2 次提交
    • A
      wlcore: use new set bandwidth command to adjusting channel BW · 5f9b6777
      Arik Nemtsov 提交于
      We support changing the channel BW when we started the STA role on
      a 40Mhz bandwidth. Otherwise a reconnection is required.
      Save the started channel width and use it when channel width updates
      arrive.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      5f9b6777
    • V
      wlcore: add new reg-domain configuration command · 6b70e7eb
      Victor Goldenshtein 提交于
      In 18xx the calibration process of the PHY Cortex domain
      requires to perform an active calibration of the channel
      before it can be used for transmission. To fulfill world
      wide regulatory restrictions, fw should be always
      synchronized/updated with current CRDA configuration.
      Add a new "CMD_DFS_CHANNEL_CONFIG" command to update the
      fw with current reg-domain, this command passes a bit map
      of channels that are allowed to be used for transmission.
      
      The driver shall update the fw during initialization and
      after each change in the current reg-domain
      configuration. The driver will save the channel number of
      incoming beacons during the scan process, as they might
      be a result of the passive scan on
      "IEEE80211_CHAN_PASSIVE_SCAN" channel and will update the
      fw accordingly once the scan is finished, the purpose of
      this is to be ready in case of the authentication request
      on one of these disabled (uncalibrated) channels.
      
      The new command requires to wait for the fw completion
      event "DFS_CHANNELS_CONFIG_COMPLETE_EVENT".
      
      No scan commands (including the sched scan) can be
      executed concurrently with the "CMD_DFS_CHANNEL_CONFIG",
      wl->mutex ensures that.
      
      [Arik - move reset of reg_ch_conf_last to safe place inside
      op_stop_locked]
      [Eliad - adjust to new event waiting api]
      Signed-off-by: NVictor Goldenshtein <victorg@ti.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      6b70e7eb
  7. 27 11月, 2012 8 次提交
  8. 27 9月, 2012 3 次提交
  9. 18 7月, 2012 1 次提交
    • L
      wlcore: wait for command completion event when sending CMD_ROLE_STOP · 5285eb54
      Luciano Coelho 提交于
      We need to wait for the command completion event when we send the
      CMD_ROLE_STOP event otherwise we may try to send CMD_ROLE_START too
      soon and get out-of-sync with the firmware.
      
      In some cases, the firmware may not send the event, so we wait for the
      event or for the timeout, whichever comes first.
      
      This patch is based on an earlier version by Eliad.
      
      Cc: Eliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      5285eb54
  10. 11 7月, 2012 2 次提交
    • Y
      wlcore: change the wait for event mechanism · c45ee4ff
      Yoni Divinsky 提交于
      wlcore needs to wait for certain events for example
      for roc complete event. Usually the events are received
      from the FW very fast, therefore wlcore can poll with
      a short delay and if after a second the event was
      not received yet poll with a long (1-5 msec) delay.
      
      This implementation is similar to the sending of
      commands to the FW.
      
      Empirically the change reduced the wait for roc event
      from ~10-40msec to 100s of usecs.
      
      [replace udelay/msleep with usleep_range - Arik]
      Signed-off-by: NYoni Divinsky <yoni.divinsky@ti.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      c45ee4ff
    • Y
      wlcore: add probe request templates for sched and one-shot scans · 3df74f46
      Yoni Divinsky 提交于
      The driver configures the firmware template for probe requests during
      the scan process.  If the same template is used for one-shot and sched
      scans they will override each other when running scans simultaneously.
      
      This fix works only on firmwares later than X.3.9.2.112 for single
      role and X.3.9.2.23 for multi-role.
      
      [Some cleaning-up and renaming of the quirk to something smaller --
      Luca.]
      Signed-off-by: NYoni Divinsky <yoni.divinsky@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      3df74f46
  11. 27 6月, 2012 2 次提交
  12. 22 6月, 2012 4 次提交
  13. 07 6月, 2012 1 次提交
  14. 06 6月, 2012 2 次提交
  15. 05 6月, 2012 4 次提交
  16. 16 5月, 2012 2 次提交