Closed nashford77 closed 2 years ago
You can just compile and use our pre-patched kernel: https://github.com/greearb/linux-ct-5.15
Will this correct the fact that the CT FW disabled my bands that were on before I upgraded the cards FW ?
I don't really know what you did, but the ath10k-ct driver with ath10k-ct firmware works fine with those channels if your regulatory domain allows it.
It does - it's the US. I upgraded the FW to the most current CT version, used the stock board file, it's shows fine but before I could see all the bands as NO IR & Radar which was fine then on reboot with ath10k driver still, all the same channels went to disabled ?
I am trying to use channel 100 VHT160 to be clear which this card can do, something is setting them to "disabled" now . Not sure what . I tried the listed board file that CT team said you may need, no go - shows no FW version then when I try that board file.
That's all I changed to date , FW, stock board file I reverted to, shows channels disabled. What could cause this when it says US Reg ?
On Sun, Feb 13, 2022, 11:18 PM Ben Greear @.***> wrote:
I don't really know what you did, but the ath10k-ct driver with ath10k-ct firmware works fine with those channels if your regulatory domain allows it.
— Reply to this email directly, view it on GitHub https://github.com/greearb/ath10k-ct/issues/198#issuecomment-1038621946, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSSJU5XGYWAQDTNX7D777TU3B7BJANCNFSM5OJ3ALOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Please show output of 'iw reg get'
And, try setting regdom to US using fwcfg API:
http://www.candelatech.com/ath10k-10.4.php#config
On 2/13/22 8:25 PM, nashford77 wrote:
It does - it's the US. I upgraded the FW to the most current CT version, used the stock board file, it's shows fine but before I could see all the bands as NO IR & Radar which was fine then on reboot with ath10k driver still, all the same channels went to disabled ?
I am trying to use channel 100 VHT160 to be clear which this card can do, something is setting them to "disabled" now . Not sure what . I tried the listed board file that CT team said you may need, no go - shows no FW version then when I try that board file.
That's all I changed to date , FW, stock board file I reverted to, shows channels disabled. What could cause this when it says US Reg ?
On Sun, Feb 13, 2022, 11:18 PM Ben Greear @.***> wrote:
I don't really know what you did, but the ath10k-ct driver with ath10k-ct firmware works fine with those channels if your regulatory domain allows it.
— Reply to this email directly, view it on GitHub https://github.com/greearb/ath10k-ct/issues/198#issuecomment-1038621946, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSSJU5XGYWAQDTNX7D777TU3B7BJANCNFSM5OJ3ALOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_greearb_ath10k-2Dct_issues_198-23issuecomment-2D1038626421&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HYKqseB9xg-u2kz3egvegqfgyXnEBhQotXfR3iCfdgM&m=F12oQT2GXPqb__Me3KsIPSrBRy886PbKUfVOhMcfsnE&s=yw6hpPrbcz_yWUGIZm0UqapnQn4QHK0u3P0B0alf2P8&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AACHNKW5F3VEOOIV6PTQUYTU3B72NANCNFSM5OJ3ALOA&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HYKqseB9xg-u2kz3egvegqfgyXnEBhQotXfR3iCfdgM&m=F12oQT2GXPqb__Me3KsIPSrBRy886PbKUfVOhMcfsnE&s=fkeuCX0lL8jnQgJNYtzPL36wU41c9Lj6C94yoOHoEwM&e=. Triage notifications on the go with GitHub Mobile for iOS https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HYKqseB9xg-u2kz3egvegqfgyXnEBhQotXfR3iCfdgM&m=F12oQT2GXPqb__Me3KsIPSrBRy886PbKUfVOhMcfsnE&s=UE__rHEIgmJ2RQIdDPUvDw2IPHaze3WuM9TEiV9UcjE&e= or Android https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HYKqseB9xg-u2kz3egvegqfgyXnEBhQotXfR3iCfdgM&m=F12oQT2GXPqb__Me3KsIPSrBRy886PbKUfVOhMcfsnE&s=XUMhjA3IYUS6ghDVClvnHtvGITW3MKOysAWOUyixz_Q&e=.
You are receiving this because you commented.Message ID: @.***>
-- Ben Greear @.***> Candela Technologies Inc http://www.candelatech.com
iw reg set US
country US: DFS-FCC (2400 - 2472 @ 40), (N/A, 30), (N/A) (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW (5250 - 5350 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW (5470 - 5730 @ 160), (N/A, 23), (0 ms), DFS (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN (57240 - 71000 @ 2160), (N/A, 40), (N/A)
phy#1 country US: DFS-FCC (2400 - 2472 @ 40), (N/A, 30), (N/A) (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW (5250 - 5350 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW (5470 - 5730 @ 160), (N/A, 23), (0 ms), DFS (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN (57240 - 71000 @ 2160), (N/A, 40), (N/A)
working on the other item now ;0
I assume fwcfg is only available in your kernel ?
cat: /debug/ieee80211/wiphy3/ath10k/firmware_info: No such file or directory
Does this work on stock Ubuntu 20.04.03 LTS by chance ? If not I can install the Kernel you send me and try that - Also, does it set certified config, ONUS etc etc in the Kernel you have ?
https://cateee.net/lkddb/web-lkddb/ATH10K_DFS_CERTIFIED.html
fwcfg is only in our kernel, and you can configure the kernel options as you deem prudent. Our kernel should work fine on Ubuntu, though we do not actually test much on that OS.
ah ok got it - so the Driver not the FW is looking for this file on boot (wondering if just the FW looks and i can add w current kernel etc) to correct my messed up REG? Will try to compile your kernel on Ubuntu and see what it nets me to correct this issue.
@greearb - Question: As I am on Kernel 5.4.x - could I not just do the following:
1) Copy the contents of this into my current ath10K driver for a custom kernel I already modified? https://github.com/greearb/ath10k-ct/tree/master/ath10k-5.4 -->~/custom-kernel/linux-5.4.0/drivers/net/wireless/ath/ath10k/
2) Will This add support for 'fwcfg' to the kernel or is there another step to add this in for a compile ?
3) Will This version have VHT160 support - not 80 + 80 ?
4) Will custom files in the FW area allow bypass of messed up card Reg then ?
Am up and running - for others:
1) correct 2) incorrect - fwcfg is not there but it didnt matter as i did another work around similar to what OpenWRT does 3) it supports 160 & DFS (radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }) 4) N/A now due to patching with other patches not considered main stream ;0
closing this - i moved past this issue but have others which are open in other tickets
Ubuntu 20.04.03LTS 5.4.0-99-generic #112 SMP
ath10k_pci 0000:07:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 1 testmode 0 driver=ath10k_pci driverversion=5.4.0-99-generic firmware=10.4-3.9.0.2-00131
All - I am trying (without success) to compile this for Ubuntu X64 - First Question is - How do i do this as the instructions are not clear and LEDE base only for OpenWRT - I am making a beast router and that won't cut it on a few fronts - I need X64
Once I moved to CT FW, it disabled all the useful frequencies :( I can't even get them back now trying to restore the Stock FW - what happened ? This is NOT how it was pre - upgrade, it had all bands pretty much with IR & DFS which is ok - I upgraded to make the card understand the DFS results etc & poof - all gone now....
My Q is : How do i correct the bands, whats a working config for this card and X86 ref FW-5. board2 files to fix plus how do i use the CT driver with Ubuntu ?
Many Thanks in advance.