os_if_dp.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /**
  19. * DOC: os_if_dp.h
  20. *
  21. *
  22. */
  23. #ifndef __OSIF_DP_H__
  24. #define __OSIF_DP_H__
  25. #include "wlan_dp_public_struct.h"
  26. /**
  27. * osif_dp_classify_pkt() - classify packet
  28. * @skb - sk buff
  29. *
  30. * Return: None
  31. */
  32. void osif_dp_classify_pkt(struct sk_buff *skb);
  33. #ifdef WLAN_FEATURE_DP_BUS_BANDWIDTH
  34. void osif_dp_send_tcp_param_update_event(struct wlan_objmgr_psoc *psoc,
  35. void *data, uint8_t dir);
  36. #else
  37. static inline
  38. void osif_dp_send_tcp_param_update_event(struct wlan_objmgr_psoc *psoc,
  39. void *data, uint8_t dir)
  40. {
  41. }
  42. #endif /* WLAN_FEATURE_DP_BUS_BANDWIDTH */
  43. #endif /* __OSIF_DP_H__ */