qcacmn: Add dwell time parameters to cfg80211 scan request API
Add active and passive scan dwell time parameters to cfg80211 scan request API. Change-Id: I39f479d7b941e4671f1ad4495ab48031153dd5e7 CRs-Fixed: 2598504
此提交包含在:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -128,6 +128,14 @@ struct scan_req {
|
||||
* @half_rate: Half rate flag
|
||||
* @quarter_rate: Quarter rate flag
|
||||
* @strict_pscan: strict passive scan flag
|
||||
* @dwell_time_active: Active dwell time. Ignored if zero or inapplicable.
|
||||
* @dwell_time_active_2g: 2.4 GHz specific active dwell time. Ignored if zero or
|
||||
* inapplicable.
|
||||
* @dwell_time_passive: Passive dwell time. Ignored if zero or inapplicable.
|
||||
* @dwell_time_active_6g: 6 GHz specific active dwell time. Ignored if zero or
|
||||
* inapplicable.
|
||||
* @dwell_time_passive_6g: 6 GHz specific passive dwell time. Ignored if zero or
|
||||
* inapplicable.
|
||||
*/
|
||||
struct scan_params {
|
||||
uint8_t source;
|
||||
@@ -137,6 +145,11 @@ struct scan_params {
|
||||
bool half_rate;
|
||||
bool quarter_rate;
|
||||
bool strict_pscan;
|
||||
uint32_t dwell_time_active;
|
||||
uint32_t dwell_time_active_2g;
|
||||
uint32_t dwell_time_passive;
|
||||
uint32_t dwell_time_active_6g;
|
||||
uint32_t dwell_time_passive_6g;
|
||||
};
|
||||
|
||||
/**
|
||||
|
新增問題並參考
封鎖使用者