mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-17 08:42:18 +00:00
To keep fork as closely synced with upstream, move NSS packages back into repository. Not sure why they were moved out from my original fork. * nss-firmware * qca-nss-crypto * qca-nss-cfi Removed the following: * mhz (already available in packages repo) * qrtr (unecessary, and has been broken for years) Also moved packages out of `qca` and back into root directory.
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
--- a/frontends/include/ecm_front_end_common.h
|
|
+++ b/frontends/include/ecm_front_end_common.h
|
|
@@ -332,15 +332,19 @@ static inline bool ecm_front_end_ppppoe_
|
|
fe_type = ecm_front_end_type_get();
|
|
switch (fe_type) {
|
|
#ifdef ECM_FRONT_END_NSS_ENABLE
|
|
+#ifdef ECM_INTERFACE_PPPOE_ENABLE
|
|
case ECM_FRONT_END_TYPE_NSS:
|
|
ret = (nss_pppoe_get_br_accel_mode() == NSS_PPPOE_BR_ACCEL_MODE_DIS);
|
|
break;
|
|
#endif
|
|
+#endif
|
|
#ifdef ECM_FRONT_END_SFE_ENABLE
|
|
+#ifdef ECM_INTERFACE_PPPOE_ENABLE
|
|
case ECM_FRONT_END_TYPE_SFE:
|
|
ret = (sfe_pppoe_get_br_accel_mode() == SFE_PPPOE_BR_ACCEL_MODE_DISABLED);
|
|
break;
|
|
#endif
|
|
+#endif
|
|
default:
|
|
DEBUG_TRACE("front end type: %d\n", fe_type);
|
|
break;
|
|
@@ -362,15 +366,19 @@ static inline bool ecm_front_end_ppppoe_
|
|
fe_type = ecm_front_end_type_get();
|
|
switch (fe_type) {
|
|
#ifdef ECM_FRONT_END_NSS_ENABLE
|
|
+#ifdef ECM_INTERFACE_PPPOE_ENABLE
|
|
case ECM_FRONT_END_TYPE_NSS:
|
|
ret = (nss_pppoe_get_br_accel_mode() == NSS_PPPOE_BR_ACCEL_MODE_EN_3T);
|
|
break;
|
|
#endif
|
|
+#endif
|
|
#ifdef ECM_FRONT_END_SFE_ENABLE
|
|
+#ifdef ECM_INTERFACE_PPPOE_ENABLE
|
|
case ECM_FRONT_END_TYPE_SFE:
|
|
ret = (sfe_pppoe_get_br_accel_mode() == SFE_PPPOE_BR_ACCEL_MODE_EN_3T);
|
|
break;
|
|
#endif
|
|
+#endif
|
|
default:
|
|
DEBUG_WARN("front end type: %d is not supported\n", fe_type);
|
|
break;
|