-
Notifications
You must be signed in to change notification settings - Fork 119
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
iwinfo scan returning bad signal levels #305
Comments
This is WRT3200ACM? |
No WRT32X Should be very similar hardware to WRT3200ACM |
Please use firmware for WRT32X. |
You can report problem related to WRT3200ACM here. Thanks. |
I am using WRT32X firmware. It is officially supported by Openwrt now. You will not support it or investigate issue? |
As I know, it uses proprietary driver. |
So you mean it can use mwlwifi now? |
Yes it uses mwlwifi. The hardware is almost exactly the same as WRT3200ACM, but there are some minor differences. Are you able to get one of these devices for testing internally? |
Due to it dose not use mwlwifi, I will not test it. |
It DOES use mwlwifi |
WRT32X should use proprietary driver. |
Why? |
It uses mwlwifi (88W8964) |
I will check it later. |
Yes. The merged OpenWrt repository (I got it on 20180601) can build image for WRT32X. I will check it later. |
Yes it pretty recent openwrt/openwrt@bfbdeeb @lantis1008 you are using gargoyle? |
@bbogey yes. For all intents and purposes it should be identical for this issue, but will happily test Openwrt to check. |
the WRT32X is identical to the WRT3200ACM. just enclosure is different. no hw difference. interesting point in the posted informations. powertable loading from dts is not supported for 8964. so it seems there is a problem with the powertable data on that chipset and the region code doesnt look correct as well |
@BrainSlayer Yes. That is what I suspect, I will get WRT32X to check if it has the same problem. |
For reference, my device is an AU region code. |
@yuhhaurlin : i get one soon as well. so i can check if i have the same behaviour on that device |
@BrainSlayer Thanks. |
On a WRT3200ACM, running LEDE 17.01.4 plus mwlwifi c2f82f1, I see the same behaviour: running " |
@eduperez what about Is it reporting info ok? |
|
Ok so that issue may only be WRT32X, but iw scan may be others. |
i can reproduce it with dd-wrt as well using the iw utility. so its not a WRT32X specific issue |
@lantis1008. |
@yuhhaurlin btw. the original wrt32x from linksys does overload the power tables on 8964 for CN, AU and AH regions. so your comment is simply wrong. see that code snipped from original firmware
|
but that doesnt affect US of course and the current bug is visible on US devices so far. i havent got my hands on a EU model yet for checking |
I think it is related to rssi of received packets. It is not related to power table. However, I will check it. |
Mine is AU model @BrainSlayer. Would it need to be new format table like you list above or one of th existing tables from earlier device (like 1900AC) would do? Or that depends entirely on what yuhhaulin decides to do for the solution. |
i agree, but this shouldnt affect the noise level which has a problem too. but hard to say whats wrong here |
For current version of firmware of 8964, it won't allow you to download power table if power table is programmed in EEPROM. This issue should be related to rssi of received packets. If rssi of client is all right, I think I need to trace iwinfo to see what happened. |
@BrainSlayer Yes, WRT32X with updated firmware of 8964, it can load power table for CN, AU and AH. This should be done later for mwlwifi. |
For updated firmware, it will allow driver to load power table. However, it will decide if the loading power table takes effect or not according to region code. |
For issues #280, I will modify mwlwifi to load power table if it exists with new firmware. In this way, driver won't block setting of country code. Firmware will decide if setting takes effect according region code. |
Do you have any thoughts on why Shows “0” for my region code? |
If my region code isn’t detected correctly, your solution may not work. |
It is WRT32X? |
Yes, AU region version (WRT32X-AU) |
I have no idea why WRT32X does not have region code. I got one here. Maybe I will check it later when I try to work for #280. I will check and fix this issue first. |
Originally WRT32X is designed for Marvell proprietary driver. Since mwlwifi can work for it now, I will check issues related to it. However, the priority won't be high. I will check bad signal first. |
I appreciate that. Thanks. One thought on the region code. If mine is in AU and that is one of the three which can load an external power table, this may have something to do with it? |
Yes, it is possible. Just like 88W8864. |
I can reproduce this issue on our RD board with 88W8964 module. Signal of associated station is all right, but signal of scan result is not correct (always -256 dbm). I will check it. |
@lantis1008 if AU requires manual power table loading like i found out, the region code is 0 and undefined. that means its not locked to a specific country. the driver needs to configure the country code then. this is also what you see in the script i posted which has been taken from the original firmware. so in theory you can program this device manually by software to any powertable or region you want. but as yuhhaurlin stated before, the table loading hasnt been implemented yet for 88w8964, so your device will not run with correct power table settings. so the behaviour of your device is undefined. i dont know if there is any default builtin to the firmware (but i expect there is something like a default value since it may destroy the wifi unit otherwise with wrong power settings). but let yuhhaurlin fix the signal issue first and i hope the power table loading will be fixed soon after it. its not complicated to implement and i may already know how to implement this if it works like in the older chipsets. there are just additional parameters required for the new chipset. and for my bad i cannot test it since my device is a US region model which is locked |
I assume in the scenario it describes it pulls the value from something like: Thanks for your investigation and explanations so far. |
@lantis1008 correct. its stored in a mtd settings partition admin1_passphrase=********** |
88W8864 is all right. 88W8964 has problem, the root cause is that 88W8964 does not report receive signal to mac80211 for beacon packets. I will check how to fix it. It takes time. Thanks for your information. |
Thanks for the update @yuhhaurlin |
Fixed by 757340a. Thanks for your help. |
I will test as soon as i can. |
No. Issue #280 is used to track loading power table and remove restriction of country code. |
This works great. Thanks! |
Yes, I have tested this fix. Thanks for your help. |
Hi,
Is
iwinfo wlan1 scan
supposed to work or has it not been supported?Signal level is always reported as -256dBm
Device: WRT32X
Also, why is this device showing up as Power table loaded from dts = yes? The DTS definitely doesn't contain a powertable and this is one of the newer devices which should be hardcoded.
The text was updated successfully, but these errors were encountered: