1. 27 Oct, 2016 21 commits
  2. 19 Oct, 2016 8 commits
  3. 18 Oct, 2016 1 commit
  4. 17 Oct, 2016 5 commits
  5. 13 Oct, 2016 2 commits
  6. 12 Oct, 2016 3 commits
    • Johannes Berg's avatar
      mac80211: preserve more bits when building QoS header · 32910bb9
      Johannes Berg authored
      Michael Braun reported that when trying to inject A-MSDUs over
      monitor interfaces, the frame doesn't come out right since the
      QoS header A-MSDU bit is overwritten.
      
      Rather than adding that bit specifically simply preserve those
      bits that we don't set here, since we typically get here with
      a zeroed-out QoS header anyway.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      32910bb9
    • Michael Braun's avatar
      mac80211: filter multicast data packets on AP / AP_VLAN · 72f15d53
      Michael Braun authored
      This patch adds filtering for multicast data packets on AP_VLAN
      interfaces that have no authorized station connected and changes
      filtering on AP interfaces to not count stations assigned to
      AP_VLAN interfaces.
      
      This saves airtime and avoids waking up other stations currently
      authorized in this BSS. When using WPA, the packets dropped could
      not be decrypted by any station.
      
      The behaviour when there are no AP_VLAN interfaces is left unchanged.
      
      When there are AP_VLAN interfaces, this patch
      1. adds filtering multicast data packets sent on AP_VLAN interfaces
         that have no authorized station connected.
         No filtering happens on 4addr AP_VLAN interfaces.
      2. makes filtering of multicast data packets sent on AP interfaces
         depend on the number of authorized stations in this bss not
         assigned to an AP_VLAN interface.
      
      Therefore, a new num_mcast_sta counter is added for AP_VLAN interfaces.
      The existing one for AP interfaces is altered to not track stations
      assigned to an AP_VLAN interface.
      
      The new counter is exposed in debugfs.
      Signed-off-by: default avatarMichael Braun <michael-dev@fami-braun.de>
      [reformat commit message a bit, unline ieee80211_vif_{inc,dec}_num_mcast]
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      72f15d53
    • Michael Braun's avatar
      mac80211: remove unnecessary num_mcast_sta check · 5f9994bd
      Michael Braun authored
      Checking for num_mcast_sta in __ieee80211_request_smps_ap() is
      unnecessary as sta list will be empty in this case anyway, so
      the list iteration will just exit immediately. Since this isn't
      a "hot" code path, it doesn't really matter, and the next patch
      will redefine num_mcast_sta to make this check invalid.
      Signed-off-by: default avatarMichael Braun <michael-dev@fami-braun.de>
      [change commit message]
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      5f9994bd