Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9060 closed defect (worksforme)

ath9k-htc / ar9271 working only in monitor mode

Reported by: mandgeo@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

After changeset 26160, usb adapter with atheros 9271 chipset works, but only in monitor mode. Should it be working normaly or is still experimental?

I can see this error:

ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready

I've build trunk 26161, for x86 system.

Attachments (0)

Change History (7)

comment:1 Changed 7 years ago by nbd

Have you tried configuring it normally through uci?

comment:2 Changed 7 years ago by mandgeo@…

This is some other errors:

root@OpenWrt:~# wifi up
Configuration file: /var/run/hostapd-phy0.conf
Failed to update rate sets in kernel module
Could not connect to kernel driver.
Using interface wlan0 with hwaddr 74:ea:3a:91:80:63 and ssid 'OpenWrt'
Failed to set beacon head/tail or DTIM period
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver

root@OpenWrt:~# wifi
Configuration file: /var/run/hostapd-phy1.conf
Line 45: unknown configuration item 'ieee80211n'
Line 46: unknown configuration item 'ht_capab'
2 errors found in configuration file '/var/run/hostapd-phy1.conf'
Failed to start hostapd for phy1

This is wireless

config 'wifi-device' 'radio0'
	option 'type' 'mac80211'
	option 'channel' '11'
	option 'macaddr' '74:ea:3a:91:80:63'
	list 'ht_capab' 'SHORT-GI-20'
	list 'ht_capab' 'SHORT-GI-40'
	list 'ht_capab' 'RX-STBC1'
	list 'ht_capab' 'DSSS_CCK-40'
	option 'disabled' '0'
	option 'txpower' '20'
	option 'country' 'CN'

config 'wifi-iface'
	option 'device' 'radio0'
	option 'network' 'lan'
	option 'mode' 'ap'
	option 'ssid' 'OpenWrt'
	option 'encryption' 'none'

And this is hostapd-phy0

ctrl_interface=/var/run/hostapd-phy0
driver=nl80211
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
tx_queue_data3_aifs=7
tx_queue_data3_cwmin=15
tx_queue_data3_cwmax=1023
tx_queue_data3_burst=0
tx_queue_data2_aifs=3
tx_queue_data2_cwmin=15
tx_queue_data2_cwmax=63
tx_queue_data2_burst=0
tx_queue_data1_aifs=1
tx_queue_data1_cwmin=7
tx_queue_data1_cwmax=15
tx_queue_data1_burst=3.0
tx_queue_data0_aifs=1
tx_queue_data0_cwmin=3
tx_queue_data0_cwmax=7
tx_queue_data0_burst=1.5
hw_mode=g
channel=11

country_code=CN




interface=wlan0
ctrl_interface=/var/run/hostapd-phy0
auth_algs=1
wpa=0
ssid=OpenWrt
wmm_enabled=1
bssid=74:ea:3a:91:80:63
ignore_broadcast_ssid=0

And that's all. I don't like to be called a spammer.

comment:3 Changed 7 years ago by mandgeo@…

"Have you tried configuring it normally through uci?" (sorry, i saw your question just after i've posted)

I've build the image with all the packages included. Started the system, erased the wireless config file and generated a new one (wifi detect > /etc/config/wireless). After this steps, i've enterd luci, checked enable, set some encription and applyed.

comment:4 Changed 7 years ago by koniu <gkusnierz@…>

See ticket 7385

comment:5 Changed 7 years ago by anonymous

This is what i've got after i've set the x86 router(with ar9271) to connect (client mode) to a wl500gp. Trunk 26218.

root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"za_matrics"
          Mode:Managed  Frequency:2.422 GHz  Access Point: 00:16:E3:20:C5:E7
          Bit Rate=1 Mb/s   Tx-Power=20 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-36 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:7   Missed beacon:0

And this in in acces point mode

wlan0     IEEE 802.11bgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

mon.wlan0  IEEE 802.11bgn  Mode:Monitor  Tx-Power=20 dBm
          RTS thr:off   Fragment thr:off
          Power Management:off

Does anyone who knows what he's doing has the hardware for testing?

NBD, or any other programmer, who wants to test this, i can let u work remotely on my system... if u want.

comment:6 Changed 6 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.