LINUX.ORG.RU

Низкая скорость передачи данных WiFi (hostapd).

 , , ,


0

2

Здравствуйте! Есть домашний роутер/сервер на базе тонкого клиента HP t5550. В качестве ОС используется CentOS 6.6. На сервере поднята программная точка доступа при помощи hostapd и Mini PCI Express адаптера Intel® Centrino® Advanced-N 6230. Все в общем работает, но скорость соответствует стандарту «g» а не «n». Iperf показывает пропускную способность порядка 40-50 Мбит/с, а хочется больше :). Много всего перепробовал: собирал последний hostapd, накатывал другое ядро из ELRepo, утаннавливал CentOS 7.1, менял даптер на Atheros AR5B95, но результат остался прежнем. Подскажите, может быть я что-то упускаю.

hostapd.conf

interface=wlan0
bridge=br0
driver=nl80211

logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2

ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

##### IEEE 802.11 related configuration #######################################

ssid=Home
country_code=US
hw_mode=g
channel=6
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
preamble=0
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1

##### IEEE 802.11n related configuration ######################################

ieee80211n=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]

##### WPA/IEEE 802.11i configuration ##########################################

wpa=2
wpa_passphrase=*********
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP
wpa_group_rekey=600

CentOS 6.6

# uname -r
2.6.32-504.12.2.el6.i686

# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VX900 Host Bridge: Host Control (rev 80)
00:00.1 Host bridge: VIA Technologies, Inc. VX900 Error Reporting
00:00.2 Host bridge: VIA Technologies, Inc. VX900 CPU Bus Controller
00:00.3 Host bridge: VIA Technologies, Inc. VX900 DRAM Bus Control
00:00.4 Host bridge: VIA Technologies, Inc. VX900 Power Management and Chip Testing Control
00:00.5 Host bridge: VIA Technologies, Inc. VX900 APIC and Central Traffic Control
00:00.6 Host bridge: VIA Technologies, Inc. VX900 Scratch Registers
00:00.7 Host bridge: VIA Technologies, Inc. VX900 North-South Module Interface Control
00:01.0 VGA compatible controller: VIA Technologies, Inc. VX900 Graphics [Chrome9 HD]
00:01.1 Audio device: VIA Technologies, Inc. Device 9170
00:03.0 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 0
00:03.1 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 1
00:03.2 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 2
00:03.3 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 3
00:03.4 Host bridge: VIA Technologies, Inc. VX900 PCI Express Physical Layer Electrical Sub-block
00:0f.0 IDE interface: VIA Technologies, Inc. VX900 Serial ATA Controller
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VX900 Bus Control and Power Management
00:11.7 Host bridge: VIA Technologies, Inc. VX8xx South-North Module Interface Control
00:13.0 PCI bridge: VIA Technologies, Inc. VX855/VX875/VX900 PCI to PCI Bridge
00:14.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 20)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

# lsmod | grep iw
iwldvm                120726  0
mac80211              461788  1 iwldvm
iwlwifi                79897  1 iwldvm
cfg80211              515738  3 iwldvm,mac80211,iwlwifi

# hostapd -v
hostapd v2.0
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi> and contributors

# iw list
Wiphy phy0
        max # scan SSIDs: 20
        max scan IEs length: 195 bytes
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP (00-0f-ac:4)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
        Band 1:
                Capabilities: 0x1072
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (15.0 dBm)
                        * 2417 MHz [2] (15.0 dBm)
                        * 2422 MHz [3] (15.0 dBm)
                        * 2427 MHz [4] (15.0 dBm)
                        * 2432 MHz [5] (15.0 dBm)
                        * 2437 MHz [6] (15.0 dBm)
                        * 2442 MHz [7] (15.0 dBm)
                        * 2447 MHz [8] (15.0 dBm)
                        * 2452 MHz [9] (15.0 dBm)
                        * 2457 MHz [10] (15.0 dBm)
                        * 2462 MHz [11] (15.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
        Band 2:
                Capabilities: 0x1072
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5180 MHz [36] (15.0 dBm) (passive scanning, no IBSS)
                        * 5200 MHz [40] (15.0 dBm) (passive scanning, no IBSS)
                        * 5220 MHz [44] (15.0 dBm) (passive scanning, no IBSS)
                        * 5240 MHz [48] (15.0 dBm) (passive scanning, no IBSS)
                        * 5260 MHz [52] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 163 sec)
                        * 5280 MHz [56] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 163 sec)
                        * 5300 MHz [60] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 163 sec)
                        * 5320 MHz [64] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 163 sec)
                        * 5500 MHz [100] (disabled)
                        * 5520 MHz [104] (disabled)
                        * 5540 MHz [108] (disabled)
                        * 5560 MHz [112] (disabled)
                        * 5580 MHz [116] (disabled)
                        * 5600 MHz [120] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5660 MHz [132] (disabled)
                        * 5680 MHz [136] (disabled)
                        * 5700 MHz [140] (disabled)
                        * 5745 MHz [149] (15.0 dBm) (passive scanning, no IBSS)
                        * 5765 MHz [153] (15.0 dBm) (passive scanning, no IBSS)
                        * 5785 MHz [157] (15.0 dBm) (passive scanning, no IBSS)
                        * 5805 MHz [161] (15.0 dBm) (passive scanning, no IBSS)
                        * 5825 MHz [165] (15.0 dBm) (passive scanning, no IBSS)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * Unknown command (92)
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        WoWLAN support:
                 * wake up on disconnect
                 * wake up on magic packet
                 * wake up on pattern match, up to 20 patterns of 16-128 bytes,
                   maximum packet offset 0 bytes
                 * can do GTK rekeying
                 * wake up on GTK rekey failure
                 * wake up on EAP identity request
                 * wake up on rfkill release
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ managed } <= 1, #{ AP } <= 1,
                   total <= 2, #channels <= 1, STA/AP BI must match
                 * #{ managed } <= 2,
                   total <= 2, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports scan flush.

# ls -la /lib/firmware/iwlwifi-*
-rw-r--r--. 1 root root 689680 Мар 11 20:23 /lib/firmware/iwlwifi-105-6.ucode
-rw-r--r--. 1 root root 701228 Мар 11 20:23 /lib/firmware/iwlwifi-135-6.ucode
-rw-r--r--. 1 root root 695876 Мар 11 20:23 /lib/firmware/iwlwifi-2000-6.ucode
-rw-r--r--. 1 root root 707392 Мар 11 20:23 /lib/firmware/iwlwifi-2030-6.ucode
-rw-r--r--. 1 root root 670484 Мар 11 20:23 /lib/firmware/iwlwifi-3160-7.ucode
-rw-r--r--. 1 root root 677296 Мар 11 20:23 /lib/firmware/iwlwifi-6000g2a-6.ucode
-rw-r--r--. 1 root root 679436 Мар 11 20:23 /lib/firmware/iwlwifi-6000g2b-6.ucode
-rw-r--r--. 1 root root 683236 Мар 11 20:23 /lib/firmware/iwlwifi-7260-7.ucode

CentOS 7.1

# uname -r
3.10.0-229.1.2.el7.x86_64

# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VX900 Host Bridge: Host Control (rev 80)
00:00.1 Host bridge: VIA Technologies, Inc. VX900 Error Reporting
00:00.2 Host bridge: VIA Technologies, Inc. VX900 CPU Bus Controller
00:00.3 Host bridge: VIA Technologies, Inc. VX900 DRAM Bus Control
00:00.4 Host bridge: VIA Technologies, Inc. VX900 Power Management and Chip Testing Control
00:00.5 Host bridge: VIA Technologies, Inc. VX900 APIC and Central Traffic Control
00:00.6 Host bridge: VIA Technologies, Inc. VX900 Scratch Registers
00:00.7 Host bridge: VIA Technologies, Inc. VX900 North-South Module Interface Control
00:01.0 VGA compatible controller: VIA Technologies, Inc. VX900 Graphics [Chrome9 HD]
00:01.1 Audio device: VIA Technologies, Inc. Device 9170
00:03.0 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 0
00:03.1 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 1
00:03.2 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 2
00:03.3 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 3
00:03.4 Host bridge: VIA Technologies, Inc. VX900 PCI Express Physical Layer Electrical Sub-block
00:0f.0 IDE interface: VIA Technologies, Inc. VX900 Serial ATA Controller
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VX900 Bus Control and Power Management
00:11.7 Host bridge: VIA Technologies, Inc. VX8xx South-North Module Interface Control
00:13.0 PCI bridge: VIA Technologies, Inc. VX855/VX875/VX900 PCI to PCI Bridge
00:14.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 20)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

lsmod | grep iw
iwldvm                188954  0
mac80211              569655  1 iwldvm
iwlwifi               112501  1 iwldvm
cfg80211              514740  3 iwlwifi,mac80211,iwldvm

# hostapd -v
hostapd v2.3
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2014, Jouni Malinen <j@w1.fi> and contributors

# iw list
Wiphy phy0
        max # scan SSIDs: 20
        max scan IEs length: 195 bytes
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP (00-0f-ac:4)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
        Band 1:
                Capabilities: 0x1072
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (15.0 dBm)
                        * 2417 MHz [2] (15.0 dBm)
                        * 2422 MHz [3] (15.0 dBm)
                        * 2427 MHz [4] (15.0 dBm)
                        * 2432 MHz [5] (15.0 dBm)
                        * 2437 MHz [6] (15.0 dBm)
                        * 2442 MHz [7] (15.0 dBm)
                        * 2447 MHz [8] (15.0 dBm)
                        * 2452 MHz [9] (15.0 dBm)
                        * 2457 MHz [10] (15.0 dBm)
                        * 2462 MHz [11] (15.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
        Band 2:
                Capabilities: 0x1072
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5180 MHz [36] (15.0 dBm) (passive scanning, no IBSS)
                        * 5200 MHz [40] (15.0 dBm) (passive scanning, no IBSS)
                        * 5220 MHz [44] (15.0 dBm) (passive scanning, no IBSS)
                        * 5240 MHz [48] (15.0 dBm) (passive scanning, no IBSS)
                        * 5260 MHz [52] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 232 sec)
                        * 5280 MHz [56] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 232 sec)
                        * 5300 MHz [60] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 232 sec)
                        * 5320 MHz [64] (15.0 dBm) (passive scanning, no IBSS, radar detection)
                          DFS state: usable (for 232 sec)
                        * 5500 MHz [100] (disabled)
                        * 5520 MHz [104] (disabled)
                        * 5540 MHz [108] (disabled)
                        * 5560 MHz [112] (disabled)
                        * 5580 MHz [116] (disabled)
                        * 5600 MHz [120] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5660 MHz [132] (disabled)
                        * 5680 MHz [136] (disabled)
                        * 5700 MHz [140] (disabled)
                        * 5745 MHz [149] (15.0 dBm) (passive scanning, no IBSS)
                        * 5765 MHz [153] (15.0 dBm) (passive scanning, no IBSS)
                        * 5785 MHz [157] (15.0 dBm) (passive scanning, no IBSS)
                        * 5805 MHz [161] (15.0 dBm) (passive scanning, no IBSS)
                        * 5825 MHz [165] (15.0 dBm) (passive scanning, no IBSS)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * Unknown command (92)
                 * Unknown command (104)
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        WoWLAN support:
                 * wake up on disconnect
                 * wake up on magic packet
                 * wake up on pattern match, up to 20 patterns of 16-128 bytes,
                   maximum packet offset 0 bytes
                 * can do GTK rekeying
                 * wake up on GTK rekey failure
                 * wake up on EAP identity request
                 * wake up on rfkill release
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ managed } <= 1, #{ AP } <= 1,
                   total <= 2, #channels <= 1, STA/AP BI must match
                 * #{ managed } <= 2,
                   total <= 2, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports scan flush.

# ls -la /lib/firmware/iwlwifi-*
-rw-r--r--. 1 root root 335056 мар  6 06:47 /lib/firmware/iwlwifi-1000-3.ucode
-rw-r--r--. 1 root root 337520 мар  6 06:47 /lib/firmware/iwlwifi-1000-5.ucode
-rw-r--r--. 1 root root 337572 мар  6 06:47 /lib/firmware/iwlwifi-100-5.ucode
-rw-r--r--. 1 root root 689680 мар  6 06:47 /lib/firmware/iwlwifi-105-6.ucode
-rw-r--r--. 1 root root 701228 мар  6 06:47 /lib/firmware/iwlwifi-135-6.ucode
-rw-r--r--. 1 root root 695876 мар  6 06:47 /lib/firmware/iwlwifi-2000-6.ucode
-rw-r--r--. 1 root root 707392 мар  6 06:47 /lib/firmware/iwlwifi-2030-6.ucode
-rw-r--r--. 1 root root 670484 мар  6 06:47 /lib/firmware/iwlwifi-3160-7.ucode
-rw-r--r--. 1 root root 667284 мар  6 06:47 /lib/firmware/iwlwifi-3160-8.ucode
-rw-r--r--. 1 root root 666792 мар  6 06:47 /lib/firmware/iwlwifi-3160-9.ucode
-rw-r--r--. 1 root root 150100 мар  6 06:47 /lib/firmware/iwlwifi-3945-2.ucode
-rw-r--r--. 1 root root 187972 мар  6 06:47 /lib/firmware/iwlwifi-4965-2.ucode
-rw-r--r--. 1 root root 345008 мар  6 06:47 /lib/firmware/iwlwifi-5000-1.ucode
-rw-r--r--. 1 root root 353240 мар  6 06:47 /lib/firmware/iwlwifi-5000-2.ucode
-rw-r--r--. 1 root root 340696 мар  6 06:47 /lib/firmware/iwlwifi-5000-5.ucode
-rw-r--r--. 1 root root 337400 мар  6 06:47 /lib/firmware/iwlwifi-5150-2.ucode
-rw-r--r--. 1 root root 454608 мар  6 06:47 /lib/firmware/iwlwifi-6000-4.ucode
-rw-r--r--. 1 root root 444128 мар  6 06:47 /lib/firmware/iwlwifi-6000g2a-5.ucode
-rw-r--r--. 1 root root 677296 мар  6 06:47 /lib/firmware/iwlwifi-6000g2a-6.ucode
-rw-r--r--. 1 root root 460236 мар  6 06:47 /lib/firmware/iwlwifi-6000g2b-5.ucode
-rw-r--r--. 1 root root 679436 мар  6 06:47 /lib/firmware/iwlwifi-6000g2b-6.ucode
-rw-r--r--. 1 root root 463692 мар  6 06:47 /lib/firmware/iwlwifi-6050-4.ucode
-rw-r--r--. 1 root root 469780 мар  6 06:47 /lib/firmware/iwlwifi-6050-5.ucode
-rw-r--r--. 1 root root 683236 мар  6 06:47 /lib/firmware/iwlwifi-7260-7.ucode
-rw-r--r--. 1 root root 679780 мар  6 06:47 /lib/firmware/iwlwifi-7260-8.ucode
-rw-r--r--. 1 root root 679380 мар  6 06:47 /lib/firmware/iwlwifi-7260-9.ucode


Не путайте маркетинговые циферки скорости канала и реальную скорость обмена.

Без MIMO на 40МГц канале и будет порядка 50-60 мбит скорость, при отсутствии помех.

NiTr0 ★★★★★
()
Ответ на: комментарий от NiTr0

Да ладно? У меня D-Link dir300 выдает 80 мегабит по wi-fi при мощности антенны 70% в 5 метровой удаленности от точки доступа, адаптер wifi-свисток Длинк DWA-127 (150Mb/s). Причем роутеров у соседей много.

Wiki
()
Ответ на: комментарий от NiTr0

Правда прошика OpenWRT и чистый канал выбран, но все же. До 80 вытягивает. В среднем ~60-70 мегабит держит.

Wiki
()
Ответ на: комментарий от Wiki

Вайфай это единая среда передачи данных (помнишь такие девайсы как хаб?). Достаточно появления одного клиента с древней картой на твоем канале и ты получишь скорость как у него.

kombrig ★★★
()
Ответ на: комментарий от kombrig

С беспроводными технологиями я знаком, судя по Ссылка адаптер поддерживает 2 пространственных потока что должно дать порядка 150 Мбит пропускной способности. Радиообстановку в месте тестирования я проверял к моему счастью у соседей нет вайфая :). Я бы не писал этот пост, если бы не получал на другом оборудовании (Mikrotik rb951g-2hnd), установленном в той же комнате и настроенном на тот же канал, 98 Мбит/c по такой схеме: Client-> Wifi -> Microtik -> LAN -> Server. Скорость здесь уперлась в пропускную способность порта роутера Mikritik. Меня смущают вот эти параметры

HT TX/RX MCS rate indexes supported: 0-15
т.е поддерживает MCS с 0 по 15, а судя по битрейду только до 11 (MCS11).

wmlex
() автор топика
Ответ на: комментарий от Wiki

У меня 50-60 мбит на дир-300. Хотя да, многое еще зависит от вайфай карты бука.

NiTr0 ★★★★★
()

люди, а расскажите пожалуйста, зачем нужно «DSSS_CCK» ?

что именно это даёт? (как влияет на скорость? и как влияет на дальность? и как влияет на помехоустойчивость?)

user_id_68054 ★★★★★
()
Ответ на: комментарий от wmlex

Я бы не писал этот пост, если бы не получал на другом оборудовании (Mikrotik rb951g-2hnd), установленном в той же комнате и настроенном на тот же канал, 98 Мбит/c

hostapd, при запуске, сканирует эфир, и если он забит, то включается однопоточный режим, а железные ap, таких проверок не делают

armbox
()
Ответ на: комментарий от armbox

Собрал из исходников hostapd, со включенной поддержкой N (CONFIG_IEEE80211N=y) и патчем на 40МГц, удалил весь блок

if (!oper40) {
		wpa_printf(MSG_INFO, "20/40 MHz operation not permitted on "
			   "channel pri=%d sec=%d based on overlapping BSSes",
			   iface->conf->channel,
			   iface->conf->channel +
			   iface->conf->secondary_channel * 4);
		iface->conf->secondary_channel = 0;
		if (iface->drv_flags & WPA_DRIVER_FLAGS_HT_2040_COEX) {
			/*
			 * TODO: Could consider scheduling another scan to check
			 * if channel width can be changed if no coex reports
			 * are received from associating stations.
			 */
		}
	}

а на его место поставил

oper40=1;

результат тот же, выше 50 не поднимается :(. Так же попробовал на адаптере D-Link System DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.A2) [Atheros AR9170+AR9104], результат тот же. Уносил сервер на работу, скорость такая же, т.е. дело не в плохом эфире а в чем то другом.

wmlex
() автор топика
Ответ на: комментарий от wmlex

Решение: https://dev.openwrt.org/browser/trunk/package/hostapd/patches/400-noscan.patc...

wget http://w1.fi/releases/hostapd-2.0.tar.gz && tar xvzf hostapd-2.0.tar.gz

vim patch
diff -Naur ./hostapd-2.0/hostapd/config_file.c ./hostapd-2.0.patch/hostapd/config_file.c
--- ./hostapd-2.0/hostapd/config_file.c 2013-01-12 19:42:53.000000000 +0400
+++ ./hostapd-2.0.patch/hostapd/config_file.c   2015-04-21 14:47:14.132079599 +0300
@@ -2501,6 +2501,8 @@
                        }
 #endif /* CONFIG_IEEE80211W */
 #ifdef CONFIG_IEEE80211N
+               } else if (os_strcmp(buf, "noscan") == 0) {
+                       conf->noscan = atoi(pos);
                } else if (os_strcmp(buf, "ieee80211n") == 0) {
                        conf->ieee80211n = atoi(pos);
                } else if (os_strcmp(buf, "ht_capab") == 0) {
diff -Naur ./hostapd-2.0/src/ap/ap_config.h ./hostapd-2.0.patch/src/ap/ap_config.h
--- ./hostapd-2.0/src/ap/ap_config.h    2013-01-12 19:42:53.000000000 +0400
+++ ./hostapd-2.0.patch/src/ap/ap_config.h      2015-04-21 14:47:57.754623819 +0300
@@ -506,6 +506,7 @@

        int ht_op_mode_fixed;
        u16 ht_capab;
+       int noscan;
        int ieee80211n;
        int secondary_channel;
        int require_ht;
diff -Naur ./hostapd-2.0/src/ap/hw_features.c ./hostapd-2.0.patch/src/ap/hw_features.c
--- ./hostapd-2.0/src/ap/hw_features.c  2013-01-12 19:42:53.000000000 +0400
+++ ./hostapd-2.0.patch/src/ap/hw_features.c    2015-04-21 14:49:02.803891272 +0300
@@ -495,7 +495,7 @@
 {
        struct wpa_driver_scan_params params;

-       if (!iface->conf->secondary_channel)
+       if (!iface->conf->secondary_channel || iface->conf->noscan)
                return 0; /* HT40 not used */

        wpa_printf(MSG_DEBUG, "Scan for neighboring BSSes prior to enabling "
patch -p0 < ./patch

далее собираем с поддержкой «N» и нужными вам опциями. В hostapd.conf указываем noscan=1.

wmlex
() автор топика
Ответ на: комментарий от armbox

armbox, спасибо за наводку!

# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.1 port 5001 connected with 192.168.1.11 port 59140
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-63.1 sec   670 MBytes  89.1 Mbits/sec

wmlex
() автор топика
Ответ на: комментарий от wmlex

Патч для версии 2.4

diff -Naur ./hostapd-2.4/hostapd/config_file.c ./hostapd-2.4.patch/hostapd/config_file.c
--- ./hostapd-2.4/hostapd/config_file.c 2015-03-15 20:30:39.000000000 +0300
+++ ./hostapd-2.4.patch/hostapd/config_file.c   2015-04-21 20:44:31.285112773 +0300
@@ -2750,6 +2750,8 @@
                }
 #endif /* CONFIG_IEEE80211W */
 #ifdef CONFIG_IEEE80211N
+       } else if (os_strcmp(buf, "noscan") == 0) {
+               conf->noscan = atoi(pos);
        } else if (os_strcmp(buf, "ieee80211n") == 0) {
                conf->ieee80211n = atoi(pos);
        } else if (os_strcmp(buf, "ht_capab") == 0) {
diff -Naur ./hostapd-2.4/src/ap/ap_config.h ./hostapd-2.4.patch/src/ap/ap_config.h
--- ./hostapd-2.4/src/ap/ap_config.h    2015-03-15 20:30:39.000000000 +0300
+++ ./hostapd-2.4.patch/src/ap/ap_config.h      2015-04-21 20:45:13.387463782 +0300
@@ -618,6 +618,7 @@

        int ht_op_mode_fixed;
        u16 ht_capab;
+       int noscan;
        int ieee80211n;
        int secondary_channel;
        int require_ht;
diff -Naur ./hostapd-2.4/src/ap/hw_features.c ./hostapd-2.4.patch/src/ap/hw_features.c
--- ./hostapd-2.4/src/ap/hw_features.c  2015-03-15 20:30:39.000000000 +0300
+++ ./hostapd-2.4.patch/src/ap/hw_features.c    2015-04-21 20:48:50.601070609 +0300
@@ -461,7 +461,7 @@
        struct wpa_driver_scan_params params;
        int ret;

-       if (!iface->conf->secondary_channel)
+       if (!iface->conf->secondary_channel || iface->conf->noscan)
                return 0; /* HT40 not used */

        hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);

wmlex
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.