1. 15 Feb, 2013 3 commits
  2. 11 Feb, 2013 2 commits
  3. 04 Feb, 2013 1 commit
    • Marco Porsch's avatar
      mac80211: mesh power save basics · 3f52b7e3
      Marco Porsch authored
      Add routines to
      - maintain a PS mode for each peer and a non-peer PS mode
      - indicate own PS mode in transmitted frames
      - track neighbor STAs power modes
      - buffer frames when neighbors are in PS mode
      - add TIM and Awake Window IE to beacons
      - release frames in Mesh Peer Service Periods
      Add local_pm to sta_info to represent the link-specific power
      mode at this station towards the remote station. When a peer
      link is established, use the default power mode stored in mesh
      config. Update the PS status if the peering status of a neighbor
      Maintain a mesh power mode for non-peer mesh STAs. Set the
      non-peer power mode to active mode during peering. Authenticated
      mesh peering is currently not working when either node is
      configured to be in power save mode.
      Indicate the current power mode in transmitted frames. Use QoS
      Nulls to indicate mesh power mode transitions.
      For performance reasons, calls to the function setting the frame
      flags are placed in HWMP routing routines, as there the STA
      pointer is already available.
      Add peer_pm to sta_info to represent the peer's link-specific
      power mode towards the local station. Add nonpeer_pm to
      represent the peer's power mode towards all non-peer stations.
      Track power modes based on received frames.
      Add the ps_data structure to ieee80211_if_mesh (for TIM map, PS
      neighbor counter and group-addressed frame buffer).
      Set WLAN_STA_PS flag for STA in PS mode to use the unicast frame
      buffering routines in the tx path. Update num_sta_ps to buffer
      and release group-addressed frames after DTIM beacons.
      Announce the awake window duration in beacons if in light or
      deep sleep mode towards any peer or non-peer. Create a TIM IE
      similarly to AP mode and add it to mesh beacons. Parse received
      Awake Window IEs and check TIM IEs for buffered frames.
      Release frames towards peers in mesh Peer Service Periods. Use
      the corresponding trigger frames and monitor the MPSP status.
      Append a QoS Null as trigger frame if neccessary to properly end
      the MPSP. Currently, in HT channels MPSPs behave imperfectly and
      show large delay spikes and frame losses.
      Signed-off-by: default avatarMarco Porsch <marco@cozybit.com>
      Signed-off-by: default avatarIvan Bezyazychnyy <ivan.bezyazychnyy@gmail.com>
      Signed-off-by: default avatarMike Krinkin <krinkin.m.u@gmail.com>
      Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
  4. 29 Jan, 2013 1 commit
  5. 16 Jan, 2013 1 commit
  6. 03 Jan, 2013 6 commits
  7. 26 Nov, 2012 2 commits
  8. 23 Oct, 2012 1 commit
  9. 17 Oct, 2012 2 commits
  10. 20 Aug, 2012 1 commit
    • Johannes Berg's avatar
      mac80211: mesh: don't use global channel type · 466f310d
      Johannes Berg authored
      Using local->_oper_channel_type in the mesh code is
      completely wrong as this value is the combination
      of the various interface channel types and can be
      a different value from the mesh interface in case
      there are multiple virtual interfaces.
      Use sdata->vif.bss_conf.channel_type instead as it
      tracks the per-vif channel type.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
  11. 13 Aug, 2012 1 commit
  12. 03 Aug, 2012 1 commit
  13. 01 Aug, 2012 2 commits
  14. 31 Jul, 2012 2 commits
  15. 11 Jul, 2012 1 commit
  16. 24 Jun, 2012 1 commit
    • Johannes Berg's avatar
      mac80211: clean up debugging · bdcbd8e0
      Johannes Berg authored
      There are a few things that make the logging and
      debugging in mac80211 less useful than it should
      be right now:
       * a lot of messages should be pr_info, not pr_debug
       * wholesale use of pr_debug makes it require *both*
         Kconfig and dynamic configuration
       * there are still a lot of ifdefs
       * the style is very inconsistent, sometimes the
         sdata->name is printed in front
      Clean up everything, introducing new macros and
      separating out the station MLME debugging into
      a new Kconfig symbol.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
  17. 18 Jun, 2012 1 commit
  18. 14 Jun, 2012 1 commit
    • Chun-Yeow Yeoh's avatar
      mac80211: implement the proactive PREQ generation · a69cc44f
      Chun-Yeow Yeoh authored
      Generate the proactive PREQ element as defined in
      Sec. (Case C) of IEEE Std. 802.11-2012
      based on the selection of dot11MeshHWMPRootMode as follow:
      dot11MeshHWMPRootMode (2) is proactivePREQnoPREP
      dot11MeshHWMPRootMode (3) is proactivePREQwithPREP
      The proactive PREQ is generated based on the interval
      defined by dot11MeshHWMProotInterval.
      With this change, proactive RANN element is now generated
      if the dot11MeshHWMPRootMode is set to (4) instead of (1).
      Signed-off-by: default avatarChun-Yeow Yeoh <yeohchunyeow@gmail.com>
      [line-break commit log]
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
  19. 05 Jun, 2012 1 commit
  20. 16 May, 2012 1 commit
  21. 09 May, 2012 1 commit
    • Joe Perches's avatar
      mac80211: Convert compare_ether_addr to ether_addr_equal · b203ca39
      Joe Perches authored
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      Done via cocci script:
      $ cat compare_ether_addr.cocci
      expression a,b;
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      expression a,b;
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      expression a,b;
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      expression a,b;
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      expression a,b;
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      expression a,b;
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      expression a,b;
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  22. 08 May, 2012 3 commits
  23. 23 Apr, 2012 1 commit
  24. 11 Apr, 2012 3 commits