--- zzzz-none-000/linux-5.15.111/net/wireless/rdev-ops.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/net/wireless/rdev-ops.h 2024-02-07 10:23:31.000000000 +0000 @@ -171,6 +171,7 @@ return ret; } +#ifndef CFG80211_PROP_MULTI_LINK_SUPPORT static inline int rdev_stop_ap(struct cfg80211_registered_device *rdev, struct net_device *dev) { @@ -180,6 +181,19 @@ trace_rdev_return_int(&rdev->wiphy, ret); return ret; } +#else /* CFG80211_PROP_MULTI_LINK_SUPPORT */ +static inline int rdev_stop_ap(struct cfg80211_registered_device *rdev, + struct net_device *dev, + struct cfg80211_ap_settings *settings) +{ + int ret; + + trace_rdev_stop_ap(&rdev->wiphy, dev); + ret = rdev->ops->stop_ap(&rdev->wiphy, dev, settings); + trace_rdev_return_int(&rdev->wiphy, ret); + return ret; +} +#endif /* CFG80211_PROP_MULTI_LINK_SUPPORT */ static inline int rdev_add_station(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *mac, @@ -1379,6 +1393,20 @@ trace_rdev_return_int(&rdev->wiphy, ret); return ret; +} + +static inline int +rdev_set_fils_aad(struct cfg80211_registered_device *rdev, + struct net_device *dev, struct cfg80211_fils_aad *fils_aad) +{ + int ret = -EOPNOTSUPP; + + trace_rdev_set_fils_aad(&rdev->wiphy, dev, fils_aad); + if (rdev->ops->set_fils_aad) + ret = rdev->ops->set_fils_aad(&rdev->wiphy, dev, fils_aad); + trace_rdev_return_int(&rdev->wiphy, ret); + + return ret; } #endif /* __CFG80211_RDEV_OPS */