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

open8021s support for ATH10k QCA6174 chipsets? #80

Open
ngiftsun opened this issue Dec 9, 2018 · 15 comments
Open

open8021s support for ATH10k QCA6174 chipsets? #80

ngiftsun opened this issue Dec 9, 2018 · 15 comments

Comments

@ngiftsun
Copy link

ngiftsun commented Dec 9, 2018

I would like to know if open80211s is supported for ath10k based QCA6174 devices. I could see a firmware patch for QCA98XX devices but I'm not sure about QCA6174 . I don't know what's the problem with my driver. I use Compex WLT674 card on Ubuntu 16.04 with a kernel version 4.4.x. I have verified that the card supports both mesh point & IBSS mode using iw but I get an error SIOCSIFFLAGS: Invalid argument when I try to bring up the mesh interface. I tried to load ath10k_core module with rawmode=1 but the kernel fails to load the module complaining about the fact the firmware doesn't support it. I even tried the latest firmware but did not really succeed.

Thanks in advance.

@twpedersen
Copy link
Contributor

twpedersen commented Dec 9, 2018 via email

@ngiftsun
Copy link
Author

ngiftsun commented Dec 9, 2018

@twpedersen Thanks for your response. No, it doesn't work.

@twpedersen
Copy link
Contributor

twpedersen commented Dec 9, 2018 via email

@ngiftsun
Copy link
Author

ngiftsun commented Mar 18, 2019

@twpedersen sorry for my late response. I gave up on using this chipset. I used Ralink RT5572 based dongle to create a mesh and it works fine at the moment.

@chunyeow
Copy link
Contributor

chunyeow commented Mar 19, 2019 via email

@ngiftsun ngiftsun reopened this Mar 19, 2019
@ngiftsun
Copy link
Author

Script used to automate the mesh
sudo systemctl stop network-manager >/dev/null 2>/dev/null || :
sudo ifconfig $MESH_IF down
sudo iw $MESH_IF set type mp
sudo ifconfig $MESH_IF up
sudo ifconfig $MESH_IF $MESH_IP
sudo iw dev $MESH_IF mesh join $MESH_NAME freq $FREQ HT40+
sudo iw dev $MESH_IF set mesh_param mesh_rssi_threshold -65
sudo ip route add default via $MESH_GW
I could still get the same error SIOCSIFFLAGS: Invalid argument for QCA6174 card. I'm using Ubuntu 4.16 kernel.

@chunyeow
Copy link
Contributor

chunyeow commented Mar 19, 2019 via email

@ngiftsun
Copy link
Author

ngiftsun commented Mar 19, 2019

Here you go. According to what I understand the firmware doesn't support raw_mode if you see my very first message. The module cannot be loaded with raw_mode enabled. I could clearly see errors in dmesg complaining about the raw_mode. This is really strange to me. I think raw_mode is only supported in QCA988x but not in QCA6174 as I went through several posts. https://github.com/kvalo/ath10k-firmware/tree/master/QCA988X/hw2.0/10.2.4.70.
Please correct me if I'm wrong.

@twpedersen
Copy link
Contributor

I guess the problem is you need a 10.4 firmware and QCA6174 doesn't seem to support that?

@chunyeow
Copy link
Contributor

chunyeow commented Mar 20, 2019 via email

@ngiftsun
Copy link
Author

ngiftsun commented Mar 28, 2019

Thanks @chunyeow ! I'm having technical difficulty to choose the firmware that you suggest. I don't understand board.bin and all the firmware apis 1-6. My drivers automatically choose WLAN.RM.4.4.1-00079-QCARMSWPZ-1 and I don't know a way to control it.

@ngiftsun
Copy link
Author

ngiftsun commented Mar 28, 2019

@chunyeow I was able to load the right firmware with rawmode flag enabled while loading the ath10k_core module. The good news is that I'm able to bring up the mesh interface. But sudo iw dev $MESH_IF mesh join $MESH_NAME freezes my computer

@chunyeow
Copy link
Contributor

chunyeow commented Mar 28, 2019 via email

@chunyeow
Copy link
Contributor

chunyeow commented Mar 29, 2019 via email

@twpedersen
Copy link
Contributor

I think ath10k@lists.infradead.org is the best place to ask firmware questions.

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

3 participants