Package: android.hardware.wifi@1.2

IWifiChipEventCallback

interface IWifiChipEventCallback extends @1.0::IWifiChipEventCallback

Wifi chip event callbacks.

Properties

IfaceInfo

struct IfaceInfo {string name; uint32_t channel}

Struct describing the state of each iface operating on the radio chain(hardware MAC)on the device.

Details
Members
name
Name of the interface(For ex:"wlan0").
channel
Wifi channel on which this interface is operating.

RadioModeInfo

struct RadioModeInfo {uint32_t radioId; WifiBand bandInfo; vec ifaceInfos}

Struct describing the state of each hardware radio chain(hardware MAC)on the device.

Details
Members
radioId
Identifier for this radio chain.This is vendor dependent & used only for debugging purposes.
bandInfo
List of bands on which this radio chain is operating.Can be one of:a)WifiBand.BAND_24GHZ =>2.4Ghz.b)WifiBand.BAND_5GHZ =>5Ghz.c)WifiBand.BAND_24GHZ_5GHZ = 2.4Ghz + 5Ghz(Radio is time sharing across the 2 bands).
ifaceInfos
List of interfaces on this radio chain(hardware MAC).

Methods

onRadioModeChange

oneway onRadioModeChange (vec<RadioModeInfo> radioModeInfos)

Asynchronous callback indicating a radio mode change.Radio mode change could be a result of:a)Bringing up concurrent interfaces(For ex:STA + AP). b)Change in operating band of one of the concurrent interfaces(For ex:STA connection moved from 2.4G to 5G)

Details
RPC mode
oneway
Parameters
radioModeInfos
List of RadioModeInfo structures for each radio chain(hardware MAC)on the device.