SCAN_TYPE_ACTIVE
priv->scan_mode == SCAN_TYPE_ACTIVE ? "active" : "passive");
scan.scan_type = SCAN_TYPE_ACTIVE;
priv->scan_mode = SCAN_TYPE_ACTIVE;