1. 14 7月, 2019 1 次提交
    • B
      mwifiex: Don't abort on small, spec-compliant vendor IEs · bb902b6c
      Brian Norris 提交于
      commit 63d7ef36103d26f20325a921ecc96a3288560146 upstream.
      
      Per the 802.11 specification, vendor IEs are (at minimum) only required
      to contain an OUI. A type field is also included in ieee80211.h (struct
      ieee80211_vendor_ie) but doesn't appear in the specification. The
      remaining fields (subtype, version) are a convention used in WMM
      headers.
      
      Thus, we should not reject vendor-specific IEs that have only the
      minimum length (3 bytes) -- we should skip over them (since we only want
      to match longer IEs, that match either WMM or WPA formats). We can
      reject elements that don't have the minimum-required 3 byte OUI.
      
      While we're at it, move the non-standard subtype and version fields into
      the WMM structs, to avoid this confusion in the future about generic
      "vendor header" attributes.
      
      Fixes: 685c9b7750bf ("mwifiex: Abort at too short BSS descriptor element")
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NBrian Norris <briannorris@chromium.org>
      Reviewed-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      bb902b6c
  2. 31 7月, 2018 1 次提交
  3. 14 3月, 2018 2 次提交
  4. 03 8月, 2017 1 次提交
  5. 28 7月, 2017 1 次提交
  6. 28 4月, 2017 1 次提交
  7. 07 2月, 2017 1 次提交
  8. 03 9月, 2016 2 次提交
  9. 19 7月, 2016 1 次提交
  10. 29 6月, 2016 1 次提交
  11. 14 4月, 2016 1 次提交
  12. 08 4月, 2016 1 次提交
  13. 07 3月, 2016 1 次提交
  14. 29 1月, 2016 4 次提交
  15. 30 12月, 2015 2 次提交
  16. 11 12月, 2015 2 次提交
  17. 18 11月, 2015 1 次提交
  18. 06 8月, 2015 1 次提交
    • A
      mwifiex: simplify mwifiex_complete_cmd · c5bc15fc
      Andreas Fenkart 提交于
      600f5d90("mwifiex: cleanup ioctl wait queue and abstraction layer")
      introduced the wakeup_interruptible suppression in mwifiex_complete_cmd
      b1a47aa5("mwifiex: fix system hang issue in cmd timeout error case")
      then added wakup_interruptible to mwifiex_cmd_timeout_func the single
      place setting a status of ETIMEDOUT.
      Instead of doing extra work, using the standard call-chain will have the
      same effect:
      mwifiex_cancel_pending_ioctl
      -> mwifiex_recycle_cmd_node
      -> mwifiex_insert_cmd_to_free_q
      -> mwifiex_complete_cmd
      -> wake_up_interruptible
      
      The difference is that previously the condition was not set to true,
      but that's probably just an oversight in b1a47aa5 and shouldn't
      have any consequence
      Signed-off-by: NAndreas Fenkart <afenkart@gmail.com>
      Acked-by: NAmitkumar Karwar <akarwar@marvell.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      c5bc15fc
  19. 26 5月, 2015 1 次提交
  20. 09 5月, 2015 1 次提交
  21. 29 1月, 2015 3 次提交
  22. 07 1月, 2015 1 次提交
  23. 12 11月, 2014 1 次提交
  24. 16 9月, 2014 1 次提交
  25. 29 8月, 2014 1 次提交
  26. 19 7月, 2014 1 次提交
  27. 26 6月, 2014 2 次提交
  28. 20 6月, 2014 1 次提交
  29. 16 4月, 2014 1 次提交
  30. 01 4月, 2014 1 次提交