1. 28 11月, 2012 1 次提交
    • 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
  2. 27 11月, 2012 7 次提交
  3. 27 9月, 2012 1 次提交
  4. 18 7月, 2012 1 次提交
  5. 11 7月, 2012 1 次提交
  6. 14 6月, 2012 1 次提交
  7. 06 6月, 2012 1 次提交
  8. 05 6月, 2012 1 次提交
  9. 12 4月, 2012 5 次提交
  10. 15 2月, 2012 4 次提交
  11. 08 11月, 2011 1 次提交
  12. 11 10月, 2011 2 次提交
  13. 07 10月, 2011 9 次提交
  14. 14 9月, 2011 1 次提交
  15. 22 8月, 2011 4 次提交
    • E
      wl12xx: add wl12xx_cmd_role_start_ibss() · 31cd3aed
      Eliad Peller 提交于
      Add wl12xx_cmd_role_start_ibss() implementation and defintion.
      This function is used in order to start the IBSS role.
      
      Stopping the IBSS is done by using the same api as stop STA,
      so there is no need for a separate function.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      31cd3aed
    • E
      wl12xx: call wl12xx_cmd_set_peer_state() in AP mode · b67476ef
      Eliad Peller 提交于
      After adding a station, call wl12xx_cmd_set_peer_state().
      This is required for 11n support.
      
      Change wl12xx_cmd_set_peer_state() prototype to get hlid
      as param.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      b67476ef
    • A
      wl12xx: re-enable block ack session support · 0f9c8250
      Arik Nemtsov 提交于
      Incorporate interface changes for HT support.
      
      Add ba_bitmap field to the wl1271_link struct, to indicate
      activate RX BA sessions (for AP mode).
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      0f9c8250
    • E
      wl12xx: replace dummy_join with ROC/CROC commands · 251c177f
      Eliad Peller 提交于
      The ROC command asks the fw stay on the channel of the given
      hlid. it currently has 2 primary functions:
      
      1. Allow tx/rx from the device role.
      
      In order to tx/rx packets while the stations is not associated
      (e.g. auth req/resp), the device role has to be used, along
      with ROC on its link.
      
      Keep the logic similiar to the one used in dummy_join. However,
      since we can't scan while we ROC, we add CROC before starting
      a scan, and ROC again (if needed) on scan complete.
      
      2. Keeping the antenna for a specific link.
      
      We ROC until the connection was completed (after EAPOLs exchange)
      in order to prevent BT coex operations from taking the antenna
      and failing the connection (after this stage, psm can be used).
      
      During association, we ROC on the station role, and then CROC
      the device role, thus assuring being ROC during all the connection
      process.
      
      Delete the WL1271_FLAG_JOINED flag, and use a roc bitmap
      to indicate what roles are currently ROCed.
      
      Add wl12xx_roc/croc functions in order to wrap the roc/croc
      commands while taking care of the roc bitmap.
      
      The current ROC/CROC state-machine is a bit complicated. In
      the future we'll probably want to use wpa_supplicant to control
      the ROC during connection.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      251c177f