diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-07-08 17:14:09 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-07-08 17:14:09 +0000 |
commit | 5567198ca88f3dba5a0f0e7c868b16205e887bf8 (patch) | |
tree | 9ff5ca7b8cf4fe28b39ffc9d34847008baf15c7a /sys/dev/pci/if_iwmvar.h | |
parent | 2d0a28dcbb3a4b0f4d9c6f71f779c85587aef96a (diff) |
Support MCC update response used by newer iwm(4) firmware, and verify
the size of the response we receive for MCC_UPDATE commands (even
though we aren't doing anything with this response yet).
With the correct expected response length this time. The driver needs
to expect the maximum response size, not sizeof() the response struct.
The actual response size depends on the number of channels stored
in the "world" regulatory profile of the device.
ok sthen@
Diffstat (limited to 'sys/dev/pci/if_iwmvar.h')
-rw-r--r-- | sys/dev/pci/if_iwmvar.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwmvar.h b/sys/dev/pci/if_iwmvar.h index 7d921776bd7..bcda8e90146 100644 --- a/sys/dev/pci/if_iwmvar.h +++ b/sys/dev/pci/if_iwmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwmvar.h,v 1.68 2021/07/08 00:12:49 stsp Exp $ */ +/* $OpenBSD: if_iwmvar.h,v 1.69 2021/07/08 17:14:08 stsp Exp $ */ /* * Copyright (c) 2014 genua mbh <info@genua.de> @@ -548,7 +548,6 @@ struct iwm_softc { #define IWM_MAX_FW_CMD_VERSIONS 64 struct iwm_fw_cmd_version cmd_versions[IWM_MAX_FW_CMD_VERSIONS]; int n_cmd_versions; - char sc_fw_mcc[3]; int sc_intmask; int sc_flags; |