1. 11 8月, 2015 1 次提交
    • 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
  2. 25 6月, 2014 1 次提交
  3. 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
  4. 12 6月, 2013 1 次提交
  5. 28 11月, 2012 1 次提交
  6. 27 11月, 2012 2 次提交
    • E
      wlcore: split 18xx and 12xx scan mechanism · 78e28062
      Eliad Peller 提交于
      The scan APIs of 12xx and 18xx are totally different.
      Use some common functions as much as possible (e.g.
      for setting scan channels), but split scan.c into
      chip-specific scan.c files, each implementing its
      own scan mechanism.
      
      (in other words - move most of the current wlcore's
      scan.c into wl12xx, and implement a similar mechanism
      in 18xx, according to the new api)
      
      New wlcore ops are introduced in order to call the
      chip-specific scan functions.
      
      The template indices used for each scan (regular/scheduled)
      are also different between the chips, so set the correct
      indices used for each scan type after identifying the chip.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      78e28062
    • E
      wlcore: make scan scan configuration functions more generic · 512c5385
      Eliad Peller 提交于
      18xx and 12xx have different scan APIs. In 18xx,
      the scan and the sched scan use the same struct.
      
      Prepare the scan configuration functions to it, by taking
      more generic params (e.g. ieee80211_channel) instead of
      specific structs/requests.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      512c5385
  7. 27 9月, 2012 2 次提交
  8. 11 7月, 2012 3 次提交
  9. 07 6月, 2012 3 次提交
  10. 12 4月, 2012 3 次提交
  11. 10 4月, 2012 1 次提交
    • E
      wl12xx: adaptive sched scan dwell times · 6f407e5b
      Eyal Shapira 提交于
      Set the dwell times for sched scan according to the number
      of probe requests which are going to be transmitted.
      This should fix the too short dwell time problem which
      prevented some of the probe requests from being transmitted
      in cases of high number of SSIDs (10+) to be actively sched scanned.
      However, in the common case of having up to 1-2 SSIDs that
      require active scan, the dwell time would be kept to a minimum
      which should conserve power. This is important as sched scan
      also runs periodically while the host is suspended and there's
      great importance to keep power consumption as low as possible.
      Signed-off-by: NEyal Shapira <eyal@wizery.com>
      [fixed a couple of new strict checkpatch warnings]
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      6f407e5b
  12. 08 3月, 2012 1 次提交
  13. 15 2月, 2012 5 次提交
  14. 21 12月, 2011 3 次提交
  15. 08 12月, 2011 1 次提交
  16. 09 11月, 2011 1 次提交
  17. 08 11月, 2011 2 次提交
  18. 11 10月, 2011 5 次提交
  19. 07 10月, 2011 3 次提交