1. 31 8月, 2018 14 次提交
  2. 30 8月, 2018 20 次提交
  3. 29 8月, 2018 6 次提交
    • B
      cfg80211: clarify frames covered by average ACK signal report · 9c06602b
      Balaji Pothunoori 提交于
      Modify the API to include all ACK frames in average ACK
      signal strength reporting, not just ACKs for data frames.
      Make exposing the data conditional on implementing the
      extended feature flag.
      
      This is how it was really implemented in mac80211, update
      the code there to use the new defines and clean up some of
      the setting code.
      
      Keep nl80211.h source compatibility by keeping the old names.
      Signed-off-by: NBalaji Pothunoori <bpothuno@codeaurora.org>
      [rewrite commit log, change compatibility to be old=new
       instead of the other way around, update kernel-doc,
       roll in mac80211 changes, make mac80211 depend on valid
       bit instead of HW flag]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      9c06602b
    • S
      mac80211: add missing WFA Multi-AP backhaul STA Rx requirement · 1ecef20c
      Sathishkumar Muruganandam 提交于
      The current mac80211 WDS (4-address mode) can be used to cover most of the
      Multi-AP requirements for Data frames per the WFA Multi-AP Specification v1.0.
      When configuring AP/STA interfaces in 4-address mode, they are able to function
      as fronthaul AP/backhaul STA of Multi-AP device complying below
      Tx, Rx requirements except one missing STA Rx requirement added by this patch.
      
      Multi-AP specification section 14.1 describes the following requirements:
      
      Transmitter requirements
      ------------------------
      1. Fronthaul AP
              i) When DA!=RA of backhaul STA, must use 4-address format
              ii) When DA==RA of backhaul STA, shall use either 3-address
                  or 4-address format with RA updated with STA MAC
      
                  (mac80211 support 4-address format via AP/VLAN interface)
      
      2. Backhaul STA
              i) When SA!=TA of backhaul STA, must use 4-address format
              ii) When SA==TA of backhaul STA, shall use either 3-address
                  or 4-address format with RA updated with AP MAC
      
                  (mac80211 support 4-address format via use_4addr)
      
      Receiver requirements
      ---------------------
      1. Fronthaul AP
              i) When SA!=TA of backhaul STA, must support receiving 4-address
                 format frames
              ii) When SA==TA of backhaul STA, must support receiving both
                  3-address and 4-address format frames
      
                  (mac80211 support both 3-addr & 4-addr via AP/VLAN interface)
      
      2. Backhaul STA
              i) When DA!=RA of backhaul STA, must support receiving 4-address
                 format frames
              ii) When DA==RA of backhaul STA,  must support receiving both
                  3-address and 4-address format frames
      
                  (mac80211 support only receiving 4-address format via
                   use_4addr)
      
      This patch addresses the above Rx requirement (ii) for backhaul STA to receive
      unicast (DA==RA) 3-address frames in addition to 4-address frames.
      
      The current design doesn't accept 3-address frames when configured in 4-address
      mode (use_4addr). Hence add a check to allow 3-address frames when DA==RA of
      backhaul STA (adhering to Table 9-26 of IEEE Std 802.11™-2016).
      
      This case was tested with a bridged station interface when associated with
      a non-mac80211 based vendor AP implementation using 3-address frames for WDS.
      
      STA was able to support the Multi-AP Rx requirement when DA==RA. No issues,
      no loops seen when tested with mac80211 based AP as well.
      
      Verified and confirmed all other Tx and Rx requirements of AP and STA for
      Multi-AP respectively. They all work using the current mac80211-WDS design.
      Signed-off-by: NSathishkumar Muruganandam <murugana@codeaurora.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      1ecef20c
    • D
      Merge branch 'nfp-add-NFP5000-support' · 817e60a7
      David S. Miller 提交于
      Jakub Kicinski says:
      
      ====================
      nfp: add NFP5000 support
      
      This series broadly speaking adds support for NFP5000 and
      related products.
      
      First we add support for loading FW from flash.  We need to allow
      for the management processor to provide extended log messages when
      FW is loaded.  This is needed when FW selection policy is to compare
      the FW on the disk and in the flash, and load the newer.  User should
      be told what FW was selected.
      
      We use this opportunity to add extended errors for normal FW loading
      as well.
      
      Next we add support for requesting HW information from the management
      processor.  Up until now the driver read the HWinfo as it appears in
      card memory, but there can be cases when management processor has
      additional information or generates the entries dynamically so
      occasionally we will have to consult it.  We use this to look up MAC
      addresses for PCIe netdevs.
      
      Next the actual patch with NFP5000 support and a small dose of
      refactoring of PCIe init.
      
      The remaining patches add support for reading RTsymbol types we
      didn't need before.  Ones explicitly placed in external memory unit's
      cache and absolute ones.
      
      This part begins with a patch moving the logic which figures out
      the correct bit offsets to device probe, to avoid redoing the
      calculation for each access.  Second patch adds error messages
      for easier troubleshooting.  Next patch adds helpers which will
      take care of address conversions to reach into EMU cache.
      Subsequently users are migrated from the raw CPP API to the new RTsym
      helpers.  Finally we add support for reading absolute symbols.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      817e60a7
    • J
      nfp: make RTsym users handle absolute symbols correctly · 4152e58c
      Jakub Kicinski 提交于
      Make the RTsym users access the size via the helper, which
      takes care of special handling of absolute symbols.
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Reviewed-by: NFrancois H. Theron <francois.theron@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4152e58c
    • J
      nfp: support access to absolute RTsyms · 640917dd
      Jakub Kicinski 提交于
      Add support in nfpcore for reading the absolute RTsyms.
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Reviewed-by: NFrancois H. Theron <francois.theron@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      640917dd
    • J
      nfp: convert all RTsym users to use new read/write helpers · 1240989c
      Jakub Kicinski 提交于
      Convert all users of RTsym to the new set of helpers which
      handle all targets correctly.
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Reviewed-by: NFrancois H. Theron <francois.theron@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1240989c