iwpriv wlan0 set [parameters]=[Value]

parameters
CountryRegion Country region for WLAN radio 2.4 GHz regulation (G band)
CountryRegionABand Country region for WLAN radio 5/6 GHz regulation (A band)
CountryCode County code for WLAN radio regulation
SSID Configure AP SSID
WirelessMode

Wireless mode configuration

iwpriv wlan0 set WirelessMode=16(16: 11bgn/AX mixed 2.4G band only)

Channel WLAN primary channel configuration
VHT_Sec80_Channel WLAN primary channel configuration for the 2nd VHT80 group
HT_BW

0: 20 MHz 1: 20/40 MHz

VHT_BW

0: disable 1: 80M 2: 160M 3: 80M+80M 4: 320M

HT_GI

HT guard interval configuration

0: Long GI 1: Short GI

VHT_SGI

11ac guard interval configuration

0: Long GI 1: Short GI

HT_MCS

Modulation and Coding Scheme (MCS) configuration

0 ~15, 32: Fix MCS rate for HT rate
33: Auto Rate Adaption, recommended

HT_RDG

Enable or disable Reverse Direction Grant

0: disable 1: enable

HT_EXTCHA

Locate the 40MHz extension channel in combination with the main

0: Below 1: Above

HT_AMSDU

Enable or disable A-MSDU transmission

0: disable 1: enable

AMSDU_NUM

Set supported A-MSDU number when transmission

1~4 : means supported AMSDU number

HT_AutoBA

Enable or disable automatically building Block Ack session with the

peer

0: disable 1: enable

HT_BADecline

Configure whether always declining Block Ack Request sent from the

peer

0: disable 1: enable

HT_DisallowTKIP Enable or disable 11N rate with 11N AP when cipher is TKIP or WEP

HT_STBC

0: disable 1: enable

VHT_STBC

0: disable 1: enable

HT_LDPC

0: disable 1: enable

VHT_LDPC

0: disable 1: enable
G_BAND_256QAM Enable or disable 256-QAM support for MT7615 2.4g
VHT_BW_SIGNAL Enable or disable 11ac bandwidth signaling
HT_TxStream

Configure the number of spatial streams for transmission

1~2: valid spatial streams

HT_RxStream

Configure the number of spatial streams for reception

1~2: valid spatial streams

E2pAccessMode Configure the storage of EEPROM
BeaconPeriod 20 ~ 1024 (unit is in milli-seconds)
DtimPeriod

DTIM period configuration and it stands for Delivery Traffic Indication

Map

1~255 (unit is Beacon count)

FragThreshold Fragment threshold configuration
RTSThreshold RTS threshold configuration
TxPower

Configure transmission power in percentage

Note: PERCENTAGEenable=1 is also required when using this function in MT7615,

MT7915

91 ~ 100%, treat as 100% in terms of mW

61 ~ 90%, treat as 75% in terms of mW  -1dBm

31 ~ 60%, treat as 50% in terms of mW  -3dBm

16 ~ 30%, treat as 25% in terms of mW  -6dBm

10 ~ 15%, treat as 12.5% in terms of mW  -9dBm

1 ~ 9 %, treat as MIN(~3%) in terms of mW  -12dBm

TxPreamble

0: Long preamble 1: Short preamble 2: Auto

TxBurst Enable or disable Tx Burst (Mediatek-proprietary acceleration method)
PktAggregate Enable or disable piggyback packet aggregation (Mediatek proprietary)
ShortSlot

Enable or disable short slot time (9us) for backward-compatibility with

11b

MbssMaxStaNum

Configure the maximum number of station that could connect with this

AP

AutoChannelSelect

Configure Automatic Channel Selection Algorithm

0: Disable

1: Old CSA (AP count)

2: New CSA (CCA)

3: MT7615/MT7915 CSA (Busy time)

AutoChannelSkipList

 Configure channels you want to skip when Auto Channel Selection is

enable

<channel_list>=2;3;4;5;7;8;10;

ACSCheckTime

Configuration of periodic check time for automatic channel selection

0: Disable Note: Unit is hour

HT_LinkAdapt Enable or disable HT Link Adaptation Control
HT_OpMode

0: Mixed mode (MM)

1: Greenfield mode (GF)

HT_MpduDensity Minimum separation of MPDUs in an A-MPDU
HT_BAWinSize

Block Ack window size configuration

1~256

HT_MIMOPSMode

Spatial Multiplexing (SM) power save mode configuration

0: Static

1: Dynamic

2: Reserved

3: Disable (AP behaves according to the capability announced by STA)

Note:

Please use HT_MIMOPSMode=3 to pass the TGn 4.2.28 Spatial Multiplexing Power

Save Operation.

VHT_DisallowNonVHT Enable or disable the function of rejecting connection attempt from nonVHT STA
NoForwarding Enable or disable No-Packet-Forwarding within a BSSID
NoForwardingBTNBSSID Enable or disable No-Packet-Forwarding between each BSSID
NoForwardingMBCast Enable or disable No-MC-BC-Packet-Forwarding within a BSSID
HideSSID Enable or disable configuring an empty SSID
StationKeepAlive

Enable or disable auto detection of aliveness of connected stations

periodically

VLANID

VLAN ID configuration

VLANPriority

VLAN priority configuration

EntryLifeCheck

Configure how many consecutive failed Tx packets sent to a STA can be ignored before AP sends Deauth to it

EtherTrafficBand

Configure Ethernet packets binding with specific RF band

2G: Ethernet packets bind with 2.4GHz

5G: Ethernet packets bind with 5GHz

Note: Forwarding Module should be also enabled

WirelessEvent

Enable or disable sending wireless event to the system log

ResetCounter

Reset all statistics counters

PartialScan

0: Full scan (scan would finish at once)

1: Partial scan (scan would be divided into multiple sub-scan)

SiteSurvey

Passive scan: “iwpriv ra0 set SiteSurvey=”

Active scan: “iwpriv ra0 set SiteSurvey=Target_SSID”

HtAutoBa

Enable or disable automatically building Block Ack session with the

peer

BADecline

Configure whether always declining Block Ack Request sent from the

peer

BASetup

Add an Originator BA entry into the BA table manually

iwpriv ra0 set BASetup=00:0c:43:01:02:03-0 

 The six 2-digit hex-decimal numbers composes the STA MAC address

 The seventh decimal number is the TID value

BAOriTearDown

Remove an Originator BA entry from the BA table manually

iwpriv ra0 set BAOriTearDown=00:0c:43:01:02:03-0 

 The six 2-digit hex-decimal numbers composes the STA MAC address

 The seventh decimal number is the TID value

BARecTearDown

Remove an Recipient BA entry from the BA table manually

iwpriv ra0 set BARecTearDown=00:0c:43:01:02:03-0 

 The six 2-digit hex-decimal numbers composes the STA MAC address

 The seventh decimal number is the TID value

DisConnectSta

iwpriv ra0 set DisConnectSta=00:11:22:33:44:55

DisConnectAllSta

iwpriv ra0 set DisConnectAllSta=1

1: disconnect all STAs

KickStaRssiLow

Configure the weakest signal threshold that AP would disconnect the

STA

0: Disable 0 ~ -100

AssocReqRssiThres

Configure the weakest signal threshold that AP would reject the

Association Request

0: Disable 0 ~ -100

iwpriv wlan0 show

driverinfo

show driver version

stat

show statistics counter

stainfo

show MAC address of associated STAs

stacountinfo

show TRx byte count of associated STAs

stasecinfo

show security information of associated STAs

bainfo

show BlockAck information

connStatus

show AP-Client connection status

reptinfo

show MAC Repeater information

wdsinfo

show WDS link list

igmpinfo

show all entries in the IGMP Snooping Table

mbss

show MBSS PHY mode information

blockch

show DFS blocked channel list

stat

Show WLAN statistics

You can use “iwpriv ra0 set ResetCounter=1” to reset statistics

Also, you can use the following command line shell script to get per-second

statistics.

# while [ 1 ]; do iwpriv ra0 set ResetCounter=1; sleep 1; iwpriv ra0 stat; done;

get_site_survey

Show site survey result

You need to use “iwpriv ra0 set SiteSurvey=” to collect information first

get_mac_table

Show MAC addresses of connected stations

get_ba_table

Show raw data of the BlockAck table

get_wsc_profile

Show WPS profile information

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐