1 --- wl-6.30.223.271/wl/src/wl/sys/wl_cfg80211_hybrid.c~ 2022-12-17 19:19:31.000000000 +0100
2 +++ wl-6.30.223.271/wl/src/wl/sys/wl_cfg80211_hybrid.c 2022-12-17 19:25:07.419529697 +0100
6 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
8 +static s32 wl_cfg80211_config_default_key(struct wiphy *wiphy,
9 + struct net_device *dev, int link_id, u8 key_idx, bool unicast, bool multicast);
11 static s32 wl_cfg80211_config_default_key(struct wiphy *wiphy,
12 struct net_device *dev, u8 key_idx, bool unicast, bool multicast);
15 static s32 wl_cfg80211_config_default_key(struct wiphy *wiphy,
16 struct net_device *dev, u8 key_idx);
18 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
19 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
20 +static s32 wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev, int link_id,
21 + u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params);
22 +static s32 wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev, int link_id,
23 + u8 key_idx, bool pairwise, const u8 *mac_addr);
24 +static s32 wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev, int link_id,
25 + u8 key_idx, bool pairwise, const u8 *mac_addr,
26 + void *cookie, void (*callback) (void *cookie, struct key_params *params));
28 static s32 wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
29 u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params);
30 static s32 wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
32 static s32 wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
33 u8 key_idx, bool pairwise, const u8 *mac_addr,
34 void *cookie, void (*callback) (void *cookie, struct key_params *params));
37 static s32 wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
38 u8 key_idx, const u8 *mac_addr, struct key_params *params);
39 @@ -1185,9 +1185,15 @@
42 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
43 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
45 +wl_cfg80211_config_default_key(struct wiphy *wiphy,
46 + struct net_device *dev, int link_id, u8 key_idx, bool unicast, bool multicast)
49 wl_cfg80211_config_default_key(struct wiphy *wiphy,
50 struct net_device *dev, u8 key_idx, bool unicast, bool multicast)
54 wl_cfg80211_config_default_key(struct wiphy *wiphy,
55 @@ -1210,9 +1216,15 @@
58 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
59 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
61 +wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev, int link_id,
62 + u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params)
65 wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
66 u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params)
70 wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
71 @@ -1331,9 +1343,15 @@
74 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
75 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
77 +wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev, int link_id,
78 + u8 key_idx, bool pairwise, const u8 *mac_addr)
81 wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
82 u8 key_idx, bool pairwise, const u8 *mac_addr)
86 wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
87 @@ -1374,10 +1392,17 @@
90 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
91 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
93 +wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev, int link_id,
94 + u8 key_idx, bool pairwise, const u8 *mac_addr, void *cookie,
95 + void (*callback) (void *cookie, struct key_params * params))
98 wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
99 u8 key_idx, bool pairwise, const u8 *mac_addr, void *cookie,
100 void (*callback) (void *cookie, struct key_params * params))
104 wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,