1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-09-20 05:00:36 +00:00
rtl8812au/include/rtw_wifi_regd.h

21 lines
630 B
C
Raw Normal View History

/******************************************************************************
*
* Copyright(c) 2009-2010 Realtek Corporation.
*
*****************************************************************************/
#ifndef __RTW_WIFI_REGD_H__
2018-03-20 10:56:31 +00:00
#define __RTW_WIFI_REGD_H__
2018-03-08 11:12:53 +00:00
int rtw_regd_init(_adapter *padapter);
void rtw_reg_notify_by_driver(_adapter *adapter);
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0))
#define ieee80211_band nl80211_band
#define IEEE80211_BAND_2GHZ NL80211_BAND_2GHZ
#define IEEE80211_BAND_5GHZ NL80211_BAND_5GHZ
#define IEEE80211_NUM_BANDS NUM_NL80211_BANDS
#endif
#endif /* __RTW_WIFI_REGD_H__ */