Code covered by the BSD License  

Highlights from
802.11g wlan phy model

5.0

5.0 | 2 ratings Rate this file 45 Downloads (last 30 days) File Size: 229 KB File ID: #38073
image thumbnail

802.11g wlan phy model

by

 

10 Sep 2012 (Updated )

It is a modified version 802.11a

| Watch this File

File Information
Description

Modulator has been initialized as

% number of bits per symbol

switch modulation

                case 'BPSK', Nb1 = 1;

                case 'QPSK', Nb1 = 2;

                case '16-QAM', Nb1 = 4;

                case '64-QAM', Nb1 = 6;

    case 'DQPSK', Nb1 = 8;

    case 'OQPSK', Nb1 = 16;

end

modOrder = 2.^Nb1;

Nb = numSymbols * Nb1; % tx bits per block

codeRate = str2num(strvcat(code)).';

bitsPerBlock = Nb .* codeRate;

% interleaver

interleaverRows = 16;

if rem(Nb, interleaverRows)

                error('Number of transmitted bits per block must be multiple of 16.')

end

interleaverCols = Nb / interleaverRows;

interleaverElements = [...

            2*floor( [0:Nb-1]/2 ) + ...

            mod( ([0:Nb-1] + Nb - floor( interleaverRows*[0:Nb-1]/Nb ) ), 2 ) ...

            + 1]';

The models looks like 802.11a but parameters used here are for 802.11g

Required Products Simulink
MATLAB release MATLAB 7.14 (R2012a)
Other requirements signal processing toolbox
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
10 Mar 2013 sai

First of all thank you for the file. What parameters are to be changed for differentiating 802.11g with 802.11a and how should i change them. I am relatively new to Simulink. Please help.

26 Dec 2012 Yaser

Appreciated, god bless you, as I commented before, a little bit of explanation is mandatory, some visitors of fileexchange are new researcher and your files with a little details really help them

Updates
24 Sep 2012

the model is modified to be used with matlab 2010a

Contact us