Skip to content

Commit 853e26f

Browse files
authored
Merge branch 'develop' into rdkbaccl-1026
2 parents 98af066 + 6cdc0f5 commit 853e26f

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

meta-rdk-mtk-bpir4/recipes-ccsp/ccsp/files/onewifi_pre_start_em_ext.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sleep 5
33

44
iw phy phy0 interface add wifi0 type __ap
5-
iw phy phy0 interface add wifi0.1 type __ap
5+
iw phy phy0 interface add wifi1.2 type __ap
66
iw phy phy0 interface add wifi1 type __ap
77
iw phy phy0 interface add wifi2 type __ap
88
iw phy phy0 interface add wifi1.1 type __ap
@@ -11,29 +11,29 @@ iw phy phy0 interface add wifi1.1 type __ap
1111
wifi0_mac=`cat /nvram/mac_addresses.txt | grep -a wifi0 | cut -d " " -f 2 | head -n1`
1212
wifi1_mac=`cat /nvram/mac_addresses.txt | grep -a wifi1 | cut -d " " -f 2 | head -n1`
1313
wifi2_mac=`cat /nvram/mac_addresses.txt | grep -a wifi2 | cut -d " " -f 2`
14-
wifi0_1_mac=`cat /nvram/mac_addresses.txt | grep -a wifi0.1 | cut -d " " -f 2`
15-
wifi1_1_mac=`cat /nvram/mac_addresses.txt | grep -a wifi1.1 | cut -d " " -f 2`
14+
wifi1_1_mac=`cat /nvram/mac_addresses.txt | grep -a wifi0.1 | cut -d " " -f 2`
15+
wifi1_2_mac=`cat /nvram/mac_addresses.txt | grep -a wifi1.1 | cut -d " " -f 2`
1616

1717
#Update the mac address using ip link command
1818
ifconfig wifi0 down
19-
ifconfig wifi0.1 down
19+
ifconfig wifi1.2 down
2020
ifconfig wifi1 down
2121
ifconfig wifi1.1 down
2222
ifconfig wifi2 down
2323
ip link set dev wifi0 address $wifi0_mac
24-
ip link set dev wifi0.1 address $wifi0_1_mac
24+
ip link set dev wifi1.2 address $wifi1_1_mac
2525
ip link set dev wifi1 address $wifi1_mac
26-
ip link set dev wifi1.1 address $wifi1_1_mac
26+
ip link set dev wifi1.1 address $wifi1_2_mac
2727
ip link set dev wifi2 address $wifi2_mac
2828
ifconfig wifi0 up
29-
ifconfig wifi0.1 up
29+
ifconfig wifi1.2 up
3030
ifconfig wifi1 up
3131
ifconfig wifi1.1 up
3232
ifconfig wifi2 up
3333

3434
#To update al_mac addr in EasymesgCfg.json
3535
al_mac_addr=`cat /nvram/EasymeshCfg.json | grep AL_MAC_ADDR | cut -d '"' -f4`
36-
al_mac=`iw dev wifi1.1 info | grep addr | cut -d ' ' -f2`
36+
al_mac=`iw dev wifi1.2 info | grep addr | cut -d ' ' -f2`
3737

3838
if [ "$al_mac_addr" = "00:00:00:00:00:00" ]; then
3939
sed -i "s/$al_mac_addr/$al_mac/g" /nvram/EasymeshCfg.json

meta-rdk-mtk-bpir4/recipes-ccsp/hal/files/InterfaceMap_em_ext.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,24 @@
2121
"RadioName": "wifi1",
2222
"InterfaceList": [
2323
{
24-
"InterfaceName": "wifi1.1",
24+
"InterfaceName": "wifi1.2",
2525
"Bridge": "brlan0",
2626
"vlanId": 0,
2727
"vapIndex": 3,
2828
"vapName": "mesh_sta_5g"
2929
},
3030
{
31-
"InterfaceName": "wifi1",
31+
"InterfaceName": "wifi1.1",
3232
"Bridge": "brlan0",
3333
"vlanId": 0,
3434
"vapIndex": 2,
35+
"vapName": "mesh_backhaul_5g"
36+
},
37+
{
38+
"InterfaceName": "wifi1",
39+
"Bridge": "brlan0",
40+
"vlanId": 0,
41+
"vapIndex": 1,
3542
"vapName": "private_ssid_5g"
3643
}
3744

@@ -41,13 +48,6 @@
4148
"Index": 0,
4249
"RadioName": "wifi0",
4350
"InterfaceList": [
44-
{
45-
"InterfaceName": "wifi0.1",
46-
"Bridge": "brlan0",
47-
"vlanId": 0,
48-
"vapIndex": 1,
49-
"vapName": "mesh_backhaul_2g"
50-
},
5151
{
5252
"InterfaceName": "wifi0",
5353
"Bridge": "brlan0",

0 commit comments

Comments
 (0)