halmac_init_88xx.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
  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 _HALMAC_INIT_88XX_H_
  16. #define _HALMAC_INIT_88XX_H_
  17. #include "../halmac_api.h"
  18. #if HALMAC_88XX_SUPPORT
  19. enum halmac_ret_status
  20. register_api_88xx(struct halmac_adapter *adapter,
  21. struct halmac_api_registry *registry);
  22. void
  23. init_adapter_param_88xx(struct halmac_adapter *adapter);
  24. void
  25. init_adapter_dynamic_param_88xx(struct halmac_adapter *adapter);
  26. enum halmac_ret_status
  27. mount_api_88xx(struct halmac_adapter *adapter);
  28. enum halmac_ret_status
  29. pre_init_system_cfg_88xx(struct halmac_adapter *adapter);
  30. enum halmac_ret_status
  31. init_system_cfg_88xx(struct halmac_adapter *adapter);
  32. enum halmac_ret_status
  33. init_mac_cfg_88xx(struct halmac_adapter *adapter, enum halmac_trx_mode mode);
  34. enum halmac_ret_status
  35. reset_ofld_feature_88xx(struct halmac_adapter *adapter,
  36. enum halmac_feature_id feature_id);
  37. enum halmac_ret_status
  38. verify_platform_api_88xx(struct halmac_adapter *adapter);
  39. void
  40. tx_desc_chksum_88xx(struct halmac_adapter *adapter, u8 enable);
  41. enum halmac_ret_status
  42. pg_num_parser_88xx(struct halmac_adapter *adapter, enum halmac_trx_mode mode,
  43. struct halmac_pg_num *tbl);
  44. enum halmac_ret_status
  45. rqpn_parser_88xx(struct halmac_adapter *adapter, enum halmac_trx_mode mode,
  46. struct halmac_rqpn *tbl);
  47. void
  48. init_ofld_feature_state_machine_88xx(struct halmac_adapter *adapter);
  49. #endif /* HALMAC_88XX_SUPPORT */
  50. #endif/* _HALMAC_INIT_88XX_H_ */