Skip to content

Commit 4670aa6

Browse files
authored
Merge branch 'rdkcentral:develop' into dpp_changes
2 parents 9be21ac + 8e08be2 commit 4670aa6

File tree

12 files changed

+40
-4
lines changed

12 files changed

+40
-4
lines changed

build/linux/bpi/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ONEWIFI_DIR=$(pwd)
44
HOSTAP_DIR="$(pwd)/../rdk-wifi-libhostap/source"
5-
UPSTREAM_HOSTAP_URL="git://w1.fi/hostap.git"
5+
UPSTREAM_HOSTAP_URL="https://git.w1.fi/hostap.git"
66
SRCREV_2_10="9d07b9447e76059a2ddef2a879c57d0934634188"
77

88
#git clone other wifi related components

build/linux/rpi/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ONEWIFI_DIR=$(pwd)
44
HOSTAP_DIR="$(pwd)/../rdk-wifi-libhostap/source"
5-
UPSTREAM_HOSTAP_URL="git://w1.fi/hostap.git"
5+
UPSTREAM_HOSTAP_URL="https://git.w1.fi/hostap.git"
66
SRCREV_2_10="9d07b9447e76059a2ddef2a879c57d0934634188"
77

88
#git clone other wifi related components

build/openwrt/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ HOSTAP_LIB_FLAGS += -DHOSTAPD_2_11 -DCONFIG_WEP -DFEATURE_SUPPORT_RADIUSGREYLIS
256256
-DNO_SUPPLICANT -DCONFIG_DRIVER_NL80211 -DEAP_SERVER_MD5 -DEAP_SERVER_TLS -DEAP_SERVER_UNAUTH_TLS -DEAP_SERVER_PEAP -DEAP_SERVER_TTLS -DEAP_SERVER_MSCHAPV2 -DEAP_SERVER_GTC -DEAP_SERVER_PAX -DEAP_SERVER_PSK -DEAP_SERVER_SAKE -DEAP_SERVER_GPSK -DEAP_GPSK_SHA256 -DEAP_SERVER_PWD \
257257
-DCONFIG_WPS -DEAP_SERVER_WSC -DCONFIG_WPS_TESTING -DEAP_SERVER_IKEV2 -DEAP_SERVER_TNC -DEAP_SERVER_IDENTITY -DEAP_SERVER -DPKCS12_FUNCS -DEAP_TLS_FUNCS -DCONFIG_TLSV11 -DCONFIG_TLSV12 -DCONFIG_TLS_OPENSSL -DCRYPTO_RSA_OAEP_SHA256 -DTLS_DEFAULT_CIPHERS=\""DEFAULT:!EXP:!LOW"\" -DCONFIG_DES \
258258
-DCONFIG_HMAC_SHA256_KDF -DALL_DH_GROUPS -DCONFIG_ECC -DCONFIG_IPV6 -DNEED_AP_MLME -DCONFIG_PROXYARP -DCONFIG_ACS -DCONFIG_DEBUG_LINUX_TRACING -DCONFIG_DEBUG_FILE -DEAP_TLS -DEAP_UNAUTH_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_PAX \
259-
-DEAP_SAKE -DEAP_GPSK -DEAP_PWD -DIEEE8021X_EAPOL -DCONFIG_IEEE80211W -DRDK_ONEWIFI -DCONFIG_GENERIC_MLO -fPIC -DPIC
259+
-DEAP_SAKE -DEAP_GPSK -DEAP_PWD -DIEEE8021X_EAPOL -DCONFIG_IEEE80211W -DRDK_ONEWIFI -DCONFIG_GENERIC_MLO -DCONFIG_MLO -fPIC -DPIC
260260

261261
# wifi agent rules
262262

build/openwrt/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ HOSTAP_SRC_DIR="$HOSTAP_DIR/source"
77
HOSTAP_PATCH_DIR="$HOSTAP_DIR/meta-cmf-bananapi/meta-rdk-mtk-bpir4/recipes-ccsp/rdk-wifi-libhostap/files/2.11"
88
RDK_WIFI_HAL_DIR="$(pwd)/../rdk-wifi-hal"
99
KERNEL_PATCH_DIR="$RDK_WIFI_HAL_DIR/platform/banana-pi/kernel-patches/openwrt"
10-
UPSTREAM_HOSTAP_URL="git://w1.fi/hostap.git"
10+
UPSTREAM_HOSTAP_URL="https://git.w1.fi/hostap.git"
1111
SRCREV_2_11="96e48a05aa0a82e91e3cab75506297e433e253d0"
1212

1313
#git clone other wifi related components

config/TR181-WiFi-USGv2.XML

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3362,6 +3362,11 @@ INSTMSMT_PH2 -->
33623362
<type>unsignedInt</type>
33633363
<syntax>uint32</syntax>
33643364
</parameter>
3365+
<parameter>
3366+
<name>X_RDK_CapSpaStr</name>
3367+
<type>unsignedInt[0:8]</type>
3368+
<syntax>uint32</syntax>
3369+
</parameter>
33653370
</parameters>
33663371

33673372
<objects>

config/bus_dml_config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,6 +1508,12 @@
15081508
"writable": false
15091509
}
15101510
},
1511+
{
1512+
"X_RDK_CapSpaStr": {
1513+
"type": "uint32_t",
1514+
"writable": false
1515+
}
1516+
},
15111517
{
15121518
"MACAddress": {
15131519
"type": "macaddr_t",

config/openwrt/banana-pi/etc/init.d/onewifi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ start_service() {
3232
touch /tmp/onewifi_bootup_completed # Create flag to ensure it's not run again
3333
fi
3434

35+
# Create the directory for core dumps if it doesn't exist
36+
mkdir -p /tmp/cores
37+
38+
# Set the core dump pattern for the kernel
39+
sysctl -w kernel.core_pattern="/tmp/cores/core.%e.%p.%t"
40+
3541
# Use procd to manage the OneWifi process
3642
procd_open_instance
3743
procd_set_param command /bin/sh -c "ulimit -c unlimited && exec /usr/bin/OneWifi -c"

source/dml/tr_181/ml/cosa_wifi_dml.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16636,6 +16636,13 @@ AssociatedDevice1_GetParamUlongValue
1663616636
return TRUE;
1663716637
}
1663816638

16639+
if( AnscEqualString(ParamName, "X_RDK_CapSpaStr", TRUE))
16640+
{
16641+
/* collect value */
16642+
*puLong = assoc_dev_data->dev_stats.cli_activeNumSpatialStreams;
16643+
free(assoc_dev_data);
16644+
return TRUE;
16645+
}
1663916646

1664016647
/* CcspTraceWarning(("Unsupported parameter '%s'\n", ParamName)); */
1664116648
free(assoc_dev_data);

source/platform/common/data_model/wifi_dml_cb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4062,6 +4062,8 @@ bool associated_sta_get_param_uint_value(void *obj_ins_context, char *param_name
40624062
*output_value = assoc_dev_data->dev_stats.cli_Disassociations;
40634063
} else if( STR_CMP(param_name, "X_COMCAST-COM_AuthenticationFailures")) {
40644064
*output_value = assoc_dev_data->dev_stats.cli_AuthenticationFailures;
4065+
} else if( STR_CMP(param_name, "X_RDK_CapSpaStr")) {
4066+
*output_value = assoc_dev_data->dev_stats.cli_activeNumSpatialStreams;
40654067
} else {
40664068
wifi_util_info_print(WIFI_DMCLI,"%s:%d: unsupported param name:%s\n",__func__, __LINE__, param_name);
40674069
return false;

source/stats/wifi_monitor.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,7 @@ int get_sta_stats_info (assoc_dev_data_t *assoc_dev_data) {
10521052
assoc_dev_data->dev_stats.cli_MaxRSSI = sta_data->dev_stats.cli_MaxRSSI;
10531053
assoc_dev_data->dev_stats.cli_Disassociations = sta_data->dev_stats.cli_Disassociations;
10541054
assoc_dev_data->dev_stats.cli_AuthenticationFailures = sta_data->dev_stats.cli_AuthenticationFailures;
1055+
assoc_dev_data->dev_stats.cli_activeNumSpatialStreams = sta_data->dev_stats.cli_activeNumSpatialStreams;
10551056
assoc_dev_data->dev_stats.cli_PacketsSent = sta_data->dev_stats.cli_PacketsSent;
10561057
assoc_dev_data->dev_stats.cli_PacketsReceived = sta_data->dev_stats.cli_PacketsReceived;
10571058
assoc_dev_data->dev_stats.cli_ErrorsSent = sta_data->dev_stats.cli_ErrorsSent;

0 commit comments

Comments
 (0)