1. 13 Oct, 2017 3 commits
    • Johannes Berg's avatar
      mac80211: don't track HT capability changes · b1b1ae2c
      Johannes Berg authored
      The code here (more or less accidentally) tracks the HT capability of
      the AP when connected, and we found at least one AP that erroneously
      toggles its 20/40 capability bit when changing between 20/40 MHz. The
      connection to the AP is then broken because we set the 40 MHz disable
      flag based on this, as soon as it switches to 20 MHz, but because the
      flag then changed, we disconnect.
      
      I'd be inclined to just ignore this issue, since we then reconnect
      while the AP is in 20 MHz mode and never use 40 MHz with it again,
      but this code is a bit strange anyway - we don't use the capabilities
      for anything else.
      
      Change the code to simply not track the HT capabilities at all, which
      assumes that the AP at least sets 20/40 capability when operating in
      40 MHz (or higher). If not, rate scaling might end up using only the
      narrower bandwidth.
      
      The new behaviour also mirrors what VHT does, where we only check the
      VHT operation.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      b1b1ae2c
    • Arnd Bergmann's avatar
      cfg80211: fix CFG80211_EXTRA_REGDB_KEYDIR typo · 88230ef1
      Arnd Bergmann authored
      The missing CONFIG_ prefix means this macro is never defined,
      leading to a possible Kbuild warning:
      
      net/wireless/reg.c:666:20: error: 'load_keys_from_buffer' defined but not used [-Werror=unused-function]
       static void __init load_keys_from_buffer(const u8 *p, unsigned int buflen)
      
      When we use the correct symbol, the warning also goes away.
      
      Fixes: 90a53e44 ("cfg80211: implement regdb signature checking")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      88230ef1
    • Arnd Bergmann's avatar
      cfg80211: don't print log output for building shipped-certs · 1188e2a9
      Arnd Bergmann authored
      Building an allmodconfig kernel with 'make -s' now prints a single line:
      
        GEN     net/wireless/shipped-certs.c
      
      Using '$(kecho)' here will skip the output with 'make -s' but
      otherwise keeps printing it, which is consistent with how we
      handle all the other output.
      
      Fixes: 90a53e44 ("cfg80211: implement regdb signature checking")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      1188e2a9
  2. 12 Oct, 2017 1 commit
  3. 11 Oct, 2017 9 commits
  4. 06 Oct, 2017 24 commits
  5. 05 Oct, 2017 3 commits