Add support for various key operations on MLD by adding new parameter
link_id. Pass the link_id received from userspace to driver for add_key,
get_key, del_key, set_default_key, set_default_mgmt_key and
set_default_beacon_key to support configuring keys specific to each MLO
link. Userspace must not specify link ID for MLO pairwise key since it
is common for all the MLO links.
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Bug: 241223350
Change-Id: I5dc861b57cf40f1dd2fab070e3c82161426df36a
Link: https://lore.kernel.org/linux-wireless/20220730052643.1959111-4-quic_vjakkam@quicinc.com/
[quic_vjakkam: Resolved minor conflict in drivers/net/wireless/microchip/wilc1000/cfg80211.c ]
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
(cherry picked from commit af6d390801)
TODO: - checkpatch.pl cleanups - sparse warnings - move to use the in-kernel wireless stack Please send any patches or complaints about this driver to Greg Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless kernel developers about it, they want nothing to do with it.