The TP-Link device mounts the production_info partition, and apnos will
access the manufacturing data and copy the certificate to its use when
it is first booted.
Signed-off-by: Arthur Su <arthur.su@tp-link.com>
wifi-2984: tplink device mount manufacturing data and certificates
The EX227 and EX447 devices are added ath11k_generate_macs method.
Signed-off-by: Arthur Su <arthur.su@tp-link.com>
When the manufacturer block does not contain the model info,
it is then extracted from /tmp/sysinfo/board_name, stripped
off the manufacturer name and converted for all upper case string.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
This fix applies to EA8300, WF194c and EAP102. For these APs,
the br-wan is mapped to eth1 instead of eth0. Adding fix to
use the mac address from eth1 as ID for these particular APs.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Reading model info from flash. If no info present in flash,
then read it from /tmp/sysinfo/boardname.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Adding code to fall-back and read eth0 address incase the
manufacturing data is not present for the id/mac_address field.
The same is also populated in the qr code field of AWLAN_Node.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
A painfully slow bug hunt lead to the fact that edge-core 5410-L EU
variant has radios that hang when the driver sets the regulatory domain
to USA.
So, stop overriding regulatory domain by default. If a user wants to
do this on a platform, it can be changed on their specific platform.
While at it, increase tx buffers for 9984 a bit since we have some
extra RAM to spare. This will help scale high tx speed with lots of
stations associated since there is more buffer space to build larger ampdus.
Signed-off-by: Ben Greear <greearb@candelatech.com>
If the board does not have a special way to read the serial/model, use the
same method as EC420 does as a default.
Signed-off-by: John Crispin <john@phrozen.org>
Rick noticed I had a typo in previous commit, which caused 16 vdevs
to be allocated instead of 8. Fix this to be back to 8 as intended,
and now we can increase stations-per-radio to 147 again.
Signed-off-by: Ben Greear <greearb@candelatech.com>
This rebalances the 4019 firmware memory usage so it can support
more TIDs. This should fix the crash seen in CICD stress tests
of the ea3800 platform. Bug would have shown on other 4019 radio
testbeds as well if tested to same level as we test ea8300.
Signed-off-by: Ben Greear <greearb@candelatech.com>
The radio is a qca9984 not a qca9888. Apply the correct firmware configuration.
The change also appplies to the AP2220 (obsolete).
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
- Added helper script to apply redirector address
- Added support to preserve the same
- Changed the default fqdn
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
Doing the symlinking in uci-defaults was racey and on first boot the cfg
was not always present when the driver loads.
Signed-off-by: John Crispin <john@phrozen.org>
When adding a new baord we had to edit files all over the tree. After this patch
they are all located in the same folder.
Signed-off-by: John Crispin <john@phrozen.org>