%% Generate RTS MAC Frame in Bit Format
% Create a wlanMACFrameConfig object for an RTS MAC frame. Generate the RTS MAC frame in bit format.

macConfig = wlanMACFrameConfig('FrameType','RTS');
[frame,frameLength] = wlanMACFrame(macConfig,'OutputFormat','bits');

% Copyright 2019 The MathWorks, Inc.