Age | Commit message (Collapse) | Author |
|
Bug: 258751175
Test: wmediumd_control works as expected with following commands &&
$ atest CuttlefishWmediumdControlTest &&
$ wmediumd_control set_lci 42:00:00:00:00:00 "20\" 10\" 30" &&
$ wmediumd_control set_lci 42:00:00:00:00:00 "abcdef" &&
$ wmediumd_control set_lci 42:00:00:00:01:00 "zzzzz" &&
$ wmediumd_control set_lci 42:00:00:00:00:61 "should not here" &&
$ wmediumd_control set_civicloc 42:00:00:00:01:00 "hyundai" &&
$ wmediumd_control set_civicloc 42:00:00:00:01:00 "hyundai apt" &&
$ wmediumd_control set_civicloc 42:00:00:00:00:61 "GFC 22F"
Change-Id: I48b0e16a51fa8c4badb0587038c2e9aee9180b37
|
|
With set position API in wmediumd, we can connect/disconnect wifi
connection with distance between stations like real world.
Type command "wmediumd_control set_position" to use it.
Bug: 230432123
Test: Creating several cuttlefish instance with "launch_cvd", and
change X/Y position of station with "wmediumd_control set_position".
Then the result could be seen with "wmediumd_control list_stations" and
the cuttlefish screen.
Change-Id: I3858b7af8fdd1172b3a544312fa17cc7583ed042
|
|
Revert "Add set position API in wmediumd"
Revert submission 2107750-set_position_api_wmediumd
Reason for revert: P0 bug(b/235180779) was made with submission of these CLs.
Reverted Changes:
I8617b37b9:Add set position API in wmediumd
I0036878bd:Add set position API in wmediumd
Change-Id: I117c0fefacc3a0d47ff720cb40a12731aac5a8f1
|
|
With set position API in wmediumd, we can connect/disconnect wifi
connection with distance between stations like real world.
Type command "wmediumd_control set_position" to use it.
Bug: 230432123
Test: Creating several cuttlefish instance with "launch_cvd", and
change X/Y position of station with "wmediumd_control set_position".
Then the result could be seen with "wmediumd_control list_stations" and
the cuttlefish screen.
Change-Id: I0036878bdcd2174a050ac987b015a410ce54e6c8
|
|
Add handler for WMEDIUMD_MSG_GET_STATIONS api command that is for
listing stations attached to wmediumd.
Wmediumd sends station list with following info
- Mac address
- Position
- TX power
Bug: 202799068
Test: lunch aosp_cf_x86_64_phone-userdebug && m && launch_cvd
And then, execute `wmediumd_control list_stations`
Change-Id: I54bb4196f02175d91df94af7c3130652a4b01254
|
|
Add handler for wmediumd_control's packet capture command, start_pcap,
stop_pcap. Handler uses existing wmediumd packet capture features that
saves captured packets to pcap file.
Bug: 207805951
Test: lunch aosp_cf_x86_64_phone-userdebug &&
m PRODUCT_ENFORCE_MAC80211_HWSIM=true &&
launch_cvd
Then capture packet with the command
wmediumd_control start_pcap ~/test.pcap
and then
wmediumd_control stop_pcap
for stopping capture.
Change-Id: I765175e186974e66cdf688df89a4ce6e920b1185
|
|
Add handler for api command set_snr and reload_config
at wmediumd to control with CLI or web UI
Bug: 201616800
Test: lunch aosp_cf_x86_64_phone-userdebug &&
m PRODUCT_ENFORCE_MAC80211_HWSIM=true droid wmediumd &&
launch_cvd --ap_rootfs_image=$(path for OpenWRT image) \
--ap_kernel_image=$(path for OpenWRT kernel image)
Change-Id: I95186780cebf1766b1d68909e68e39fdff21baf5
|
|
Test: n/a
Bug: 191918323
Change-Id: I906c45cb04c2aa8cb556adff5a233e27b8114d8b
|