You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
Scope
The scope of this activity is to migrate from existing CcspWiFiAgent component to OneWiFi component in RDK-B Reference platform
Basic wifi info
Process Status
root@Filogic-GW:~# systemctl status onewifi
* onewifi.service - Cosa service
Loaded: loaded (8;;file://Filogic-GW/lib/systemd/system/onewifi.service/lib/systemd/system/onewifi.service8;;; static)
Active: active (running) since Mon 2024-10-28 07:42:12 UTC; 1min 45s ago
TriggeredBy: * filogicwifiinitialized.path
Process: 4181 ExecStartPre=/bin/sh /usr/ccsp/wifi/onewifi_pre_start.sh (code=exited, status=0/SUCCESS)
Process: 4228 ExecStart=/usr/bin/OneWifi -subsys $Subsys (code=exited, status=0/SUCCESS)
Main PID: 4419 (OneWifi)
CGroup: /system.slice/onewifi.service
|- 4419 /usr/bin/OneWifi -subsys eRT.
`- 4567 /var/tmp/wifidb-server /opt/secure/wifi/rdkb-wifi.db --remote=punix:/var/tmp/wifidb.sock --unixctl=/var/tmp/wifi.ctl --lh
Notice: journal has been rotated since unit was started, output may be incomplete.
wifi status
root@Filogic-GW:~# iw dev
phy#1
Interface wifi1
ifindex 18
wdev 0x100000001
addr 00:0c:43:26:60:11
type AP
txpower 0.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
phy#0
Interface wifi0
ifindex 17
wdev 0x1
addr 00:0c:43:26:60:10
ssid BPI_RDKB-AP0
type AP
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
txpower 27.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
root@Filogic-GW:~# ifconfig wifi0
wifi0 Link encap:Ethernet HWaddr 00:0C:43:26:60:10
inet6 addr: fe80::20c:43ff:fe26:6010/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:11520 (11.2 KiB)
root@Filogic-GW:~#
Logs
Test Cases
S.NO | WiFi Test Cases validated on |
---|
1 | OneWifi systemd service should be RUNNING |
2 | OneWifi core files should not be created in /tmp folder |
3 | Wireless interfaces should be UP and RUNNING (i,e wifi0) |
4 | wifi0 interfaces should be mapped under brlan0 (check by using 'brctl show' or 'ovs-vsctl show') |
5 | 2G SSIDs should be broadcasted (check by using iw dev) |
6 | Able to connect default 2G SSIDs |
7 | CaptivePortal page should be appeared when we connect with the default SSID |
8 | Able to change default 2G SSIDs via captiveportal |
9 | Able to connect 2G with updated SSIDs |
10 | Wireless connected clients should get internet through router |
11 | Able to launch WebUI in wireless connected client |
12 | WiFi DM information should be persistent across all reboots |
13 | Webconfig validation for privatewifi subdoc through Webconfig UI |
14 | Able to edit WiFi information in WebUI under WiFi tab |
15 | Able to get/set wifi DM parameters via dmcli |
16 | Able to get/set wifi DM parameters via WebPA |
Limitation
So far , we integrated and validated only single WiPhy Radio.
Reference
RDKBACCL-312
-
Getting issue details...
STATUS