Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when bringing interface up #6

Open
samurdhilbk opened this issue Dec 11, 2017 · 1 comment
Open

Error when bringing interface up #6

samurdhilbk opened this issue Dec 11, 2017 · 1 comment

Comments

@samurdhilbk
Copy link

I have successfully built the USB driver on Ubuntu 16.04 and the Managed mode is working fine. I'm using the Linksys WUSB6100m with the QCA9377 chipet. But there is a slight issue.

When you bring down the interface with

$ sudo ifconfig wlan1 down

it doesn't throw any error and actually brings the interface down.

However, when you try to put it back up, it gives the error below and you simply cannot work with the device after that. You have to pull it out and plug it back in to get it working again.

$ sudo ifconfig wlan1 up
SIOCSIFFLAGS: Invalid argument

Here is the dmesg output I got when issuing the ifconfig wlan1 up command.

[  152.699734] usb 2-4: Failed to submit usb control message: -110
[  152.699740] usb 2-4: unable to send the bmi data to the device: -110
[  152.699743] usb 2-4: unable to write to the device (-110)
[  152.699747] usb 2-4: settings HTC version failed
[  152.699755] usb 2-4: Could not init core: -22

I need this behaviour to work because I'm trying to use hostapd to set up an AP, and the init process fails when it tries to bring the interface up after putting it down.

Same issue with kernels made both out of the master branch and the most recent high latency branch (4.14.0-rc7).

I'm trying to figure out whether the problem is with the driver, the firmware file or the board file.

As the firmware file I'm using one I got by using athwlan_AR6320.bin and otp_AR6320.bin files as the qwlan and otp files respectively in ath10k-fwencoder. As the board file I'm using eeprom_qca9377_7_1p1_Robin_clpc_fcc.bin. All these files were obtained from the official Linksys site at http://downloads.linksys.com/downloads/driver/Win10.zip.

Any help is highly appreciated.

@erstrom
Copy link
Owner

erstrom commented Dec 19, 2017

I haven't tried to use the WUSB6100M in AP mode.
Perhaps you can share your configuration so I can try it myself?
I have a QEMU based test environment I use with the WUSB6100M:
https://github.com/erstrom/buildroot-ath10k-test
Perhaps I can extend it with some AP tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants