1. 30 Mar, 2015 10 commits
  2. 23 Mar, 2015 11 commits
  3. 20 Mar, 2015 6 commits
    • Johannes Berg's avatar
      cfg80211: add vlan to station add/change tracing · 5d8325ec
      Johannes Berg authored
      This helps debug issues with VLAN modifications that are otherwise
      not really visible in any tracing/debugging.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      5d8325ec
    • Johannes Berg's avatar
      mac80211: avoid duplicate TX path station lookup · 7c10770f
      Johannes Berg authored
      Instead of looking up the destination station twice in the TX path
      (first to build the header, and then for control processing), save
      it when building the header and use it later in the TX path.
      
      To avoid having to look up the station in the many callers, allow
      those to pass %NULL which keeps the existing lookup.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      7c10770f
    • Johannes Berg's avatar
      mac80211: mesh: avoid pointless station lookup · e33f5569
      Johannes Berg authored
      In ieee80211_build_hdr(), the station is looked up to build the
      header correctly (QoS field) and to check for authorization. For
      mesh, authorization isn't checked here, and QoS capability is
      mandatory, so the station lookup can be avoided.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      e33f5569
    • Johannes Berg's avatar
      mac80211: drop 4-addr VLAN frames earlier if not connected · a8d15ff0
      Johannes Berg authored
      If there's no station on the 4-addr VLAN interface, then frames
      cannot be transmitted. Drop such frames earlier, before setting
      up all the information for them.
      
      We should keep the old check though since that code might be used
      for other internally-generated frames.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      a8d15ff0
    • Johannes Berg's avatar
      mac80211: don't look up destination station twice · 5041006c
      Johannes Berg authored
      There's no need to look up the destination station twice while
      building the 802.11 header for a given frame if the frame will
      actually be transmitted to the station we initially looked up.
      
      This happens for 4-addr VLAN interfaces and TDLS connections, which
      both directly send the frame to the station they looked up, though
      in the case of TDLS some station conditions need to be checked.
      
      To avoid that, add a variable indicating that we've looked up the
      station that the frame is going to be transmitted to, and avoid the
      lookup/flag checking if it already has been done.
      
      In the TDLS case, also move the authorized/wme_sta flag assignment
      to the correct place, i.e. only when that station is really used.
      Before this change, the new lookup should always have succeeded so
      that the potentially erroneous data would be overwritten.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      5041006c
    • Johannes Berg's avatar
      mac80211: remove drop_unencrypted code · e8f4fb7c
      Johannes Berg authored
      This mechanism was historic, and only ever used by IBSS, which
      also doesn't need to have it as it properly manages station's
      802.1X PAE state (or, with WEP, always has a key.)
      
      Remove the mechanism to clean up the code.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      e8f4fb7c
  4. 19 Mar, 2015 4 commits
  5. 17 Mar, 2015 5 commits
  6. 16 Mar, 2015 4 commits