1. 02 12月, 2013 2 次提交
  2. 26 11月, 2013 4 次提交
  3. 28 10月, 2013 5 次提交
    • M
      mac80211: fix uninitialized variable · 0951ebb8
      Michal Kazior 提交于
      CSA completion could call in a driver
      bss_info_changed() with a garbled `changed` flag
      leading to all sorts of problems.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      0951ebb8
    • C
      {nl,cfg,mac}80211: implement mesh channel switch userspace API · b8456a14
      Chun-Yeow Yeoh 提交于
      Implement the required procedures for mesh channel switching as defined
      in the IEEE Std 802.11-2012 section 10.9.8.4.3 and also handle the CSA
      and MCSP elements as followed:
       * Add the function for updating the beacon and probe response frames
         with CSA and MCSP elements during the period of switching to the new
         channel. Both CSA and MCSP elements must be included in beacon and
         probe response frames until the intended channel switch time.
       * The ifmsh->csa_settings is set to NULL and the CSA and MCSP elements
         will then be removed from the beacon or probe response frames once the
         new channel is switched to.
      Signed-off-by: NChun-Yeow Yeoh <yeohchunyeow@cozybit.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      b8456a14
    • C
      {nl,cfg,mac}80211: enable the triggering of CSA frame in mesh · c6da674a
      Chun-Yeow Yeoh 提交于
      Allow the triggering of CSA frame using mesh interface. The
      rules are more or less same with IBSS, such as not allowed to
      change between the band and channel width has to be same from
      the previous mode. Also, move the ieee80211_send_action_csa
      to a common space so that it can be re-used by mesh interface.
      Signed-off-by: NChun-Yeow Yeoh <yeohchunyeow@cozybit.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      c6da674a
    • M
      mac80211: fixes for mesh powersave logic · 446075d7
      Marco Porsch 提交于
      This patch fixes errors in the mesh powersave logic which
      cause that remote peers do not get peer power mode change
      notifications and mesh peer service periods (MPSPs) got
      stuck.
      
      When closing a peer link, set the (now invalid) peer-specific
      power mode to 'unknown'.
      
      Avoid overhead when local power mode is unchanged.
      
      Reliably clear MPSP flags on peering status update.
      
      Avoid MPSP flags getting stuck by not requesting a further
      MPSP ownership if we already are an MPSP owner.
      Signed-off-by: NMarco Porsch <marco@cozybit.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      446075d7
    • E
      mac80211: implement SMPS for AP · 687da132
      Emmanuel Grumbach 提交于
      When the driver requests to move to STATIC or DYNAMIC SMPS,
      we send an action frame to each associated station and
      reconfigure the channel context / driver.
      Of course, non-MIMO stations are ignored.
      
      The beacon isn't updated. The association response will
      include the original capabilities. Stations that associate
      while in non-OFF SMPS mode will get an action frame right
      after association to inform them about our current state.
      Note that we wait until the end of the EAPOL. Sending an
      action frame before the EAPOL is finished can be an issue
      for a few clients. Clients aren't likely to send EAPOL
      frames in MIMO anyway.
      
      When the SMPS configuration gets more permissive (e.g.
      STATIC -> OFF), we don't wake up stations that are asleep
      We remember that they don't know about the change and send
      the action frame when they wake up.
      
      When the SMPS configuration gets more restrictive (e.g.
      OFF -> STATIC), we set the TIM bit for every sleeping STA.
      uAPSD stations might send MIMO until they poll the action
      frame, but this is for a short period of time.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      [fix vht streams loop, initialisation]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      687da132
  4. 03 10月, 2013 1 次提交
  5. 30 9月, 2013 1 次提交
  6. 26 9月, 2013 1 次提交
  7. 12 8月, 2013 2 次提交
  8. 02 8月, 2013 1 次提交
  9. 16 7月, 2013 2 次提交
  10. 24 6月, 2013 1 次提交
  11. 18 6月, 2013 1 次提交
    • A
      Revert "mac80211: in IBSS use the Auth frame to trigger STA reinsertion" · 52874a5e
      Antonio Quartulli 提交于
      This reverts commit 6d810f10
      
      In this way an IBSS station will not use the AUTH messages
      to trigger a state reinitialisation anymore.
      
      The behaviour was racy and was not working properly.
      It has been introduced to help wpa_supplicant to support
      IBSS/RSN, however all the logic is now getting moved into
      wpa_s itself which will also be in charge of handling the
      AUTH messages thanks to the mgmt frame registration.
      
      If userspace does not register for receiving AUTH frames
      then mac80211 will still reply by itself.
      
      At the same time, the auth frame registration counter can be
      removed since it is not needed anymore.
      Signed-off-by: NAntonio Quartulli <antonio@open-mesh.com>
      [remove unused variable]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      52874a5e
  12. 12 6月, 2013 1 次提交
  13. 11 6月, 2013 3 次提交
  14. 03 6月, 2013 1 次提交
  15. 29 5月, 2013 1 次提交
  16. 25 5月, 2013 1 次提交
    • J
      cfg80211/mac80211: use cfg80211 wdev mutex in mac80211 · 8d61ffa5
      Johannes Berg 提交于
      Using separate locks in cfg80211 and mac80211 has always
      caused issues, for example having to unlock in places in
      mac80211 to call cfg80211, which even needed a framework
      to make cfg80211 calls after some functions returned etc.
      
      Additionally, I suspect some issues people have reported
      with the cfg80211 state getting confused could be due to
      such issues, when cfg80211 is asking mac80211 to change
      state but mac80211 is in the process of telling cfg80211
      that the state changed (in another way.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8d61ffa5
  17. 17 5月, 2013 3 次提交
  18. 22 4月, 2013 1 次提交
  19. 17 4月, 2013 1 次提交
  20. 11 4月, 2013 1 次提交
  21. 08 4月, 2013 1 次提交
  22. 26 3月, 2013 1 次提交
  23. 25 3月, 2013 1 次提交
  24. 22 3月, 2013 1 次提交
  25. 11 3月, 2013 2 次提交