NetworkTraffic.c 742 B

12345678910111213141516171819202122232425262728293031323334
  1. /*====================================================================*
  2. *
  3. * Copyright (c) 2013 Qualcomm Atheros, Inc.
  4. *
  5. * All rights reserved.
  6. *
  7. *====================================================================*/
  8. /*====================================================================*
  9. *
  10. * signed NetworkTraffic (struct plc * plc);
  11. *
  12. * plc.h
  13. *
  14. * Contributor(s):
  15. * Charles Maier <cmaier@qca.qualcomm.com>
  16. *
  17. *--------------------------------------------------------------------*/
  18. #ifndef NETWORKTRAFFIC_SOURCE
  19. #define NETWORKTRAFFIC_SOURCE
  20. #include "../plc/plc.h"
  21. signed NetworkTraffic (struct plc * plc)
  22. {
  23. return ((plc->hardwareID < CHIPSET_AR7400)? NetworkTraffic1 (plc): NetworkTraffic2 (plc));
  24. }
  25. #endif