mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
frame-xchg: Add frame_xchg_start
This commit is contained in:
parent
e6de4b10ad
commit
e7e597c876
@ -1071,6 +1071,19 @@ static bool frame_xchg_match(const void *a, const void *b)
|
||||
* @resp_timeout was 0. @frame is an iovec array terminated by an iovec
|
||||
* struct with NULL-iov_base.
|
||||
*/
|
||||
void frame_xchg_start(uint64_t wdev_id, struct iovec *frame, uint32_t freq,
|
||||
unsigned int retry_interval, unsigned int resp_timeout,
|
||||
unsigned int retries_on_ack, uint32_t group_id,
|
||||
frame_xchg_cb_t cb, void *user_data, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
va_start(args, user_data);
|
||||
frame_xchg_startv(wdev_id, frame, freq, retry_interval, resp_timeout,
|
||||
retries_on_ack, group_id, cb, user_data, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
void frame_xchg_startv(uint64_t wdev_id, struct iovec *frame, uint32_t freq,
|
||||
unsigned int retry_interval, unsigned int resp_timeout,
|
||||
unsigned int retries_on_ack, uint32_t group_id,
|
||||
|
@ -43,6 +43,10 @@ bool frame_watch_add(uint64_t wdev_id, uint32_t group, uint16_t frame_type,
|
||||
bool frame_watch_group_remove(uint64_t wdev_id, uint32_t group);
|
||||
bool frame_watch_wdev_remove(uint64_t wdev_id);
|
||||
|
||||
void frame_xchg_start(uint64_t wdev_id, struct iovec *frame, uint32_t freq,
|
||||
unsigned int retry_interval, unsigned int resp_timeout,
|
||||
unsigned int retries_on_ack, uint32_t group_id,
|
||||
frame_xchg_cb_t cb, void *user_data, ...);
|
||||
void frame_xchg_startv(uint64_t wdev_id, struct iovec *frame, uint32_t freq,
|
||||
unsigned int retry_interval, unsigned int resp_timeout,
|
||||
unsigned int retries_on_ack, uint32_t group_id,
|
||||
|
Loading…
Reference in New Issue
Block a user