rtw_wifi_regd.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2009-2010 - 2017 Realtek Corporation.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of version 2 of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. *****************************************************************************/
  15. #ifndef __RTW_WIFI_REGD_H__
  16. #define __RTW_WIFI_REGD_H__
  17. struct country_code_to_enum_rd {
  18. u16 countrycode;
  19. const char *iso_name;
  20. };
  21. enum country_code_type_t {
  22. COUNTRY_CODE_USER = 0,
  23. /*add new channel plan above this line */
  24. COUNTRY_CODE_MAX
  25. };
  26. void rtw_regd_apply_flags(struct wiphy *wiphy);
  27. int rtw_regd_init(struct wiphy *wiphy);
  28. #endif /* __RTW_WIFI_REGD_H__ */