关于mac80211



mac80211是一个框架,驱动程序开发人员可以使用它来编写SoftMAC无线设备的驱动程序。

SoftMAC设备允许对硬件进行更精细的控制,允许在软件中实现802.11帧管理,包括解析和生成802.11无线帧。今天大多数的802.11设备往往是这种类型的,FullMAC设备已经变得稀少。

mac80211为SoftMAC设备实现cfg80211回调,mac80211依靠cfg80211来注册到网络子系统和配置。 配置是通过cfg80211处理,可以通过nl80211和wireless extensions。
在mac80211中MLME在station 模式(STA )下是在内核中实现的,AP模式( hostapd )下是在用户空间实现的。

如果你有支持nl80211的新的用户空间的应用程序,那你不需要wireless-extensions来支持mac80211设备。


支持的功能

下面是mac80211支持的功能的一个快照。

  • IEEE 802.11abgn
  • IEEE 802.11d
  • Integration of work for the emerging 802.11s standard
  • Roaming using wpa_supplicant (802.11r as well). SeeRoaming TODO section for more details
  • Different types of interfaces, see supported wireless modes for details.
  • Vendor specific rate support
  • QoS
  • all mac80211 drivers get monitor mode support