/* * Copyright (C) 2017 Rafał Miłecki <[email protected]> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <linux/of.h> #include <net/cfg80211.h> #include "core.h" static bool wiphy_freq_limits_valid_chan(struct wiphy *wiphy, struct ieee80211_freq_range *freq_limits, unsigned int n_freq_limits, struct ieee80211_channel *chan) { … } static void wiphy_freq_limits_apply(struct wiphy *wiphy, struct ieee80211_freq_range *freq_limits, unsigned int n_freq_limits) { … } void wiphy_read_of_freq_limits(struct wiphy *wiphy) { … } EXPORT_SYMBOL(…);