Add QCA vendor attribute for DO_ACS to allow using existing scan entries
Add a new QCA vendor attribute QCA_WLAN_VENDOR_ATTR_ACS_LAST_SCAN_AGEOUT_TIME to QCA_NL80211_VENDOR_SUBCMD_DO_ACS and opportunistically optimize time taken for ACS scan. Avoid scanning the channels which were scanned within last QCA_WLAN_VENDOR_ATTR_ACS_LAST_SCAN_AGEOUT_TIME milliseconds and use scan results from the scan results cache for ACS scoring. For other channels, perform ACS scan and use the received scan results. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
b9e2826b9d
commit
94bc94b206
1 changed files with 7 additions and 0 deletions
|
@ -1496,6 +1496,12 @@ enum qca_wlan_vendor_attr_p2p_listen_offload {
|
||||||
* Used with command to configure ACS operation for EHT mode.
|
* Used with command to configure ACS operation for EHT mode.
|
||||||
* Disable (flag attribute not present) - EHT disabled and
|
* Disable (flag attribute not present) - EHT disabled and
|
||||||
* Enable (flag attribute present) - EHT enabled.
|
* Enable (flag attribute present) - EHT enabled.
|
||||||
|
*
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_ACS_LAST_SCAN_AGEOUT_TIME: Optional (u32).
|
||||||
|
* Used with command to configure how older scan can be considered for ACS
|
||||||
|
* scoring. In case scan was performed on a partial set of channels configured
|
||||||
|
* with this command within last QCA_WLAN_VENDOR_ATTR_ACS_LAST_SCAN_AGEOUT_TIME
|
||||||
|
* (in ms), scan only the remaining channels.
|
||||||
*/
|
*/
|
||||||
enum qca_wlan_vendor_attr_acs_offload {
|
enum qca_wlan_vendor_attr_acs_offload {
|
||||||
QCA_WLAN_VENDOR_ATTR_ACS_CHANNEL_INVALID = 0,
|
QCA_WLAN_VENDOR_ATTR_ACS_CHANNEL_INVALID = 0,
|
||||||
|
@ -1518,6 +1524,7 @@ enum qca_wlan_vendor_attr_acs_offload {
|
||||||
QCA_WLAN_VENDOR_ATTR_ACS_EDMG_CHANNEL = 17,
|
QCA_WLAN_VENDOR_ATTR_ACS_EDMG_CHANNEL = 17,
|
||||||
QCA_WLAN_VENDOR_ATTR_ACS_PUNCTURE_BITMAP = 18,
|
QCA_WLAN_VENDOR_ATTR_ACS_PUNCTURE_BITMAP = 18,
|
||||||
QCA_WLAN_VENDOR_ATTR_ACS_EHT_ENABLED = 19,
|
QCA_WLAN_VENDOR_ATTR_ACS_EHT_ENABLED = 19,
|
||||||
|
QCA_WLAN_VENDOR_ATTR_ACS_LAST_SCAN_AGEOUT_TIME = 20,
|
||||||
|
|
||||||
/* keep last */
|
/* keep last */
|
||||||
QCA_WLAN_VENDOR_ATTR_ACS_AFTER_LAST,
|
QCA_WLAN_VENDOR_ATTR_ACS_AFTER_LAST,
|
||||||
|
|
Loading…
Add table
Reference in a new issue