%% Generate RTS MAC Frame
% Create a wlanMACFrameConfig object for a request-to-send (RTS) MAC frame. Generate the frame by calling the wlanMACFrame function and display the result.

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

%
% Copyright 2018 The MathWorks, Inc.