wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
offchannel.h
Go to the documentation of this file.
1 
6 #ifndef OFFCHANNEL_H
7 #define OFFCHANNEL_H
8 
9 int offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq,
10  const u8 *dst, const u8 *src, const u8 *bssid,
11  const u8 *buf, size_t len, unsigned int wait_time,
12  void (*tx_cb)(struct wpa_supplicant *wpa_s,
13  unsigned int freq, const u8 *dst,
14  const u8 *src, const u8 *bssid,
15  const u8 *data, size_t data_len,
17  result),
18  int no_cck);
21  unsigned int freq, unsigned int duration);
23  unsigned int freq);
24 void offchannel_deinit(struct wpa_supplicant *wpa_s);
26  struct wpa_supplicant *wpa_s, const u8 *dst, const u8 *data,
27  size_t data_len, enum offchannel_send_action_result result);
28 const void * offchannel_pending_action_tx(struct wpa_supplicant *wpa_s);
30 
31 #endif /* OFFCHANNEL_H */
void offchannel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, unsigned int freq, unsigned int duration)
Remain-on-channel callback function.
Definition: offchannel.c:381
void offchannel_clear_pending_action_tx(struct wpa_supplicant *wpa_s)
Clear pending Action frame TX.
Definition: offchannel.c:425
void offchannel_send_action_done(struct wpa_supplicant *wpa_s)
Notify completion of Action frame sequence.
Definition: offchannel.c:351
offchannel_send_action_result
Result of offchannel send Action frame.
Definition: wpa_supplicant_i.h:378
int offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *buf, size_t len, unsigned int wait_time, void(*tx_cb)(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, enum offchannel_send_action_resultresult), int no_cck)
Request off-channel Action frame TX.
Definition: offchannel.c:229
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
void offchannel_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, unsigned int freq)
Remain-on-channel stopped callback.
Definition: offchannel.c:398
void offchannel_send_action_tx_status(struct wpa_supplicant *wpa_s, const u8 *dst, const u8 *data, size_t data_len, enum offchannel_send_action_result result)
TX status callback.
Definition: offchannel.c:153
const void * offchannel_pending_action_tx(struct wpa_supplicant *wpa_s)
Check whether there is a pending Action TX.
Definition: offchannel.c:415
void offchannel_deinit(struct wpa_supplicant *wpa_s)
Deinit off-channel operations.
Definition: offchannel.c:439