]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: cfg80211: fix doc of struct key_params
authorChien Wong <m@xv97.com>
Fri, 7 Nov 2025 14:23:32 +0000 (22:23 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2025 09:39:14 +0000 (10:39 +0100)
The seq in struct key_params is for many ciphers, including CCMP, GCMP,
CMAC, GMAC. In addition to get_key(), it is also used when setting keys.

Signed-off-by: Chien Wong <m@xv97.com>
Link: https://patch.msgid.link/20251107142332.181308-1-m@xv97.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h

index 84be0cdd1da09ffd35fd7a7dff1906426add4a2f..d87c18e1b1334f39508fb53c3ec58053d13aefe9 100644 (file)
@@ -786,8 +786,7 @@ struct vif_params {
  * @key: key material
  * @key_len: length of key material
  * @cipher: cipher suite selector
- * @seq: sequence counter (IV/PN) for TKIP and CCMP keys, only used
- *     with the get_key() callback, must be in little endian,
+ * @seq: sequence counter (IV/PN), must be in little endian,
  *     length given by @seq_len.
  * @seq_len: length of @seq.
  * @vlan_id: vlan_id for VLAN group key (if nonzero)