802.11协议中帧控制域中To DS and From DS 比特位的含义

1. Does the Stations have knowledge about the Distribution 
System the AP is connected to ?

2. are the FromDS and ToDS bits in the Frame Control Field of the 
802.11 MAC header of data frames, set/reset only by the AP or 
even by the Stations ?

the wireless NIC need not know abt DS.
from/to DS field is set by the tx, both AP and NIC.

A good way to conform YOUR queries is to have and AP and NIC talk and sniff the wireless packets.

          在802.11中的帧有三种类型:管理帧(Management Frame,例如Beacon帧、Association帧)、控制帧(Control Frame,例如RTS帧、CTS帧、ACK帧)、数据帧(Data Frame,承载数据的载体,其中的DS字段用来标识方向很重要)。帧头部中的类型字段中会标识出该帧属于哪个字段。

      Data Frame具有方向,这个方向用DS(分布式系统)字段来标识,以区分不同类型帧中关于地址的解析方式;其它的类型Frame例如Control Frame或者管理帧中,这个字段是全零。这个字段用两位表示,这两个位的含义分别表示“To Ds”和“From Ds”,大致含义如下:

        (a)To DS:表示Station->AP,一般也叫Upload。

        (b)From DS表示AP->Station,一般也叫Download。

        这里,我们可以大致将DS看做AP,To/From是从AP的角度来考虑的。To DS就是让AP干活。另外Data Frame中还有一个比较重要的字段就是Sequence,表示帧的序号。重传帧序号一样,但是多了一个Retry的字段表示该帧是重传的。

        为了便于理解,这里再次详细解释一下DS字段的含义:

        To DS=0,From DS=0:表示Station之间的AD Hoc类似的通信,或者控制侦、管理侦。

        To DS=0,From DS=1:Station接收的帧。

        To DS=1,From DS = 0:Station发送的帧。

        To DS=1,From DS = 1:无线桥接器上的数据帧。

        这里,我们主要关注To DS和From DS分别是01和10的情况,DS虽然大致等于AP但是它不是AP,它其实是一个系统,从Station的角度来看,比较容易理解。并且To DS和From DS一定是无线网络上面数据帧才有的字段。

猜你喜欢

转载自blog.csdn.net/zwl1584671413/article/details/80226384
DS