Add no_cck parameter for send_action() driver_ops
This can be used to apply the no-CCK rule conditionally depending on which frame is being sent. The no-CCK rule applies only for P2P management frames while SA Query and FT use cases do not have similar restrictions. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
970fa12ea2
commit
b106173a82
10 changed files with 42 additions and 26 deletions
|
@ -1862,6 +1862,7 @@ struct wpa_driver_ops {
|
|||
* @bssid: BSSID (Address 3)
|
||||
* @data: Frame body
|
||||
* @data_len: data length in octets
|
||||
@ @no_cck: Whether CCK rates must not be used to transmit this frame
|
||||
* Returns: 0 on success, -1 on failure
|
||||
*
|
||||
* This command can be used to request the driver to transmit an action
|
||||
|
@ -1879,7 +1880,7 @@ struct wpa_driver_ops {
|
|||
*/
|
||||
int (*send_action)(void *priv, unsigned int freq, unsigned int wait,
|
||||
const u8 *dst, const u8 *src, const u8 *bssid,
|
||||
const u8 *data, size_t data_len);
|
||||
const u8 *data, size_t data_len, int no_cck);
|
||||
|
||||
/**
|
||||
* send_action_cancel_wait - Cancel action frame TX wait
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue