Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/git.mk
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ git-status:
$(Q) echo "$(call COLOR_GRAY,LOCAL) - on local branch"
$(Q) echo -n "$(call COLOR_RED,PUSH) - push needed; "
$(Q) echo -n "$(call COLOR_MAGENTA,MERGE) - branch diverged; "
$(Q) echo "! - there are uncommited files"
$(Q) echo "! - there are uncommitted files"
$(Q) echo
$(Q) (cd .. ; $(call GIT_STATUS,Master))
$(Q) git -C "$(MASTER_REPO)" submodule --quiet foreach --recursive '$(call GIT_STATUS,$$path)'
Expand Down
2 changes: 1 addition & 1 deletion build/help.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ help:
$(NQ) " unit-install Build and install ALL active units"
$(NQ) " unit-clean Clean ALL active units"
$(NQ) " unit-list List ALL active units"
$(NQ) " unit-run Build and exectutes ALL active units"
$(NQ) " unit-run Build and executes ALL active units"
$(NQ) " unit-coverage Build, execute and provide coverage (requires CC=clang-6.0)"
$(NQ) ""
$(NQ) " UNIT_PATH/clean Clean a single UNIT"
Expand Down
4 changes: 2 additions & 2 deletions build/kconfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# distilled version of the file (diff), meaning that it
# doesn't contain options that are not different from the
# defaults
# KCONFIG_DEFAULT- Path to the defualt kconfig file, if none is set
# KCONFIG_DEFAULT- Path to the default kconfig file, if none is set
#
# KCONFIG - This either points to KCONFIG_TARGET or KCONFIG_DEFAULT
#
Expand Down Expand Up @@ -90,7 +90,7 @@ $(info Using configuration file: $(KCONFIG_TARGET))
KCONFIG:=$(KCONFIG_TARGET)
endif

# KCONFIG_WORK is the full (it includes defualt options) configuration file that will be generated from KCONFIG.
# KCONFIG_WORK is the full (it includes default options) configuration file that will be generated from KCONFIG.
KCONFIG_WORK:=$(KWORKDIR)/$(notdir $(KCONFIG))

# skip including and generating kconfig if goal is to cleanup
Expand Down
2 changes: 1 addition & 1 deletion build/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def process_rootfs(dirname):
if filename.endswith(TEMPLATE_SUFFIX):
# Preserve original file permission
os.chmod(dst, os.stat(src).st_mode)
# Clenaup source template file
# Cleanup source template file
os.unlink(src)

def process_ovsdb(filename):
Expand Down
4 changes: 2 additions & 2 deletions build/unit-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ $(UNIT_BUILD)/.target: $(TESTBINDIR)/$(UNIT_BIN)/unit $(TESTBINDIR)/$(UNIT_BIN)/

# Use the .target file to actually see if any of the libraries changed
# Use -Wl,--start-group to force GNU LD to ignore the link order; this might be slower for larger projects
# Special naming convetion for unit testing $(UNIT_BIN)/unit instead of $(UNIT_BIN)
# Special naming convention for unit testing $(UNIT_BIN)/unit instead of $(UNIT_BIN)
$(TESTBINDIR)/$(UNIT_BIN): | $(TESTBINDIR)

# In case data folder exist in UNIT_PATH, copy directory and its content to bin folder
Expand Down Expand Up @@ -769,7 +769,7 @@ unit-run: unit-run-cleanup
echo "$(call COLOR_GREEN,Unit-test complete)";\
fi

# For coverage execution, we must intially check if we have properly set up CLANG
# For coverage execution, we must initially check if we have properly set up CLANG
# and the associated tools.
#
unit-coverage-prerequisite:
Expand Down
2 changes: 1 addition & 1 deletion kconfig/Kconfig.osp_pki
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# OpenSync Public Key Infrastracture
# OpenSync Public Key Infrastructure
#
source "src/lib/osp/kconfig/Kconfig.osp_pki"

Expand Down
2 changes: 1 addition & 1 deletion kconfig/minimize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# - enter the name of the base config in Common/INCLUDE
# - upon exiting the minimized config will contain the include directive
# and the file will contain just the delta against the base
# To dissasociate from the base config:
# To disassociate from the base config:
# - run make menuconfig
# - delete the Common/INCLUDE value
# - upon exiting the minimized config will be a delta against the default config.
Expand Down
2 changes: 1 addition & 1 deletion rootfs/common/INSTALL_PREFIX/scripts/vlan.funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ vlan_ifname()
vlan_add()
{
[ -d "/sys/class/net/$1.$2" ] && return 0
vlan_log "Adding VLAN interface $1.$2 usig vconfig"
vlan_log "Adding VLAN interface $1.$2 using vconfig"
vconfig set_name_type DEV_PLUS_VID_NO_PAD
vconfig add "$1" "$2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ospkg_select_active_mount_layer()
fi
# get current after eventual changes
local CURR_NAME_2=$(ospkg_get_current_name)
# if curent changed reset overlay/upper
# if current changed reset overlay/upper
if [ "$CURR_NAME_1" != "$CURR_NAME_2" ]; then
ospkg_reset_overlay_upper "$OVERLAY_UPPER"
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ ip6tables_boot()

#
# - Clear all wavering rules
# - Stop the upnp deamon and flush its rules
# - Stop the upnp daemon and flush its rules
#
iptables_flush()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#
# Performs a DNS health check on a gateway node by verifying name resolution
# against the configured DNS servers on the system and a few reference global
# DNS servers. If at least one such DNS lookup succeedes the health check passes.
# DNS servers. If at least one such DNS lookup succeeds the health check passes.
#
# If there is no internet connectivity at all (check performed by pinging a few
# random global root DNS servers) and/or there is no IP address assigned on the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ OVSH=$CONFIG_INSTALL_PREFIX/tools/ovsh
# active (enabled) radio. Not having any AP interfaces is considered
# an error and may need a recovery.

# Skip healtcheck when all radios are disbaled
# Skip healtcheck when all radios are disabled
[ -z "$($OVSH -r s Wifi_Radio_Config -w enabled==true if_name)" ] && Healthcheck_Pass

for vif_uuid in $($OVSH -rU s Wifi_VIF_Config _uuid -w enabled==true -w mode==ap)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LOG_MODULE="TMP_DF"
# Check free space on /tmp. If tmp free space is bellow the configured limit,
# the check fails with logging the top offenders.

# Calcualte free space on /tmp, express it as %
# Calculate free space on /tmp, express it as %
DF=$(df -k /tmp | tail -n +2 | awk '{printf("%0.0f", $4 / $2 * 100.0)}')

if [ "${DF}" -le ${DF_CRIT_LOW} ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ REGEX="unregister_netdevice: waiting for .* to become free. Usage count"
# timestamps this will detect false positives
# really easily. If that happens it is preferred
# to enable kernel log timestamps on the given
# paltform. Reworking the logic in the script to
# platform. Reworking the logic in the script to
# work with no timestamps is not trivial.
dmesg | awk -v "LASTLINE=$LASTLINE" '
/'"$REGEX"'/ { FOUND=$0 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# and thus causing ct overflow condition. When this condition is active
# no new connections will be allowed.
#
# To avoid loosing connectivity ct table will be flushed when reaching
# To avoid losing connectivity ct table will be flushed when reaching
# CT_ALLOWED. While condition may be recurring, at least
# clients and device should not permanently loose connectivity.
#
Expand Down
4 changes: 2 additions & 2 deletions src/cellm/inc/cell_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static inline bool cell_info_set_string(char *source, char **dest)
{
if (dest == NULL) return false;

/* Bail if the destination is alreay allocated */
/* Bail if the destination is already allocated */
if (*dest != NULL) return false;

if (source == NULL) return true;
Expand Down Expand Up @@ -405,7 +405,7 @@ struct cell_info_packed_buffer
* @brief Generates a cell info serialized protobuf
*
* Uses the information pointed by the info parameter to generate
* a serialized obervation point buffer.
* a serialized observation point buffer.
* The caller is responsible for freeing to the returned serialized data,
* @see cell_info_free_packed_buffer() for this purpose.
*
Expand Down
4 changes: 2 additions & 2 deletions src/cellm/inc/lte_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ static inline bool lte_info_set_string(char *source, char **dest)
{
if (dest == NULL) return false;

/* Bail if the destination is alreay allocated */
/* Bail if the destination is already allocated */
if (*dest != NULL) return false;

if (source == NULL) return true;
Expand Down Expand Up @@ -482,7 +482,7 @@ struct lte_info_packed_buffer
* @brief Generates a lte info serialized protobuf
*
* Uses the information pointed by the info parameter to generate
* a serialized obervation point buffer.
* a serialized observation point buffer.
* The caller is responsible for freeing to the returned serialized data,
* @see lte_info_free_packed_buffer() for this purpose.
*
Expand Down
20 changes: 10 additions & 10 deletions src/cellm/src/cellm_info_report.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ static Interfaces__CellInfo__CellularNetInfo *cellm_info_set_cell_net_info(struc
cell_net_info = report->cell_net_info;
if (cell_net_info == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1422,7 +1422,7 @@ static Interfaces__CellInfo__CellularDataUsage *cellm_info_set_cell_data_usage(s
cell_data_usage = report->cell_data_usage;
if (cell_data_usage == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1452,7 +1452,7 @@ static Interfaces__CellInfo__LteNetServingCellInfo *cellm_info_set_srv_cell(stru
cell = report->cell_srv_cell;
if (cell == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1629,7 +1629,7 @@ static Interfaces__CellInfo__NetCarrierAggInfo *cellm_info_set_pb_primary_carrie
pca = report->cell_pca_info;
if (pca == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1671,7 +1671,7 @@ static Interfaces__CellInfo__NetCarrierAggInfo *cellm_info_set_pb_lte_secondary_
{
Interfaces__CellInfo__NetCarrierAggInfo *pb;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1752,7 +1752,7 @@ static Interfaces__CellInfo__PdpContextInfo *cellm_info_set_pb_pdp_ctx_param(
{
Interfaces__CellInfo__PdpContextInfo *pb;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1832,7 +1832,7 @@ static Interfaces__CellInfo__CellularNr5gCellInfo *cellular_info_set_pb_nr5g_sa_
cell = report->nr5g_sa_srv_cell;
if (cell == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1896,7 +1896,7 @@ static Interfaces__CellInfo__CellularNr5gCellInfo *cellular_info_set_pb_nr5g_nsa
cell = report->nr5g_nsa_srv_cell;
if (cell == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1956,7 +1956,7 @@ static Interfaces__CellInfo__CellularNr5gCellInfo *cellm_info_set_pb_nrg_seconda

if (cell == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Assign the message fields */
Expand Down Expand Up @@ -2290,7 +2290,7 @@ static Interfaces__CellInfo__CellularInfoReport *cellm_info_set_pb_report(struct
* @brief Generates a cell info serialized protobuf
*
* Uses the information pointed by the info parameter to generate
* a serialized obervation point buffer.
* a serialized observation point buffer.
* The caller is responsible for freeing to the returned serialized data,
* @see cell_info_free_packed_buffer() for this purpose.
*
Expand Down
18 changes: 9 additions & 9 deletions src/cellm/src/cellm_lte_report.c
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ static Interfaces__LteInfo__LteNetInfo *lte_info_set_lte_net_info(struct lte_inf
lte_net_info = report->lte_net_info;
if (lte_net_info == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1115,7 +1115,7 @@ static Interfaces__LteInfo__LteDataUsage *lte_info_set_lte_data_usage(struct lte
lte_data_usage = report->lte_data_usage;
if (lte_data_usage == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1146,7 +1146,7 @@ static Interfaces__LteInfo__LteNetServingCellInfo *lte_info_set_srv_cell(struct
cell = report->lte_srv_cell;
if (cell == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1299,7 +1299,7 @@ static Interfaces__LteInfo__LteNetCarrierAggInfo *lte_info_set_pb_primary_carrie
pca = report->lte_pca_info;
if (pca == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1334,7 +1334,7 @@ static Interfaces__LteInfo__LteNetCarrierAggInfo *lte_info_set_pb_secondary_carr
sca = report->lte_sca_info;
if (sca == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1369,7 +1369,7 @@ static Interfaces__LteInfo__LtePDPContextInfo *lte_info_set_pb_pdp_ctx_param(str
pdp_ctx = report->lte_pdp_ctx_info;
if (pdp_ctx == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1410,7 +1410,7 @@ static Interfaces__LteInfo__CellularNr5gSaServingCellInfo *cellular_info_set_pb_
cell = report->nr5g_sa_srv_cell;
if (cell == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1474,7 +1474,7 @@ static Interfaces__LteInfo__CellularNr5gNsaServingCellInfo *cellular_info_set_pb
cell = report->nr5g_nsa_srv_cell;
if (cell == NULL) return NULL;

/* Allocate the signal quality mesage */
/* Allocate the signal quality message */
pb = CALLOC(1, sizeof(*pb));

/* Initialize the message */
Expand Down Expand Up @@ -1665,7 +1665,7 @@ static Interfaces__LteInfo__LteInfoReport *lte_info_set_pb_report(struct lte_inf
* @brief Generates a lte info serialized protobuf
*
* Uses the information pointed by the info parameter to generate
* a serialized obervation point buffer.
* a serialized observation point buffer.
* The caller is responsible for freeing to the returned serialized data,
* @see lte_info_free_packed_buffer() for this purpose.
*
Expand Down
2 changes: 1 addition & 1 deletion src/cellm/src/cellm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ int main(int argc, char **argv)
return -1;
}

// Initialzie CELLM
// Initialize CELLM
cellm_info_event_init();

// Create client table
Expand Down
2 changes: 1 addition & 1 deletion src/cellm/src/cellm_ovsdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ void callback_Wifi_Inet_State(
rc = strncmp(old_inet_state->if_type, LTE_TYPE_NAME, strlen(old_inet_state->if_type));
if (!rc)
{
LOGI("%s: OVSDB_UDATE_DEL: %s, CELLM_STATE_DOWN", __func__, old_inet_state->if_name);
LOGI("%s: OVSDB_UPDATE_DEL: %s, CELLM_STATE_DOWN", __func__, old_inet_state->if_name);
cellm_set_state(CELLM_STATE_DOWN);
}
break;
Expand Down
2 changes: 1 addition & 1 deletion src/cm2/kconfig/Kconfig.managers
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if MANAGER_CM
bool "Set default uplink priority based on radio band"
default n
help
Use dafault uplink priority based on radio type for WiFi links, using during onboarding
Use default uplink priority based on radio type for WiFi links, using during onboarding

config CM2_USE_DRYRUN_ON_GRE
bool "Use udhcpc dryrun on gre interfaces"
Expand Down
2 changes: 1 addition & 1 deletion src/cm2/src/cm2_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ static void cm2_dhcpc_dryrun_cb(struct ev_loop *loop, ev_child *w, int revents)
if (cm2_is_eth_type(dhcp_dryrun->if_type) &&
g_state.link.is_used &&
cm2_is_wifi_type(g_state.link.if_type)) {
LOGI("%s: Detected Leaf with pluged ethernet, connected = %d",
LOGI("%s: Detected Leaf with plugged ethernet, connected = %d",
dhcp_dryrun->if_name, g_state.connected);
eth_timeout = g_state.connected ? CONFIG_CM2_ETHERNET_SHORT_DELAY : CONFIG_CM2_ETHERNET_LONG_DELAY;
cm2_delayed_eth_update(dhcp_dryrun->if_name, eth_timeout);
Expand Down
Loading