Commit Graph

32 Commits

Author SHA1 Message Date
leon_nguyen
c8d216ad01 profiles: mxl: fix tr181-buttons kernel module dependencies clash
Currently both OSPv1 and OSPv2 boards are pulling in kmod-gpio-button-hotplug,
which causes issues with kmod-gpio-keys needed by new tr181-button component
which is LL-API compliant.

Lets fix it by removing the kmod-gpio-button-hotplug from the MxL board profiles.

References: PCF-1673
Signed-off-by: Leon Nguyen (Gemtek) <leon_nguyen@vn.gemteks.com>
2025-05-02 09:33:52 +02:00
Bhavesh Bharadiya
20275e538d profiles: mxl: update mxl_x86 to disable serdes power saving feature
With serdes power saving feature LAN ports take time to come up.
LAN port takes more than 7 seconds to come up.
Disabling it since due to this prplmesh tests are failing.

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2025-03-14 15:04:47 +00:00
Bhavesh Bharadiya
d359fd7f75 profiles: mxl: update mxl_x86,OSPv1 and OSPv2 to fix default endpoints
* For OSPv1 and OSPv2 default endpoints are not created. Added default endpoints entry in networklayout.json.
 * Update mxl_wlan_hostap_ng_wav700 profile to fix default endpoint issue. Fixes PPM-3045
 * integrated patches for prplmesh-4.3 certification.

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2025-03-14 15:04:47 +00:00
Bhavesh Bharadiya
ee93fed5d2 profiles: mxl: update mxl_x86,OSPv1 and OSPv2 to revert fix for PCF-1161
PCF-1161 fix requires feed_net_core version bump to v17.2.1
Reverting fix now, once feed_net_core version is bumped fix has to
be added.

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2025-03-14 15:04:47 +00:00
Bhavesh Bharadiya
fee520effc profiles: update mxl_x86,OSPv1 and OSPv2 to UPDK 9.1.70
Update mxl_wlan_hostap_ng_wav700 profile for below changes:
 * bump to version 7.2.50
 * Fixes PCF-1278 and PCF-1111

Update mxl_x86,OSPv1 and OSPv2 profiles for below changes:
 * bump to version updk_9.1.70
 * added patches from uboot-2022.07
 * removed MxL multicast packages since prpl multicast is enabled
 * removed voice packages because these are not compiling with openwrt23.05
 * Fixes PCF-1161, PCF-1169, PCF-1259 and PCF-1232

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2025-03-14 15:04:47 +00:00
Bhavesh Bharadiya
a0add24384 profiles: update mxl_x86,OSPv1 and OSPv2 to support gpio reset button
Update mxl_x86,OSPv1 and OSPv2 profiles for below changes:
 * Enabled gpio reset button.
 * ppmd and gpon-omci-onu packages converted to binary.
 * removed secure_upgrade_utils package since it is not in use.

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2025-03-14 15:04:47 +00:00
Bhavesh Bharadiya
ee57bff7c1 profiles: update mxl_x86,OSPv1 and OSPv2 to enable USB stack
Enabled USB packages and modules to make USB stack functional.
Fixes PCF-1299

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2025-03-14 15:04:47 +00:00
Bhavesh Bharadiya
2cf445d20e profiles: mxl: update mxl_x86 and OSPv1 to UPDK 9.1.60.2.1
* For OSPv1 default endpoints are not created. Added default endpoints entry in networklayout.json.
 * Update mxl_wlan_hostap_ng profile to fix default endpoint issue.
 * bump to version updk_9.1.60.2.1 to integrate patches for prplmesh-4.3 certification.

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
(cherry picked from commit cb427fdae0)
2025-01-30 14:45:29 +01:00
Bhavesh Bharadiya
418bbe5f67 PROVISORY: profiles: mxl: use ebtables for service prioritization
Added ebtables priority target and ebtables extension to support
service prioritization for MxL platforms.
Fix for User Priority.
References: PPM-3039

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram tests]
2024-11-14 07:13:08 +00:00
Bhavesh Bharadiya
7904ce44d9 profiles: update mxl_x86 and OSPv1 to UPDK 9.1.60.2
Update mxl_wlan_hostap_ng profile for below changes:
 * bump to version 6.2.2.171
 * Fix for R4: OSP: MAP-4.5.1_ETH: Setting TX power over the model fails
 * Fix for Mxl OSP v1 - Scan takes too much time to return results.

Fixes: PPM-2841 and PPM-2852

Update mxl_x86 and OSPv1 profiles for below changes:
 * bump to version updk_9.1.60.2

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2024-10-22 12:13:14 +00:00
Petr Štetiar
e41ca2911a PROVISORY: profiles: mxl: workaround OpenSSL 3 and GCC 12.3.0 build issues
There are currently several UPDK packages failing to build due to
OpenSSL 3.0 API deprecations or a new `-Werror=address` flag enabled in
GCC 12.3.0:

 ERROR: package/feeds/ugw_sdk/libscapi failed to build.

   scapi_nslookup.c: In function 'scapi_nslookup':
   scapi_nslookup.c:388:21: error: the comparison will always evaluate as 'true' for the address of 'dnsserver' will never be NULL [-Werror=address]
    388 |                 if (pxNSLookupQuery->dnsserver)
        |                     ^~~~~~~~~~~~~~~

 ERROR: package/feeds/ppa/ppa-drv failed to build.

   ppa-drv-4.2.3.50/src/ppa_api/ppa_api_session.c: In function 'ppa_mc_check_dst_itf':
   ppa-drv-4.2.3.50/src/ppa_api/ppa_api_session.c:3423:47: error: the comparison will always evaluate as 'true' for the address of 'array_mem_ifs' will never be NULL [-Werror=address]
   3423 |                 if (p_mc_group->array_mem_ifs != NULL) {
        |                                               ^~

 ERROR: package/feeds/pon/gpon-omci-onu failed to build.

  ../../src/omci_mic_check.c: In function 'omci_mic_cmac_calc':
  ../../src/omci_mic_check.c:117:9: error: 'CMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
   117 |         CMAC_CTX *ssl_ctx = CMAC_CTX_new();
       |         ^~~~~~~~

 ERROR: package/feeds/wlan_6x/iwlwav-hostap-ng-uci failed to build (build variant: release)

  ../src/crypto/tls_openssl.c: In function 'tls_connection_private_key':
  ../src/crypto/tls_openssl.c:3827:17: warning: 'SSL_use_RSAPrivateKey_ASN1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   3827 |                 if (SSL_use_RSAPrivateKey_ASN1(conn->ssl,
        |                 ^~

So lets workaround those issues by gloabal
`-Wno-error=deprecated-declarations -Wno-error=address` compiler flags
until those issues are fixed.

References: PCF-1169
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2024-09-19 10:35:20 +00:00
Bhavesh Bharadiya
0a163d88cb profiles: OSPv1 and OSPv2 GCC12 compilation fix
Updated below profiles:
 * mxl_wlan_hostap_ng.yml
 * mxl_wlan_hostap_ng_wav700.yml
 * mxl_x86_osp_tb341.yml
 * mxl_x86_osp_tb341_v2.yml

Fixed compilation issues with GCC12 , due to enablement of -Werror=address.

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2024-09-12 19:59:02 +00:00
Bhavesh Bharadiya
26ebde22d3 profiles: update mxl_x86 to UPDK 9.1.60.1
Update mxl_wlan_hostap_ng profile for below changes:
 * bump to version WLAN6.2.2.126
 * Fixes PPM-2806

Update mxl_x86 profiles for below changes:
 * bump to version updk_9.1.60.1

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
(cherry picked from commit 37f85eaf32)
2024-09-12 19:58:57 +00:00
Bhavesh Bharadiya
3d0e49e941 profiles: update mxl_x86 to UPDK 9.1.60
Update mxl_wlan_hostap_ng profile for below changes:
 * bump to version WLAN6.2.2.115
 * Features:
   1) STA statistics
   2) Action frame
   3) Added ProbeReqListTimer API- Support for timer to
      query probe request list (which includes STA MAC address,
      age of probe request and RSSI) from driver and generate
      event through ctrl interface for each probe request with
      source address and signal strength
   4) Added sCcaTh API- sets the CCA threshold (the threshold
      to decide if a channel is clear or not for data transmission)
   5) Added sub_band_dfs API - switch to lower BW upon detection
      of radar on part of the BW of a 5GHz channel

Update mxl_x86 profiles for below changes:
 * bump to version updk_9.1.60

Fixes PCF-1101

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
(cherry picked from commit 5a61ac30e6)
2024-09-12 19:58:56 +00:00
Bhavesh Bharadiya
33092d7e86 profiles: update mxl_x86 to support MxL fwupgrade feature
Enabled MxL fwupgrade mechanism

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
(cherry picked from commit 025c76f947)
2024-09-12 19:58:55 +00:00
Bhavesh Bharadiya
6fd7965b16 profiles: update mxl_x86 to improve Software Acceleration
Enabling extmark kernel module to add extension mark(extmark) param in sk_buff.
This improves Software Acceleration on MxL boards.

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
(cherry picked from commit e2f901e441)
2024-09-12 19:58:54 +00:00
Bhavesh Bharadiya
eef00dacf4 profiles: update mxl_x86 to UPDK 9.1.50
Update mxl_wlan_hostap_ng profile for below changes:
* bump to version WLAN6.2.2.65

Update mxl_x86 profiles for below changes:
* bump to version updk_9.1.50
* Enabled Maxlinear Multicast modules
* Enabled MaxLinear kernel speedtest module
* TC based QoS-SP, WRR, Q Shaping, DT, WRED
* Emmc flash partition layout now supports manufacturing data, LCM partition and separate rootfs data partition.
  * prpl Standard Flash layout v1.0 compliance is work in progress, tracked in PCF-1101
* LCM partition is added to Emmc flash
* LED nodes for MxL OSP platform are enabled
* An additional 4 GB DDR U-Boot configuration is added

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [testbeds, test fixes]
2024-07-11 06:04:47 +00:00
Petr Štetiar
50d277abe6 profiles: mxl: remove KERNEL_GIT_DEPTH config defaults
It seems, that MxL has internally similar KERNEL_GIT_DEPTH config
option, but implemented as a string type, but prplOS has it implemented
as integer with valid range validation with default value of 0, which
results into following kconfig's complaints:

 .config:393:warning: symbol value '""' invalid for KERNEL_GIT_DEPTH

So lets fix it by removing the bogus default config options from the
profiles and stick to the config defaults.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-07-11 06:04:27 +00:00
Bhavesh Bharadiya
690fa25d19 profiles: update mxl_x86 to UPDK 9.1.40
Update mxl_wlan_hostap_ng profile for below changes:
* bump to version WLAN6.2.2.24

Update mxl_x86 profiles for below changes:
* bump to version updk_9.1.40
* FW dump support for WLAN
* Enabled voice modules and packages for MxL LGP platform
* Updated feed for opensource packages with required packages.
* UDPST upgrade to version 8.0.0
* Support for secure storage API in MxL LGP platform

* Bug fixes:
1. WLAN interfaces are not seen under "ppacmd getlan" command output
2. 2.5G ethernet link speed detection fail
3. Fix the unnecessary warning

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2024-07-11 06:04:20 +00:00
Usha Kumari
4320bc685a profiles: update mxl_x86
Update mxl_x86_osp_tb341 and mxl_x86 for below change:
* Setting the EthernetUNI Name with OSP/LGP PON linux interface name "VANI0".
  -Currently EthernetUNI Name is displaying PON interface textual description "Virtual Eth i/f point 1".
   WanManager is using EthernetUNI Name field to build the interface stack.So, it has to be set to actual linux interface name.
   Hence, updating the EthernetUNI Name with PON linux interface name "VANI0".

Closes: PCF-982
Signed-off-by: Usha Kumari <ukumari@maxlinear.com>
2024-07-11 06:03:24 +00:00
Petr Štetiar
7dfc5b25f8 profiles: mxl: fix wrong rootfs Git hash references
During the last minute rebase of MR!361 I've accidentaly reverted Git
hash references in rootfs repositories, so lets fix it by using the
correct references.

Fixes: f90c6f576056 ("profiles: update mxl_x86 to UPDK 9.1.30.4")
Reported-by: Usha Kumari <ukumari@maxlinear.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-07-11 06:03:17 +00:00
ukumari
6f839ef6e1 profiles: update mxl_x86 to UPDK 9.1.30.4
Update mxl_wlan_hostap_ng for below changes:
* Added 0008-move-out-wld-custom-conf.patch to remove 21_wld-defaults-rads.odl
  and 31_wld-defaults-vaps.odl which were corrupting  6ghz config.
* Fix for iw survey dump issue
* Fixed warning in wireless calibration script.

Update mxl_x86 and mxl_x86_osp_tb341 for below changes:
* Updated networklayout.json with 6ghz guest vap configuration.
* Fixed warning while reading led configuration on bootup.
* Removed the hotplug script 75-mxl-wireless.
* Fixed warning in datapath driver.

Signed-off-by: Usha Kumari <ukumari@maxlinear.com>
2024-07-11 06:03:15 +00:00
Marouan MCHARFI
ae58630ff5 profiles: feed_prpl, mxl_wlan_hostap_ng & mxl_x86_osp_tb341: updating revision
- upstep to latest pwhm dep (pwhm, libswlc, libswla) tags and
  align prplmesh with the status in prplos branch
- Use revision that include adaptation of MxL component to pwhm.

Signed-off-by: Marouan MCHARFI <marouan.mcharfi_ext@softathome.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [adjust test cases]
2024-07-11 06:03:07 +00:00
Bhavesh Bharadiya
96391c7702 PROVISORY: profiles: update mxl_x86 profiles to fix RTM_DELLINK event issue
Whenever we connect/disconnect station to/from AP, RTM_DELLINK event is
generated. Disabling multicast packages as a workaround to fix this
issue.

Fixes: PCF-965
Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit facelift]
2024-07-11 06:02:57 +00:00
Matthias FRANCK
9fb61aaf8d profiles: Add M1 features
Enable the following packages:
- cthulhu-dhcpc
- cthulhu-networking
- mod-ra-radvd
- mod-dns-unbound
- mod-dhcpv4c
- mod-logical-api
- mod-ppp-daemon
- netmodel-dslite
- netmodel-xpon
- tr181-ipdiagnostics
- tr181-security

Add the same time use miniupnpd2-prpl iso miniupnpd2-iptables. The miniupnpd-prpl package was created to work properly with the tr181 components.

Signed-off-by: Matthias FRANCK <matthias.franck_ext@softathome.com>
2024-07-11 06:02:46 +00:00
Bhavesh Bharadiya
d042ba5b88 profiles: update mxl_x86 to UPDK 9.1.30.1
Update mxl_x86 profiles for below changes:
 * mac address assignment for WAN & LAN
 * disabling ZWDFS till pwhm fully supports ZWDFS
 * support compiler security features
 * Reverting partion alignment changes on Mxl LGP Platform

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2024-07-11 06:02:29 +00:00
Bhavesh Bharadiya
55021395c3 profiles: update mxl_x86 to UPDK 9.1.30
Update mxl_wlan_hostap_ng profile for below changes:
 * bump to version updk_9.1.30
 * 6GHz radio support in Mxl vendor module package for wireless hardware manager
 * vendor specific commands and events support in Mxl vendor module package for wireless hardware manager

mxl_wlan profile bump to version updk_9.1.30

Update mxl_x86 profiles for below changes:
 * bump to version updk_9.1.30
 * Enabled GCC11 by default
 * Uboot partition alignment to erase block size
 * Bug fixes:
   1. OSP 10G LAN Support
   2. Interface Mac address assignment fix
   3. Fix for PON GEM init issue
   4. Fixed Recursive dependencies found during .config generation
   5. Modified package makefiles to fix error messages coming during .config generation

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2024-07-11 06:02:10 +00:00
Petr Štetiar
5dacbea98c profiles: prpl: miniupnpd2: disable console logging by default
Recent miniupnpd versions shipped with prplos-next likely introduced
some changes which result in a lot of noisy logging output directly into
the console, mainly during the startup:

 miniupnpd[5549]: Cannot get IP address for ext interface . Network is down
 miniupnpd[5549]: HTTP listening on port 5000
 miniupnpd[5549]: no HTTP IPv6 address, disabling IPv6
 miniupnpd[5549]: Listening for NAT-PMP/PCP traffic on port 5351
 miniupnpd[5549]: shutting down MiniUPnPd
 miniupnpd[6161]: HTTP listening on port 5000
 miniupnpd[6161]: no HTTP IPv6 address, disabling IPv6
 miniupnpd[6161]: Listening for NAT-PMP/PCP traffic on port 5351

Those errors are expected and can’t be fixed, as in the time when
miniupnpd starts the network is not ready yet.

So lets silence those console log splats by moving the console logging
under `-d` debug flag, so basically restoring previous logging
experience.

References: PCF-924
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-07-11 06:02:02 +00:00
Bhavesh Bharadiya
6f0de2dbfa profiles: prpl: Enable pwhm for intel_x86 platform
Update mxl_wlan_hostap_ng profile for below changes:

 * bump to version updk_9.1.20.1
 * enable Mxl vendor module package for wireless hardware manager
 * remove prplmesh files from mxl-wlan-feed so that prplmesh is
 enabled from feed-prpl
 * disable existing wifi manager from mxl-wlan-feed so that pwhm
 controls wifi interfaces, wifi config and manages the daemons

mxl_x86 profile bump to version updk_9.1.20.1

mxl_x86_osp_tb341 profile bump to version updk_9.1.20.1

mxl_x86_sec profile bump to version updk_9.1.20.1

Bump feed-prpl to bring in following changes:

 * prplMesh: update libswla, libswlc and pwhm version
 * prplMesh: platform: Fix prplMesh compilation failure for prplOS UGW platform
 * prplMesh: platform: Enable pwhm for intel_x86 platform

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2024-07-11 06:01:59 +00:00
Tathagata Das
165d595261 profiles: update mxl_x86 to UPDK 9.1.20
Added secureboot features
 - LED indication for boot stages
 - LED indication for error scenarios

Signed-off-by: Ramulu K's avatarRamulu Komme <rkomme@maxlinear.com>
2024-07-11 06:01:47 +00:00
Tathagata Das
785d017213 profiles: update mxl_x86 to UPDK 9.1.15
Added support for hostapd_ng, segregate WLAN profile 
mxl_wlan.yml: uses MXL customized hostap
mxl_wlan_hostap_ng.yml: uses hostap-ng without any MXL customization 

Signed-off-by: Ramulu Komme <rkomme@maxlinear.com>
2024-07-11 06:01:09 +00:00
Debopam Bandyopadhyay
5e2bc1e71e profiles: update mxl_x86 as MxL UPDK 9.1.10
add LGP support
add OSP support
add secure boot support for LGP

Currently missing support for upstream GCC compiler version 11 and
target flags is being tracked in PCF-813.

Signed-off-by: Debopam Bandyopadhyay <dbandopadhyay@maxlinear.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [PCF-813]
2024-07-11 06:00:52 +00:00