当前位置: 技术问答>linux和unix
802.3与802.11协议的转换
来源: 互联网 发布时间:2015-10-29
本文导语: 哪位能介绍点相关的资料呀,多谢 | 不清楚,帮你贴点东西: Like I said, there are three cases in the 802.11->802.3 conversion 1) Full encapsulation - in the 802.11 payload is a complete 802.3 frame 2) ...
哪位能介绍点相关的资料呀,多谢
|
不清楚,帮你贴点东西:
Like I said, there are three cases in the 802.11->802.3 conversion
1) Full encapsulation
- in the 802.11 payload is a complete 802.3 frame
2) LLC, with a recognized protocol type
- strip off all headers, and stick a 802.3 header on the payload
with the correct frame type.
3) LLC, with an unrecognized protocol type
- strip off the 802.11 header, stick on a 802.3 header.
For 802.3->802.11, it's much simpler:
1) Full encapsulation (not normally used)
- Wrap a 802.11 header around the 802.3 frame.
2) LLC present
- strip off the 802.3 header, slap on a 802.11 header
3) No LLC:
- strip off the 802.3 header, slap on LLC and then 802.11.
Like I said, there are three cases in the 802.11->802.3 conversion
1) Full encapsulation
- in the 802.11 payload is a complete 802.3 frame
2) LLC, with a recognized protocol type
- strip off all headers, and stick a 802.3 header on the payload
with the correct frame type.
3) LLC, with an unrecognized protocol type
- strip off the 802.11 header, stick on a 802.3 header.
For 802.3->802.11, it's much simpler:
1) Full encapsulation (not normally used)
- Wrap a 802.11 header around the 802.3 frame.
2) LLC present
- strip off the 802.3 header, slap on a 802.11 header
3) No LLC:
- strip off the 802.3 header, slap on LLC and then 802.11.
|
LAN/802.3 Linux Bridge LAN/802.11, Is that easy?
|
802.3->802.11, 转换主要是将ethernet头改为802.11的头格式, 后面的IP+TCP/UDP/ICMP/IGMP等等都不用变换的, 然后发送出去
802.11->802.3 将802.11头去掉封装上ethernet头就可以了的
至于是否要考虑mac帧数据的最小及最大(MTU)长度,这个问题是一定需要考虑的。
802.11->802.3 将802.11头去掉封装上ethernet头就可以了的
至于是否要考虑mac帧数据的最小及最大(MTU)长度,这个问题是一定需要考虑的。