ap_bandwidth_set

Function ap_bandwidth_set 

pub unsafe extern "C" fn ap_bandwidth_set(
    idx: ApIndex,
    bandwidth: Bandwidth,
) -> c_int
Available on non-ag35 only.
Expand description

Set the WiFi configuration: HT or VHT capabilities (20MHz, 40MHz, 80MHz).

The wifi operation must be set to 802.11bgn/802.11an/802.11ac.

Returns 0 on success, -1 on error.