Skip to contentSkip to conversation

wifi: cfg80211: fix doc of struct key_params

PATCH New Chien Wong 1 participant 1 message Nov 7, 2025 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore

Chien Wong

author
#0 lore raw

PATCH 1/1 wifi: cfg80211: fix doc of struct key_params

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.

---
 include/net/cfg80211.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/net/cfg80211.h +1 -2
index f2e8963cfaac..67be17f80ac7 100644
@@ -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)
Signature · 1 line
2.51.2