In the mt7620n platform to do the WiFiDog related debugging work, in addition to the ETH drive. Wireless performance problems, the rest can be basically normal.
According to the actual need to the completed work on the AR9341 platform to achieve.
In fact, it's simple. The basic functionality is similar, mainly for the configuration of the switch.
When testing the speed limit function, a large problem was found.
Because the upload speed limit did not work in the previous mt7620n, it was found to be an interface problem, to restrict access to the WAN IP interface.
This is totally not normal.
TC Disc Show shows some information, but. Do not understand, need to continue to study ah.
Tc-s class Show Dev Br-lan run this is informative.
Tc-s Filter Show Dev Br-lan but here it is.
Asked an expert. It is the filter that restricts the speed of an IP!
The debugging information is then added to these places. Sure enough, the program returned here in SSCANF.
unsigned short flowid;
SSCANF (IP, "%*d.%*d.%*d.%u", Flowid);
The flowid here is 0. Obviously does not conform to normal IP.
Using the SDK to write a test program, found that the problem here is assumed to be defined as int flowid OK.
Finally I summarize this issue for the compiler version number problem, or is it (System architecture problem?). )。
The problem of OpenWrt sscanf to mt7620n and AR9341