Closed rickywu0421 closed 2 years ago
I implemented a smooth random function (which taking jiffies as seed) to simulate the RSSI of owl station. Below is the plot that represents the dBm of RSSI per calls of get_station, which seems much more smoother than the original pure random function. I'm going to modify the test scripts to support plotting. Should I save the picture plotted by python script? Also, maybe README.md should be modified too.
I implemented a smooth random function (which taking jiffies as seed) to simulate the RSSI of owl station. Below is the plot that represents the dBm of RSSI per calls of get_station, which seems much more smoother than the original pure random function. I'm going to modify the test scripts to support plotting. Should I save the picture plotted by python script? Also, maybe README.md should be modified too.
It works like a charm! I appreciate your efforts.
You can put your Python script to directory scripts
.
Sorry! I touched the close-pull-request button by mistake... I have reopened it.
OK. Sure.
dungru @.***> 於 2022年5月3日 下午4:24 寫道:
@dungru approved this pull request.
In vwifi.c:
@@ -57,6 +57,9 @@ struct owl_ndev_priv_context { struct wireless_dev wdev; struct net_device *ndev; struct net_device_stats stats;
- bool is_assoc; / whether the station is associated with an AP/
- unsigned long conn_time; / last connection time to a AP (in jiffies) /
- unsigned long active_time; / last tx/rx time (in jiffies) / Above three lines is layer 2 information. Not relative to the data path. Could we move wifi management information to owl_context?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
The get_station will reveal some informations related to tx/rx, signal and timing informations. I also added some fields in owl_ndev_priv_context in order to record timing informations.