%% Write WLAN Interface Description Block to PCAPNG File
% Create a default PCAPNG file writer object.

pcapngObj = pcapngWriter('FileName','writeWLANinterface');

% Write the interface description block for WLAN.

interfaceName = 'WLAN';
wlanLinkType = 105;
interfaceId = writeInterfaceDescriptionBlock(pcapngObj,wlanLinkType, ...
    interfaceName);

% Copyright 2020 The MathWorks, Inc.