Madwifi无线发送数据过程
来源:互联网 发布:网络连接错误651怎么办 编辑:程序博客网 时间:2024/06/13 13:42
数据发送过程:
The kernel calls ieee80211_hardstart() (dev->hard_start_xmit of the virtual interface) to transmit a packet, which in turn calls ath_hardstart() (dev_hard_start_xmit of the physical interface). The function ath_hardstart() encapsulates the ethernet packet into 802.11 packet. The function ath_tx_start() encrypts the packets if necessary, maps the skb to DMA buffer and selects a transmit queues acording the priority of the packets (QoS control). The function ath_tx_txqaddbuf() inserts the buffer into the selected transmit queue and calls the HAL function to start a transmission.
Management packets are generated within the 802.11 layer. They are transmitted from the function ieee80211_mgmt_output().
Beacon messages are trigered by HAL. When it's time to send a beacon, the HAL issues an interrupt, then the function ath_beacon_send() is invoked to send the beacon message. The beacon messages are directly passed to the HAL to transmit.
After the HAL successfully transmited a packet, an interrupt is generated (ath_intr()) to report the transmission of the packet as shown in the following figure. The function ath_tx_tasklet() updates infomation for this transmission. If there is a virtual interface working in monitor mode, the packet is passed to the monitor interface in function ath_tx_capture().
- Madwifi无线发送数据过程
- Madwifi无线发送数据过程
- madwifi无线网卡源代码阅读
- madwifi无线网卡源代码阅读
- RHEL4下安装Madwifi无线网卡驱动
- madwifi无线网卡驱动编译进内核
- socket数据发送过程
- nginx HTTP发送数据过程
- socket数据发送过程zz
- openWrt: 数据发送过程分析
- 串口收到数据到无线发射数据的过程
- eCos 网卡数据的发送、接受过程
- 数据在各程发送的过程
- 套接口Socket数据发送过程详解
- OpenWRT数据发送过程【Linux内核-OpenWRT】
- 【Netty源码分析】发送数据过程
- mailbox数据发送和接收的过程
- MSP430F5438无线温度发送
- [.NET] Intelligencia.UrlRewriter 2.0 配置
- 2012真是世界末日吗?感性趣的来看看!!
- LGPL协议。
- 宏定义的一些使用技巧总结
- James写的CodeSmith模板(二)
- Madwifi无线发送数据过程
- 李现路:在DSP6000中怎样编写您的第一个程序(二)
- 李现路:MTK开发中怎么建立一个独立的模块
- 李现路:DSP6000中C/C++语言和汇编语言的混合编程的方法
- usaco Chapter 3 section 3.1 Humble Numbers
- ORA-02243: ALTER INDEX 或 ALTER MATERIALIZED VIEW 选项无效
- 李现路:在DSP6000中怎样编写您的第一个程序(1)
- java生成doc html
- MySQL最多能装多少记录