1. 26 Jan, 2020 3 commits
    • Ganapathi Bhat's avatar
      MAINTAINERS: update for mwifiex driver maintainers · d04bf428
      Ganapathi Bhat authored
      Remove Nishant Sarmukadam from Maintainer list, as he is no
      longer working in NXP.
      Signed-off-by: default avatarGanapathi Bhat <ganapathi.bhat@nxp.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      d04bf428
    • Brian Norris's avatar
      mwifiex: drop most magic numbers from mwifiex_process_tdls_action_frame() · 70e5b8f4
      Brian Norris authored
      Before commit 1e58252e ("mwifiex: Fix heap overflow in
      mmwifiex_process_tdls_action_frame()"),
      mwifiex_process_tdls_action_frame() already had too many magic numbers.
      But this commit just added a ton more, in the name of checking for
      buffer overflows. That seems like a really bad idea.
      
      Let's make these magic numbers a little less magic, by
      (a) factoring out 'pos[1]' as 'ie_len'
      (b) using 'sizeof' on the appropriate source or destination fields where
          possible, instead of bare numbers
      (c) dropping redundant checks, per below.
      
      Regarding redundant checks: the beginning of the loop has this:
      
                      if (pos + 2 + pos[1] > end)
                              break;
      
      but then individual 'case's include stuff like this:
      
       			if (pos > end - 3)
       				return;
       			if (pos[1] != 1)
      				return;
      
      Note that the second 'return' (validating the length, pos[1]) combined
      with the above condition (ensuring 'pos + 2 + length' doesn't exceed
      'end'), makes the first 'return' (whose 'if' can be reworded as 'pos >
      end - pos[1] - 2') redundant. Rather than unwind the magic numbers
      there, just drop those conditions.
      
      Fixes: 1e58252e ("mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()")
      Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      70e5b8f4
    • Kalle Valo's avatar
      Merge tag 'iwlwifi-next-for-kalle-2020-01-11' of... · fafa7424
      Kalle Valo authored
      Merge tag 'iwlwifi-next-for-kalle-2020-01-11' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
      
      First set of patches intended for v5.6
      
      * Support new versions of the FTM FW APIs;
      * Fix an old bug in D3 (WoWLAN);
      * A couple of fixes/improvements in the receive-buffers code;
      * Fix in the debugging where we were skipping one TXQ;
      * Support new version of the beacon template FW API;
      * Print some extra information when the driver is loaded;
      * Some debugging infrastructure (aka. yoyo) updates;
      * Support for a new HW version;
      * Second phase of device configuration work started;
      * Some clean-ups;
      fafa7424
  2. 13 Jan, 2020 2 commits
  3. 12 Jan, 2020 11 commits
  4. 11 Jan, 2020 24 commits