1. 29 1月, 2019 6 次提交
  2. 26 1月, 2019 32 次提交
  3. 10 1月, 2019 2 次提交
    • H
      brcmfmac: Use firmware_request_nowarn for the clm_blob · 4ad0be16
      Hans de Goede 提交于
      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: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      4ad0be16
    • L
      brcmfmac: fix system warning message during wowl suspend · 3a33bd84
      Lo-Hsiang Lo 提交于
      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: NArend van Spriel <arend.vanspriel@broadcom.com>
      Signed-off-by: NLo-Hsiang Lo <double.lo@cypress.com>
      Signed-off-by: NChi-Hsien Lin <chi-hsien.lin@cypress.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      3a33bd84