/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2009-2012 Realtek Corporation.*/ #ifndef __RTL_REGD_H__ #define __RTL_REGD_H__ /* for kernel 3.14 , both value are changed to IEEE80211_CHAN_NO_IR*/ #define IEEE80211_CHAN_NO_IBSS … #define IEEE80211_CHAN_PASSIVE_SCAN … struct country_code_to_enum_rd { … }; enum country_code_type_t { … }; int rtl_regd_init(struct ieee80211_hw *hw, void (*reg_notifier) (struct wiphy *wiphy, struct regulatory_request *request)); void rtl_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request); #endif