WEXT/mac80211/nl80211/cfg80211

2011-07-29  来源:本站原创  分类:OS  人气:83 

  • Wireless-Extensions - an old wireless driver framework
  • mac80211 - driven service API for the softMAC
  • cfg80211 - the new configuration API
  • nl80211 - new user control <-> kernel space communication

The basic schematic component interactions
[Wireless Card]
|
[Linux Kernel]
| |
[Udev] [libnl] - [iw]
| / \
[Crda] \
| \
[Wireless] |
[Regulatory] |​​
[Database] |
|
|
[Hostapd]
Understand what each part is done
Wireless Card: Should be self explanitory ... handles sending / receiving wireless packets
Wireless: Operating receiver / wireless package developed
Linux Kernel: The linux kernel contains the driver for the wireless card, the mac80211 subsystem which handles packet generation and scheduling, and the nl80211 subsystem, which handles configuring the wireless interfaces for userspace
linux kernel: linux-core includes the wireless network Shu driver, mac80211 sub- system handling packet generation and scheduling. nl80211 processing in user space configuration wireless interface cfg80211
libnl: libnl is the transport layer used to communicate with the kernel via netlink
libnl: dialogue with the kernel via netlink transport layer
udev: udev is the facility the kernel uses to pass events / calls to crda
udev: udev is the kernel through the events / calls to crda facilities
iw: iw is a userspace utility that we can use to test that libnl is working correctly, as well as create additional virtual wireless interfaces on the wireless card
iw: is used to test libnl is working, and wireless network card to create additional user-space virtual wireless interface tool .
crda: crda is a userspace program that the kernel queries (through udev) to find what channels / frequencies are usable, and at what powers. This moves the information out of static tables maintained in kernel to userspace, which allows them to be updated without reloading drivers / rebooting
crda: is the kernel by udev to find what band / frequency to be effective, at what intensity the user space program. The kernel maintains a static table from the user space to move, it can not override the case of drive and restart the update.
Wireless Regulatory Database: database of allowable frequencies and transmit power levels used by crda
Wireless control database: crda used to allow the frequency and intensity level of the database transfer
hostapd: This is the daemon that handles generation of beacons and other wireless packets, as wel as wpa-psk, wpa2, etc encryptions.
hostapd: This is used to operate the wireless signal generation and other packages, and wpa-psk, wpa2 encryption daemon, etc.
softMAC is a wireless network Shu used to describe the type of a term.

相关文章
  • WEXT/mac80211/nl80211/cfg80211 2011-07-29

    Wireless-Extensions - an old wireless driver framework mac80211 - driven service API for the softMAC cfg80211 - the new configuration API nl80211 - new user control <-> kernel space communication The basic schematic component interactions [Wireless

  • Ubuntu install nl80211 and rt2x00 wireless network card driver 2010-10-24

    Getting compat-wireless on Ubuntu With Ubuntu you have the option of either installing compat-wireless yourself or of installing the package that provides it built by the Ubuntu kernel team. The Ubuntu package that carries compat-wireless is called l

  • Ubuntu installed nl80211 and rt2x00 wireless network card driver 2010-10-24

    Getting compat-wireless on Ubuntu With Ubuntu you have the option of either installing compat-wireless yourself or of installing the package that provides it built by the Ubuntu kernel team. The Ubuntu package that carries compat-wireless is called l

  • linux 无线网卡设置(加载驱动)-Broadcom网卡通用 2012-06-29

    我的笔记本是acer的,装上fedora16 后发现无线不能用.幸好有线能用,就在网上查相关资料说是可以通过 "ndiswrapper"模拟运行windows下的驱动,但是试了几次没有成功,可能是驱动对不上号吧.然后在windows下用驱动精灵查看无线网卡型号为Broadcom Corporation,于是乎就去官网查找这个驱动了. 网址为:http://www.broadcom.com/support/802.11/linux_sta.php 下面是我解决的过程: 首先,通过上面网址

  • fedora系统管理之lsmod命令 2013-05-24

    Preface 最近这几天将自己笔记本操作系统彻底的换成了fedora,这一次决定要彻底的远离windows系统.最早接触linux系统还是大一那会,非常清晰的记得当时最先接触的是ubuntu,刚接触就对linux非常入迷,可惜大学期间没有好好的珍惜学习机会,没有深入的了解linux.那会激情非常高涨,刚开始接触ubuntu就想着要彻底的远离windows,把当时新买的本本硬盘全格式化了,完全安装ubuntu.但是没过几天,由于对linux系统的各种陌生,平时的各种需求都离不开windows,另

  • CentOS上Broadcom无线网卡驱动安装 2013-05-30

    今天装了CentOS 6.3,结果发现无线网卡不能识别..官网上说,CentOS不支持BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225, BCM43227 和 BCM43228芯片的无线网卡.解决方法如下. 1. 查看无线网卡芯片 首先要确认是否是Broadcom BCM43XX系列的芯片: 1 [[email protected]~]$ /sbin/lspci | grep Broadcom 2 0b:00.0Network con

  • pcduino上移植rt5370 softAP驱动 2013-07-02

    先做一些说明: 1,现在新版的pcDuino上面已经自带了rt5370驱动,但是那个是rt5370sta;只支持ad-hoc(点对点): 2,雷凌公司官网上并不提供开源的rt5370驱动,但是在Linux3.0以后的内核中已经集成了rt5xxx的驱动: 通过以上说明知道,这里需要配置内核让内核支持rt5370 softAP驱动,然后设置系统不让系统自动加载rt5370sta驱动. 内核配置过程如下: /home/pillar/WORK/kernel/build/sun4i_defconfig-l

  • 在pcDuino实现AP–wifi热点共享 2013-07-02

    前面有两篇文章,一篇是pcDuino内核开发指南,一篇是移植rt5370 soft AP驱动.是这篇文章的基础,如果你想实现本文介绍的效果请先完成前面文章介绍的内容. (一)支持iptables pcDuino的内核是不支持NAT的,很明显的标志是当你执行iptables -L的时候他会提示你需要更新内核.如果想实现,必须要重新配置内核.具体的配置过程请参照前面的文章,这里介绍配置的内容. [*] Networking support -> Networking options -> [*]

  • Linux网络设置高级指南 2013-07-05

    Linux网络设置高级指南 本文面向的是被Linux复杂的有线无线网络架构弄得头昏脑胀:或者被网上半吊子的教程弄得晕头转向:或者厌倦了Network Manager之类图形界面无穷尽的BUG(很多抄袭的是Windows,画虎不成反类猫,在一些概念上就存在错误):或者想要了解一些技术细节的,像一样我渴望获得完全驾驭的能力而不是隔靴搔痒的人. 本文需要一定的计算机网络和Linux基础,其中的大部分内容很新,基于2.6内核之后的新架构. Linux不同发行版的软件包名称.配置文件的命名和位置都不尽相同

  • Debian网络设置脚本 2013-08-09

    net-config.py #!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ 网络设置脚本 在debian wheezy环境下测试通过 依赖命令:ip, iw, wpa_supplicant, wpa_cli, dhclient 注意: - /etc/network/interfaces里面仅保留lo设备配置 - 与Gnome Network Manager/Wicd是否冲突未知 """ __a

  • raspberry pi 树莓派从入门到精通(SmartlinkCloud.com,智联网云平台) 2013-11-27

    这篇帖子我打算用Q&A的方式来编写,这样大家更容易一目了然的看明整个帖子的内容,层次分明,调理清晰,以下均是我个人拿到树莓派之后实际使用中碰到的问题和解决办法. 1. Q:树莓派怎么启动? A:使用win32diskimager将系统镜img文件写入SD卡中,然后插到树莓派的卡槽中,上电,即可启动系统.需要注意的是,我最初使用的是 TF小卡套上SD卡套来实现启动的,一开始也的确使用正常,后来在使用过程中发现系统无法启动,一度以为是RPI坏了,发回爱板网让小鸟帮我检测,得出结 论是SD卡套的问题.

  • Ralink RT2860/RT2790 sofap 2010-10-24

    Fedora 14 2.6.35.6-45.fc14.x86_64 yum install hostapd vi / etc / hostapd / hostapd.conf # Most modern wireless drivers in the kernel need driver = nl80211 driver = nl80211 # Customize these for your local configuration ... interface = wlan0 hw_mode =

  • Net Card on the Ralink RT2860/RT2790 Fedora14 AP mode 2010-10-24

    System Information Fedora 14 2.6.35.6-45.fc14.x86_64 1, the installation hostapd yum install hostapd 2, configuration hostpad vi / etc / hostapd / hostapd.conf # Most modern wireless drivers in the kernel need driver = nl80211 driver = nl80211 # Cust

  • compat-wireless to download and compile 2010-11-06

    http://wireless.kernel.org/en/users/Download wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 tar jxvf compat-wireless-2.6.tar.bz2 cd compat-wireless-$ (date-I) # Select the drive . / Scripts / driver-select ma

  • hostapd configuration on the RT2790 2010-11-06

    # Most modern wireless drivers in the kernel need driver = nl80211 driver = nl80211 # Customize these for your local configuration ... interface = wlan0 hw_mode = g channel = 6 ssid = hetao_ap wme_enabled = 1 ieee80211n = 1 ht_capab = [SMPS-STATIC] [

  • ubuntu to see the hardware configuration 2011-05-02

    Tend to forget Afghanistan, marking what sudo lspci -v lshw -C network modprobe mac80211

  • wpa_supplicant initialization process analysis 2011-05-18

    . Startup command wpa supplicant at boot time, start the command with a lot of parameters, we now start the command as follows: wpa_supplicant / system / bin / wpa_supplicant-Dwext-ieth0 -c/data/wifi/wpa_supplicant.conf -f/data/wifi/wpa_log.txt wpa_s

  • Fedora14 on Ralink RT2860/RT2790 card AP mode to achieve 2010-10-24

    System Information Fedora 14 2.6.35.6-45.fc14.x86_64 1, install hostapd yum install hostapd 2, configuration hostpad vi / etc / hostapd / hostapd.conf # Most modern wireless drivers in the kernel need driver = nl80211 driver = nl80211 # Customize the

  • Reproduced: Linux use wpa_supplicant WPA encryption of the WIFI connection 2011-08-16

    See original: http://blog.163.com/wxiongn @ 126/blog/static/11788203820102262748358 / wpa_supplicant wireless network configuration 2010-04-06 13:06:33 | Category: Default Category | Brand subscription Currently you can use wireless-tools or wpa_supp

  • bcm3412 2009-12-20

    http://en.gentoo-wiki.com/wiki/Lenovo_Ideapad_S10e 1. lspci -nn 05:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) [14e4:4315] 2. Linux Kernel Configuration: Networking support ---> Wireless ---> <*> Common routines fo