qcacmn: iot_sim add support for drop operation
Adding support for iot_sim drop operation. Drop operation will be handled in Rx direction. Change-Id: If2e1c9663a69fcd16715cdd1d28639a388ea1c0c CRs-Fixed: 2686309
This commit is contained in:

committed by
nshrivas

parent
cb709cad18
commit
c5cdd1eaaf
@@ -28,10 +28,12 @@ struct wmi_iot_sim_cmd_ops;
|
||||
* iot_sim_cmd_handler() - IOT SIM frame handler function
|
||||
* @vdev - vdev object.
|
||||
* @buf - skb
|
||||
* @tx - TRUE in case of Tx
|
||||
*
|
||||
* Return : QDF_STATUS_E_SUCCESS/QDF_STATUS_E_FAILURE.
|
||||
*/
|
||||
QDF_STATUS iot_sim_cmd_handler(struct wlan_objmgr_vdev *vdev, qdf_nbuf_t buf);
|
||||
QDF_STATUS iot_sim_cmd_handler(struct wlan_objmgr_vdev *vdev, qdf_nbuf_t buf,
|
||||
bool tx);
|
||||
|
||||
/**
|
||||
* wlan_iot_sim_init() - API to init iot_sim component
|
||||
|
@@ -23,11 +23,12 @@
|
||||
|
||||
#define IEEE80211_FRAME_BODY_OFFSET 0x18
|
||||
|
||||
QDF_STATUS iot_sim_cmd_handler(struct wlan_objmgr_vdev *vdev, qdf_nbuf_t nbuf)
|
||||
QDF_STATUS iot_sim_cmd_handler(struct wlan_objmgr_vdev *vdev, qdf_nbuf_t nbuf,
|
||||
bool tx)
|
||||
{
|
||||
struct wlan_objmgr_pdev *pdev = vdev->vdev_objmgr.wlan_pdev;
|
||||
|
||||
return iot_sim_frame_update(pdev, nbuf);
|
||||
return iot_sim_frame_update(pdev, nbuf, tx);
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
|
Reference in New Issue
Block a user