1. 29 Jan, 2019 6 commits
  2. 25 Jan, 2019 32 commits
  3. 10 Jan, 2019 2 commits
    • Hans de Goede's avatar
      brcmfmac: Use firmware_request_nowarn for the clm_blob · 4ad0be16
      Hans de Goede authored
      The linux-firmware brcmfmac firmware files contain an embedded table with
      per country allowed channels and strength info.
      
      For recent hardware these versions of the firmware are specially build for
      linux-firmware, the firmware files directly available from Cypress rely on
      a separate clm_blob file for this info.
      
      For some unknown reason Cypress refuses to provide the standard firmware
      files + clm_blob files it uses elsewhere for inclusion into linux-firmware,
      instead relying on these special builds with the clm_blob info embedded.
      This means that the linux-firmware firmware versions often lag behind,
      but I digress.
      
      The brcmfmac driver does support the separate clm_blob file and always
      tries to load this. Currently we use request_firmware for this. This means
      that on any standard install, using the standard combo of linux-kernel +
      linux-firmware, we will get a warning:
      "Direct firmware load for ... failed with error -2"
      
      On top of this, brcmfmac itself prints: "no clm_blob available (err=-2),
      device may have limited channels available".
      
      This commit switches to firmware_request_nowarn, fixing almost any brcmfmac
      device logging the warning (it leaves the brcmfmac info message in place).
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      4ad0be16
    • Lo-Hsiang Lo's avatar
      brcmfmac: fix system warning message during wowl suspend · 3a33bd84
      Lo-Hsiang Lo authored
      There is a system warning message, warn_slowpath-fmt, during suspend
      while using supplicant join AP and enable wowl feature by IW command.
      It's caused by brcmf_pno_remove_request path can't find the reqid.
      This fix will not go to remove pno request function if there is no
      pno scan.
      Acked-by: default avatarArend van Spriel <arend.vanspriel@broadcom.com>
      Signed-off-by: default avatarLo-Hsiang Lo <double.lo@cypress.com>
      Signed-off-by: default avatarChi-Hsien Lin <chi-hsien.lin@cypress.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      3a33bd84