1. 11 8月, 2015 2 次提交
    • E
      wlcore: add p2p device support · 7845af35
      Eliad Peller 提交于
      When starting a p2p mgmt interface, enable its device role. This
      allows us to keep the sta role disabled and scan on the dev role.
      
      In general, p2p management interfaces cannot send vif-specific commands
      to FW, as the vif role id is invalid. Only off-channel data and scans
      happen on this vif, so most ops are not relevant.
      
      If the vif is a p2p mgmt vif, block some mac80211 ops.
      
      Configure rate policies for p2p mgmt interface, as
      otherwise p2p packets come out with arbitrary rates.
      
      Since wpa_supplicant currently doesn't support standalone
      p2p device mode (without another attached managed interface),
      add p2p device to the allowed interface combinations without
      decreasing the allowed station count.
      
      Moreover, increase the station count in some cases, as AP
      mode usually starts as station interface, and the AP interface
      is now different from the p2p management one).
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      7845af35
    • E
      wlcore: add generic_cfg_feature command definitions · c32e35f2
      Eliad Peller 提交于
      Add definitions and function prototypes for generic_cfg
      command.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      c32e35f2
  2. 04 3月, 2015 1 次提交
  3. 09 1月, 2015 3 次提交
  4. 20 11月, 2014 1 次提交
  5. 12 11月, 2014 2 次提交
  6. 16 7月, 2014 2 次提交
  7. 25 6月, 2014 1 次提交
  8. 14 2月, 2014 4 次提交
  9. 26 11月, 2013 1 次提交
    • L
      cfg80211: consolidate passive-scan and no-ibss flags · 8fe02e16
      Luis R. Rodriguez 提交于
      These two flags are used for the same purpose, just
      combine them into a no-ir flag to annotate no initiating
      radiation is allowed.
      
      Old userspace sending either flag will have it treated as
      the no-ir flag. To be considerate to older userspace we
      also send both the no-ir flag and the old no-ibss flags.
      Newer userspace will have to be aware of older kernels.
      
      Update all places in the tree using these flags with the
      following semantic patch:
      
      @@
      @@
      -NL80211_RRF_PASSIVE_SCAN
      +NL80211_RRF_NO_IR
      @@
      @@
      -NL80211_RRF_NO_IBSS
      +NL80211_RRF_NO_IR
      @@
      @@
      -IEEE80211_CHAN_PASSIVE_SCAN
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -IEEE80211_CHAN_NO_IBSS
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -NL80211_RRF_NO_IR | NL80211_RRF_NO_IR
      +NL80211_RRF_NO_IR
      @@
      @@
      -IEEE80211_CHAN_NO_IR | IEEE80211_CHAN_NO_IR
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -(NL80211_RRF_NO_IR)
      +NL80211_RRF_NO_IR
      @@
      @@
      -(IEEE80211_CHAN_NO_IR)
      +IEEE80211_CHAN_NO_IR
      
      Along with some hand-optimisations in documentation, to
      remove duplicates and to fix some indentation.
      Signed-off-by: NLuis R. Rodriguez <mcgrof@do-not-panic.com>
      [do all the driver updates in one go]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8fe02e16
  10. 23 10月, 2013 2 次提交
  11. 01 10月, 2013 2 次提交
  12. 25 3月, 2013 2 次提交
    • A
      wlcore: AP-mode - recover security seq num for stations · 0e752df6
      Arik Nemtsov 提交于
      Save the sequence number of the broadcast AP link in the wlvif. For each
      connected station, save the sequence number in the drv_priv part of
      ieee80211_sta. Use the saved numbers on recovery/resume, with the
      obligatory increment on recovery.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      0e752df6
    • A
      wlcore: consolidate tx_seq handling on recovery · 93d5d100
      Arik Nemtsov 提交于
      Accumulate the total number of sent packets per-link to find out how far
      the encryption sequence number has progressed. Use this number as the
      initial security sequence number after recovery.
      
      This consolidates security sequence handling for both chip families, as
      we no longer have to rely on 12xx specific Tx completion.
      
      A fortunate side effect of this is correct management of seq numbers for
      AP roles and multi-role scenarios.
      
      When a link is removed we save the last seq number on a persistent part
      of the wlvif. This helps the data survive through recoveries/suspends,
      which also entail changes in the hlid of the link.
      
      This functionality is STA only currently.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      93d5d100
  13. 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
  14. 11 12月, 2012 2 次提交
  15. 05 12月, 2012 3 次提交
  16. 04 12月, 2012 2 次提交
  17. 30 11月, 2012 1 次提交
  18. 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
  19. 27 11月, 2012 6 次提交