pub type wifi_action_rx_cb_t = Option<unsafe extern "C" fn(hdr: *mut u8, payload: *mut u8, len: usize, channel: u8) -> c_int>;
Expand description

@brief The Rx callback function of Action Tx operations

@param hdr pointer to the IEEE 802.11 Header structure @param payload pointer to the Payload following 802.11 Header @param len length of the Payload @param channel channel number the frame is received on

Aliased Type§

enum wifi_action_rx_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut u8, _: *mut u8, _: usize, _: u8) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut u8, _: *mut u8, _: usize, _: u8) -> i32)

Some value of type T.