[关闭]
@yiltoncent 2015-03-25T06:21:19.000000Z 字数 1609 阅读 3288

Atheros AP Driver Command Line Interface Study

WiFi


Wireless Tools

In the Atheros driver, two device types are created when the AP is brought up.

Two main programs of the wireless tools suite:

Many commands are only effective before the AP interface is in the up state, so these commands must be performed prior to issuing the ifconfig up command to the interface.

iwconfig commands

iwconfig命令是一套固定的用于设定和操作WLAN接口的命令集。

参数:

parameter format description
ap iwconfig ath N ap MAC
channel iwconfig ath N channel args
enc key iwconfig ath N key [idx] key_val
essid iwconfig ath N essid "name"
frag iwconfig ath N frag level
freq iwconfig ath N freq frequency
rate iwconfig ath N rate rateval/auto
rts iwconfig ath N rts pkt_size
txpower iwconfig ath N txpower power_num

iwpriv commands

iwpriv命令可用于各层。有些命令在各层间复用。建议复用的命令出现的时候,使用radio层命令。

聚合命令

eg:
iwpriv wifiN AMPDU 1

Association/ACL命令

Beacon Configuration Commands

Channel Width Commands

Debug Commands

HT20/HT40 Coexistence Commands

Physical Layer Commands

Protection Mechanism Commands

Security Commands

Video over Wireless Commands

WDS Commands

WMM Commands

wlanconfig utility

create a VAP

wlanconfig ath[N] create wlandev *wifiN* wlanmode *[ap/sta/mon]* [bssid *-bssid*] [nosbeacon]

List VAP Parameters

wlanconfig athN list [*sta/ap/chan/keys/caps/wme*]

Delete Interface

wlanconfig athN destroy

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注