pub unsafe extern "C" fn queue_create(
    queue_len: u32,
    item_size: u32,
) -> *mut crate::binary::c_types::c_void {
    // TODO remove this once fixed in esp_supplicant AND we updated to the fixed
    // version - JIRA: WIFI-6676
    let (queue_len, item_size) = if queue_len != 3 && item_size != 4 {
        (queue_len, item_size)
    } else {
        warn!("Fixing queue item_size");
        (3, 8)
    };

    create_queue(queue_len as i32, item_size as i32).cast()
}
**************************************************************************
Name: esp_queue_create

Description:
Create message queue

Input Parameters:
queue_len - queue message number
item_size - message size

Returned Value:
Message queue data pointer

*************************************************************************
esp-wifi/src/wifi/os_adapter.rs