src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/active_scan_test.cc
void ActiveScanTest::StartScan() {
  wlanif_scan_req_t req = {
      .txn_id = ++scan_txn_id_,
      .bss_type = WLAN_BSS_TYPE_INFRASTRUCTURE,
      .scan_type = WLAN_SCAN_TYPE_ACTIVE,
      .num_channels = 5,
      .channel_list = {1, 2, 3, 4, 5},
      .min_channel_time = kDwellTimeMs,
      .max_channel_time = kDwellTimeMs,
      .num_ssids = 0,
  };
  client_ifc_->if_impl_ops_->start_scan(client_ifc_->if_impl_ctx_, &req);
}
// Tell the DUT to run a scan
Tell the DUT to run a scan
Tell the DUT to run a scan
void ActiveScanTest::StartScan() {
  wlanif_scan_req_t req = {
      .txn_id = ++scan_txn_id_,
      .bss_type = WLAN_BSS_TYPE_INFRASTRUCTURE,
      .scan_type = WLAN_SCAN_TYPE_ACTIVE,
      .num_channels = 5,
      .channel_list = {1, 2, 3, 4, 5},
      .min_channel_time = kDwellTimeMs,
      .max_channel_time = kDwellTimeMs,
      .num_ssids = 0,
  };
  client_ifc_->if_impl_ops_->start_scan(client_ifc_->if_impl_ctx_, &req);
}
void ActiveScanTest :: StartScan ( ) { wlanif_scan_req_t req = { . txn_id = ++ scan_txn_id_ , . bss_type = WLAN_BSS_TYPE_INFRASTRUCTURE , . scan_type = WLAN_SCAN_TYPE_ACTIVE , . num_channels = 5 , . channel_list = { 1 , 2 , 3 , 4 , 5 } , . min_channel_time = kDwellTimeMs , . max_channel_time = kDwellTimeMs , . num_ssids = 0 , } ; client_ifc_ -> if_impl_ops_ -> start_scan ( client_ifc_ -> if_impl_ctx_ , & req ) ; }
Tell the DUT to run a scan
Tell the DUT to run a scan