diff options
| author | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2026-07-14 17:02:04 +0300 |
|---|---|---|
| committer | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2026-07-15 20:52:42 +0300 |
| commit | 478cad8bba59e8ee0e08d49edabf14bf1fbde5e4 (patch) | |
| tree | f78846afdb320dececb52f1b04b44890b8d0f88c /tools/perf/scripts/python/netdev-times.py | |
| parent | f051995c539582b05276abda4c5874fd4cafd2a5 (diff) | |
wifi: iwlwifi: add a compile time check for too long hcmds
A host command that is bigger than the allowed payload length should be
sent with the NOCOPY flag. If it is sent without, we will get a warning.
We do know at compile time what is the maximum size of a hcmd payload that
the transport supports, so in order to catch bugs early,
add a compile time check to iwl_*_send_cmd_pdu to catch that.
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20260714165826.a549b9499e3e.Id1a95bbbf92b5862862becaf57419bb9fe1385e5@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
