How Bandwidth allocation works in 802.11 Network using DCF for e.g

0

I'm studying how 802.11 dcf mode with CSMA/CA works but I got to a confusing point...

since DCF only one user can transmit successfully to an AP (receiver) (considering ideal case when exposed terminals and they don't transmit together at the same time)

so we are allocating the full bandwidth available in the receiver to that transmitting user ? so here how bandwidth allocation works if I have another user for example contending for the channel.

since there is only one user getting access to transmit what's the logic behind bandwidth allocation ?

thanks in advance. Kind Regards.

Alberto

Posted 2015-02-26T15:23:47.047

Reputation: 73

Answers

0

well, bandwidth doesn't get allocated so much as used, and DCF is used to determine whether a host can get dedicated access to a shared medium (in this case the channel) long enough to send its packet. Often we use the term 'bandwidth' incorrectly. Bandwidth is really a constant based on the network media. What you are really interested in is Transfer rate, which can loosely be defined as the amount of time the channel is yours to use exclusively times the actual width of the band the channel occupies.

Remember, at any given Nanosecond, exactly 0-1 host can be sending. There can never be two hosts transmitting at exactly the same nano, or a collision will occur, and hosts need to back off.

Just like with 802.3 (CSMA/CD) networks, when the medium is in use, its full bandwidth is being used (it is not possible to use less than 100%), and the different packets are being Time-sliced so that they can get access to the medium after waiting in line a second, so that other terminals can get their turn too.

From that perspective, the transfer rate you are referring to is the aggregation of the actual bandwidth X the amount of time its used. using a 10Mib pipe/channel for 1 second yields a " bandwidth" of 10Mib/s. The real question is, does it take 5 seconds in wall time to get 1 second of access to the wire? if that is the case, the channel has used 100% of its capacity for 5 seconds (10Mbps), but your terminal got only one second of the time [1/5 * (10Mbps)].

In Summation, these algorithms are NOT about allocating bandwidth. they are exclusively concerned about whether the channel is free so your terminal can use it this nano, without a collision.

Hope that helps clarify

Frank Thomas

Posted 2015-02-26T15:23:47.047

Reputation: 29 039

Thank you Frank.. your answer was great but according to what I know, when a user gets access to the medium he/she is allowed to send the whole packet independent of how much it will take of time. Is that right ? in addition could you please clarify why would 1 second access take 5 seconds real time ? Thanks a lot. – Alberto – 2015-02-27T10:34:27.133

CSMA/CD is all about how multiple potential senders determine how to share the media. When one is transmitting, the others must back off until the media is idle. The delay I'm speaking of is from collision detection to determine if it is safe to transmit, and to fix it if you do, and then a collision occurs. – Frank Thomas – 2015-02-27T13:54:27.687

0

On DCF each equipment tests the channel and if it's free, it simply transmits using all the bandwith available. The other equipments when sense that the channel is busy wait a random time before trying again.

To make it clear, I will use an example:

Imagine you are part of a group of people trying to give an speech on a dark room. You don't know how many people is in the room and don't know exactly when you have to start your speech.

When you hear a long silence you try to take that turn to give your speech and all the others don't have any choice than hear you because you are using all the "bandwith".

However, it can happen that you start at the same time that another one, so only one continues its speech (two speeches at the same time would be total confusion) and the other one waits for another long silence.

jcbermu

Posted 2015-02-26T15:23:47.047

Reputation: 15 868

Thanks a lot... I got this point. but I would like to know after that on the channel only one user is allowed to transmit at a time using DCF. so having the concept of available bandwidth how could it be divided among all users using that channel. and how can many users access symmetrically the channel as we see in charts showing many types of traffic together at the same time – Alberto – 2015-02-27T11:07:38.123

As the Media Access Control is CSMA/CA, only one user can transmit at a time. However the user is enabled to transmit only one frame (in a 11/Mbit/s network it will take around 1 ms) and wait for another chance to send the next frame. In a time frame of 1 second, multiple users have been able to use the network giving the impression that they are transmitting simultaneously. – jcbermu – 2015-02-27T11:37:10.323