Wifidog debugging has been completed on the mt7620n platform. Except for ETH driver and wireless performance problems, the rest can be basically normal. Complete the work on the ar9341 platform as needed.
In fact, it is also simple. The basic functions are similar, mainly for vswitch configuration.
A major problem was found during the speed limit test.
It was previously found that the upload speed was not effective at mt7620n, and later found that it was an interface problem, and it was necessary to restrict the interface for obtaining Wan IP addresses.
This is totally abnormal.
TC disc show displays some information but does not understand it. You need to continue learning.
TC-S Class show Dev Br-lan execution Information
TC-s filter show Dev Br-lan.
I asked Gao, saying that filter restricts the speed of an IP address!
Later, I added debugging information in the settings, and found that the program returned in sscanf.
Unsigned short flowid;
Sscanf (IP, "% * D. % u", flowid );
The flowid here is 0. obviously does not match the normal IP address.
I used the SDK to write a test program. If the problem is found, it is OK if it is defined as int flowid.
Finally, I will summarize this question for the compiler version, or (System Architecture problems ?).
Openwrt sscanf problem: mt7620n and ar9341