qcacld-3.0: Config support for STA bss color collision detection
Add INI configuration support to enable/disable BSS color collision detection offload in STA mode. Change-Id: I9d8f096813d74242566ccae5f92e872bcaca6295 CRs-Fixed: 2965133
Этот коммит содержится в:

коммит произвёл
Madan Koyyalamudi

родитель
9cd5928878
Коммит
73061c8eff
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2021 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
|
||||
@@ -243,6 +243,27 @@
|
||||
0, \
|
||||
"Enable obss color collision offload")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* bss_color_collision_det_sta - Enables BSS color collision detection in STA
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Default: 0
|
||||
*
|
||||
* This ini used to enable or disable the BSS color collision detection in
|
||||
* STA mode if obss_color_collision_offload is enabled.
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal/External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_BSS_CLR_COLLISION_DETCN_STA CFG_INI_BOOL( \
|
||||
"bss_color_collision_det_sta", \
|
||||
0, \
|
||||
"BSS color collision detection in STA")
|
||||
|
||||
#define CFG_OBSS_HT40_ALL \
|
||||
CFG(CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME) \
|
||||
CFG(CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME) \
|
||||
@@ -253,6 +274,7 @@
|
||||
CFG(CFG_OBSS_HT40_WIDTH_CH_TRANSITION_DELAY) \
|
||||
CFG(CFG_OBSS_HT40_OVERRIDE_HT40_20_24GHZ) \
|
||||
CFG(CFG_OBSS_DETECTION_OFFLOAD) \
|
||||
CFG(CFG_BSS_CLR_COLLISION_DETCN_STA) \
|
||||
CFG(CFG_OBSS_COLOR_COLLISION_OFFLOAD)
|
||||
|
||||
#endif /* CFG_MLME_OBSS_HT40_H__ */
|
||||
|
@@ -1504,6 +1504,7 @@ struct wlan_mlme_cfg_twt {
|
||||
* @is_override_ht20_40_24g: use channel bonding in 2.4 GHz
|
||||
* @obss_detection_offload_enabled: Enable OBSS detection offload
|
||||
* @obss_color_collision_offload_enabled: Enable obss color collision
|
||||
* @bss_color_collision_det_sta: STA BSS color collision detection offload
|
||||
*/
|
||||
struct wlan_mlme_obss_ht40 {
|
||||
uint32_t active_dwelltime;
|
||||
@@ -1516,6 +1517,7 @@ struct wlan_mlme_obss_ht40 {
|
||||
bool is_override_ht20_40_24g;
|
||||
bool obss_detection_offload_enabled;
|
||||
bool obss_color_collision_offload_enabled;
|
||||
bool bss_color_collision_det_sta;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -4033,6 +4033,18 @@ QDF_STATUS
|
||||
ucfg_mlme_set_obss_color_collision_offload_enabled(
|
||||
struct wlan_objmgr_psoc *psoc, uint8_t value);
|
||||
|
||||
/**
|
||||
* ucfg_mlme_set_bss_color_collision_det_sta() - Enable bss color
|
||||
* collision detection offload for STA mode
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: enable or disable
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_mlme_set_bss_color_collision_det_sta(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t value);
|
||||
|
||||
/**
|
||||
* ucfg_mlme_set_restricted_80p80_bw_supp() - Set the restricted 80p80 support
|
||||
* @psoc: pointer to psoc object
|
||||
|
Ссылка в новой задаче
Block a user