(The structure of madwifi mainly has three layers, hal is the hardware layer, then the ath layer, and the 802.11 layer above it. The main ones in the comprehensive madwifi source code are the hal folder (hardware), the ath folder, and the ath_rate folder ( Dynamically adjust the three algorithms of txrate, default to use sample), net80211 folder (802.11 protocol related), tools folder (some tools))