This patch series is intended for 4.17 containing the following: * use wiphy_priv() for storing main driver instance. * add driver debugfs entries under wiphy debugfsdir. * rework firmware loading module. * rework clm_blob loading. The patches apply to the master branch of the wireless-drivers-next repository. Arend van Spriel (12): brcmfmac: do not convert linux error to firmware error string brcmfmac: use brcmf_chip_name() to store name in revinfo brcmfmac: use brcmf_chip_name() for consistency brcmfmac: allocate struct brcmf_pub instance using wiphy_new() brcmfmac: use wiphy debugfs dir entry brcmfmac: derive firmware filenames from basename mapping brcmfmac: pass struct in brcmf_fw_get_firmwares() brcmfmac: introduce brcmf_fw_alloc_request() function brcmfmac: add extension to .get_fwname() callbacks brcmfmac: get rid of brcmf_fw_map_chip_to_name() brcmfmac: get rid of brcmf_fw_get_full_name() brcmfmac: add kerneldoc for struct brcmf_bus::msgbuf .../wireless/broadcom/brcm80211/brcmfmac/bcdc.c | 6 + .../net/wireless/broadcom/brcm80211/brcmfmac/bus.h | 7 +- .../broadcom/brcm80211/brcmfmac/cfg80211.c | 88 ++++---- .../broadcom/brcm80211/brcmfmac/cfg80211.h | 17 +- .../wireless/broadcom/brcm80211/brcmfmac/chip.c | 14 +- .../wireless/broadcom/brcm80211/brcmfmac/chip.h | 3 +- .../wireless/broadcom/brcm80211/brcmfmac/common.c | 71 ++---- .../wireless/broadcom/brcm80211/brcmfmac/core.c | 48 ++-- .../wireless/broadcom/brcm80211/brcmfmac/core.h | 4 +- .../wireless/broadcom/brcm80211/brcmfmac/debug.c | 42 +--- .../wireless/broadcom/brcm80211/brcmfmac/debug.h | 17 -- .../wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 + .../wireless/broadcom/brcm80211/brcmfmac/feature.h | 7 + .../broadcom/brcm80211/brcmfmac/firmware.c | 242 ++++++++++++++------- .../broadcom/brcm80211/brcmfmac/firmware.h | 82 ++++--- .../wireless/broadcom/brcm80211/brcmfmac/fwil.c | 3 +- .../broadcom/brcm80211/brcmfmac/fwsignal.c | 11 +- .../broadcom/brcm80211/brcmfmac/fwsignal.h | 1 + .../wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 8 +- .../wireless/broadcom/brcm80211/brcmfmac/pcie.c | 157 +++++++------ .../wireless/broadcom/brcm80211/brcmfmac/proto.c | 3 +- .../wireless/broadcom/brcm80211/brcmfmac/proto.h | 7 + .../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 151 ++++++++----- .../net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 96 +++++--- 24 files changed, 618 insertions(+), 470 deletions(-) -- 1.9.1