mbox series

pull-request: wireless-drivers-next-2020-10-09

Message ID 20201009160759.A44E1C433FE@smtp.codeaurora.org
State New
Headers show
Series pull-request: wireless-drivers-next-2020-10-09 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git tags/wireless-drivers-next-2020-10-09

Message

Kalle Valo Oct. 9, 2020, 4:07 p.m. UTC
Hi,

here's a pull request to net-next tree, more info below. Please let me know if
there are any problems.

Kalle

The following changes since commit c2568c8c9e636a56abf31da4b28b65d3ded02524:

  Merge branch 'net-Constify-struct-genl_small_ops' (2020-10-04 21:13:36 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git tags/wireless-drivers-next-2020-10-09

for you to fetch changes up to b7d96bca1f004b5f26ee51ea9c9749a28dac8316:

  Revert "iwlwifi: remove wide_cmd_header field" (2020-10-09 18:04:50 +0300)

----------------------------------------------------------------
wireless-drivers-next patches for v5.10

Fourth and last set of patches for v5.10. Most of these are iwlwifi
patches, but few small fixes to other drivers as well.

Major changes:

iwlwifi

* PNVM support (platform-specific phy config data)

* bump the FW API support to 59

----------------------------------------------------------------
Alex Dewar (1):
      ath11k: Fix memory leak on error path

Avraham Stern (1):
      iwlwifi: mvm: avoid possible NULL pointer dereference

Chris Chiu (1):
      rtlwifi: rtl8192se: remove duplicated legacy_httxpowerdiff

Emmanuel Grumbach (1):
      iwlwifi: mvm: don't send a CSA command the firmware doesn't know

Golan Ben Ami (1):
      iwlwifi: support an additional Qu subsystem id

Johannes Berg (1):
      iwlwifi: mvm: stop claiming NL80211_EXT_FEATURE_SET_SCAN_DWELL

Lee Jones (14):
      iwlwifi: dvm: Demote non-compliant kernel-doc headers
      iwlwifi: rs: Demote non-compliant kernel-doc headers
      iwlwifi: dvm: tx: Demote non-compliant kernel-doc headers
      iwlwifi: dvm: lib: Demote non-compliant kernel-doc headers
      iwlwifi: calib: Demote seemingly unintentional kerneldoc header
      iwlwifi: dvm: sta: Demote a bunch of nonconformant kernel-doc headers
      iwlwifi: mvm: ops: Remove unused static struct 'iwl_mvm_debug_names'
      iwlwifi: dvm: Demote a couple of nonconformant kernel-doc headers
      iwlwifi: mvm: utils: Fix some doc-rot
      iwlwifi: dvm: scan: Demote a few nonconformant kernel-doc headers
      iwlwifi: dvm: rxon: Demote non-conformant kernel-doc headers
      iwlwifi: mvm: tx: Demote misuse of kernel-doc headers
      iwlwifi: dvm: devices: Fix function documentation formatting issues
      iwlwifi: iwl-drv: Provide descriptions debugfs dentries

Luca Coelho (13):
      iwlwifi: mvm: read and parse SKU ID if available
      iwlwifi: update prph scratch structure to include PNVM data
      iwlwifi: mvm: ring the doorbell and wait for PNVM load completion
      iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues
      iwlwifi: pcie: fix 0x271B and 0x271C trans cfg struct
      iwlwifi: pcie: fix xtal latency for 9560 devices
      iwlwifi: pcie: fix the xtal latency value for a few qu devices
      iwlwifi: move PNVM implementation to common code
      iwlwifi: add trans op to set PNVM
      iwlwifi: pcie: implement set_pnvm op
      iwlwifi: read and parse PNVM file
      iwlwifi: bump FW API to 59 for AX devices
      Revert "iwlwifi: remove wide_cmd_header field"

Mordechay Goodstein (2):
      iwlwifi: stats: add new api fields for statistics cmd/ntfy
      iwlwifi: rs: align to new TLC config command API

Naftali Goldstein (1):
      iwlwifi: fix sar geo table initialization

Nathan Errera (4):
      iwlwifi: mvm: get number of stations from TLV
      iwlwifi: mvm: prepare roc_done_wk to work sync
      iwlwifi: mvm: add a get lmac id function
      iwlwifi: mvm: support ADD_STA_CMD_API_S ver 12

Sara Sharon (3):
      iwlwifi: mvm: re-enable TX after channel switch
      iwlwifi: mvm: remove memset of kek_kck command
      iwlwifi: mvm: fix suspicious rcu usage warnings

Tom Rix (1):
      mwifiex: fix double free

 drivers/net/wireless/ath/ath11k/mac.c              |   4 +-
 drivers/net/wireless/intel/iwlwifi/Makefile        |   2 +-
 drivers/net/wireless/intel/iwlwifi/cfg/22000.c     |   4 +-
 drivers/net/wireless/intel/iwlwifi/cfg/9000.c      |  17 +-
 drivers/net/wireless/intel/iwlwifi/dvm/calib.c     |   2 +-
 drivers/net/wireless/intel/iwlwifi/dvm/devices.c   |   8 +-
 drivers/net/wireless/intel/iwlwifi/dvm/lib.c       |   4 +-
 drivers/net/wireless/intel/iwlwifi/dvm/main.c      |  11 +-
 drivers/net/wireless/intel/iwlwifi/dvm/rs.c        |  12 +-
 drivers/net/wireless/intel/iwlwifi/dvm/rx.c        |   4 +-
 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c      |   6 +-
 drivers/net/wireless/intel/iwlwifi/dvm/scan.c      |   8 +-
 drivers/net/wireless/intel/iwlwifi/dvm/sta.c       |  22 +-
 drivers/net/wireless/intel/iwlwifi/dvm/tx.c        |   4 +-
 drivers/net/wireless/intel/iwlwifi/fw/acpi.c       |  20 +-
 drivers/net/wireless/intel/iwlwifi/fw/acpi.h       |   1 -
 .../net/wireless/intel/iwlwifi/fw/api/binding.h    |  16 +-
 .../net/wireless/intel/iwlwifi/fw/api/commands.h   |   6 +-
 drivers/net/wireless/intel/iwlwifi/fw/api/mac.h    |   2 +-
 .../net/wireless/intel/iwlwifi/fw/api/nvm-reg.h    |  13 +
 drivers/net/wireless/intel/iwlwifi/fw/api/rs.h     |   7 +-
 drivers/net/wireless/intel/iwlwifi/fw/api/sta.h    |   2 +-
 drivers/net/wireless/intel/iwlwifi/fw/api/stats.h  | 471 ++++++++++++++++++++-
 drivers/net/wireless/intel/iwlwifi/fw/file.h       |   9 +-
 drivers/net/wireless/intel/iwlwifi/fw/img.h        |   1 +
 drivers/net/wireless/intel/iwlwifi/fw/pnvm.c       | 274 ++++++++++++
 drivers/net/wireless/intel/iwlwifi/fw/pnvm.h       |  18 +
 drivers/net/wireless/intel/iwlwifi/iwl-config.h    |   1 +
 .../wireless/intel/iwlwifi/iwl-context-info-gen3.h |  21 +-
 .../net/wireless/intel/iwlwifi/iwl-context-info.h  |   7 +-
 drivers/net/wireless/intel/iwlwifi/iwl-drv.c       |  20 +-
 drivers/net/wireless/intel/iwlwifi/iwl-prph.h      |   1 +
 drivers/net/wireless/intel/iwlwifi/iwl-trans.c     |   2 +-
 drivers/net/wireless/intel/iwlwifi/iwl-trans.h     |  23 +
 drivers/net/wireless/intel/iwlwifi/mvm/binding.c   |  11 +-
 drivers/net/wireless/intel/iwlwifi/mvm/d3.c        |  21 +-
 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c   |   4 +-
 .../net/wireless/intel/iwlwifi/mvm/ftm-responder.c |  14 +-
 drivers/net/wireless/intel/iwlwifi/mvm/fw.c        | 123 ++++--
 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c  |   6 +-
 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c  |  54 ++-
 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h       |   8 +-
 drivers/net/wireless/intel/iwlwifi/mvm/ops.c       |  17 +-
 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c  |   7 +-
 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c     |   8 +-
 drivers/net/wireless/intel/iwlwifi/mvm/rx.c        | 197 ++++++---
 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c      |   2 +-
 drivers/net/wireless/intel/iwlwifi/mvm/scan.c      |  37 +-
 drivers/net/wireless/intel/iwlwifi/mvm/sta.c       |  33 +-
 drivers/net/wireless/intel/iwlwifi/mvm/sta.h       |   5 +-
 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c      |  12 +-
 .../net/wireless/intel/iwlwifi/mvm/time-event.c    |  49 ++-
 .../net/wireless/intel/iwlwifi/mvm/time-event.h    |   7 +-
 drivers/net/wireless/intel/iwlwifi/mvm/tt.c        |   4 +-
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c        |  22 +-
 drivers/net/wireless/intel/iwlwifi/mvm/utils.c     |   7 +-
 .../wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c   |  27 ++
 .../net/wireless/intel/iwlwifi/pcie/ctxt-info.c    |  21 +-
 drivers/net/wireless/intel/iwlwifi/pcie/drv.c      |   7 +-
 drivers/net/wireless/intel/iwlwifi/pcie/internal.h |   3 +
 drivers/net/wireless/intel/iwlwifi/pcie/trans.c    |   7 +
 drivers/net/wireless/intel/iwlwifi/pcie/tx.c       |   5 +
 drivers/net/wireless/marvell/mwifiex/sdio.c        |   2 +
 .../net/wireless/realtek/rtlwifi/rtl8192se/hw.c    |   2 +-
 .../net/wireless/realtek/rtlwifi/rtl8192se/rf.c    |   2 +-
 drivers/net/wireless/realtek/rtlwifi/wifi.h        |   1 -
 66 files changed, 1434 insertions(+), 314 deletions(-)
 create mode 100644 drivers/net/wireless/intel/iwlwifi/fw/pnvm.c
 create mode 100644 drivers/net/wireless/intel/iwlwifi/fw/pnvm.h

Comments

Jakub Kicinski Oct. 10, 2020, 4:51 p.m. UTC | #1
On Fri,  9 Oct 2020 16:07:59 +0000 (UTC) Kalle Valo wrote:
> Hi,
> 
> here's a pull request to net-next tree, more info below. Please let me know if
> there are any problems.
> 
> Kalle
> 
> The following changes since commit c2568c8c9e636a56abf31da4b28b65d3ded02524:
> 
>   Merge branch 'net-Constify-struct-genl_small_ops' (2020-10-04 21:13:36 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git tags/wireless-drivers-next-2020-10-09
> 
> for you to fetch changes up to b7d96bca1f004b5f26ee51ea9c9749a28dac8316:
> 
>   Revert "iwlwifi: remove wide_cmd_header field" (2020-10-09 18:04:50 +0300)

Pulled, thanks Kalle!

Intel folks - do you really need to pack all your structs? 
Do they come from the device unaligned or something?

+/**
+ * struct iwl_statistics_duration_ntfy
+ *
+ * @hdr: general statistics header
+ * @cont_burst_chk_cnt: number of times continuation or
+ *      fragmentation or bursting was checked
+ * @cont_burst_cnt: number of times continuation or fragmentation
+ *      or bursting was successful
+ * @wait_for_silence_timeout_cnt: ???
+ * @reserved: reserved
+ */
+struct iwl_statistics_duration_ntfy {
+       struct iwl_statistics_ntfy_hdr hdr;
+       __le32 cont_burst_chk_cnt;
+       __le32 cont_burst_cnt;
+       __le32 wait_for_silence_timeout_cnt;
+       __le32 reserved;
+} __packed; /* STATISTICS_DURATION_NTFY_API_S_VER_1 */