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:
nakul kachhwaha
2020-05-15 12:47:26 +05:30
committed by nshrivas
parent cb709cad18
commit c5cdd1eaaf
12 changed files with 577 additions and 97 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -170,4 +170,16 @@ qdf_str_ncmp(const char *str1, const char *str2, qdf_size_t limit)
return __qdf_str_ncmp(str1, str2, limit);
}
/**
* qdf_str_sep - extract token from string
* @str: String buffer
* @delim: Delimitter
* Return: Pointer to the first token
*
*/
static inline char *qdf_str_sep(char **str, char *delim)
{
return __qdf_str_sep(str, delim);
}
#endif /* __QDF_STR_H */