1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- static inline void
- cdp_set_ocb_chan_info(ol_txrx_soc_handle soc, void *vdev,
- struct ol_txrx_ocb_set_chan ocb_set_chan)
- {
- if (!soc || !soc->ops || !soc->ops->ocb_ops) {
- QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
- "%s invalid instance", __func__);
- return;
- }
- if (soc->ops->ocb_ops->set_ocb_chan_info)
- return soc->ops->ocb_ops->set_ocb_chan_info(vdev,
- ocb_set_chan);
- return;
- }
- static inline struct ol_txrx_ocb_chan_info *
- cdp_get_ocb_chan_info(ol_txrx_soc_handle soc, void *vdev)
- {
- if (!soc || !soc->ops || !soc->ops->ocb_ops) {
- QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
- "%s invalid instance", __func__);
- return NULL;
- }
- if (soc->ops->ocb_ops->get_ocb_chan_info)
- return soc->ops->ocb_ops->get_ocb_chan_info(vdev);
- return NULL;
- }
|