qcacld-3.0: Add ini to enable/disable WLS 6ghz support
Host sends the WLAN_MSG_WLAN_STATUS_IND to WiFi Location Service(WLS) via cnss daemon which includes supported channels. WLS service is yet not 6GHz capable. Hence to limit the 2.4GHz/5GHz channels only in WLAN_MSG_WLAN_STATUS_IND introduce new INI "wls_6ghz_capable". Change-Id: I77b284d2025601fec72aa35d430f18865f15f247 CRs-Fixed: 2748489
This commit is contained in:

committed by
snandini

parent
4e68c1c28d
commit
ab079ed334
@@ -760,6 +760,27 @@
|
||||
0, 0x52, 0x49, CFG_VALUE_OR_DEFAULT, \
|
||||
"Bit mask to retry Auth and full connection on assoc timeout to same AP for SAE connection")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
*
|
||||
* wls_6ghz_capable - WiFi Location Service(WLS) is 6Ghz capable
|
||||
* @Min: 0 (WLS 6Ghz non-capable)
|
||||
* @Max: 1 (WLS 6Ghz capable)
|
||||
* @Default: 0 (WLS 6Ghz non-capable)
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: General
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_WLS_6GHZ_CAPABLE CFG_INI_BOOL( \
|
||||
"wls_6ghz_capable", \
|
||||
0, \
|
||||
"WiFi Location Service(WLS) is 6Ghz capable or not")
|
||||
|
||||
#define CFG_GENERIC_ALL \
|
||||
CFG(CFG_ENABLE_DEBUG_PACKET_LOG) \
|
||||
CFG(CFG_PMF_SA_QUERY_MAX_RETRIES) \
|
||||
@@ -791,5 +812,6 @@
|
||||
CFG(CFG_BMISS_SKIP_FULL_SCAN) \
|
||||
CFG(CFG_ENABLE_RING_BUFFER) \
|
||||
CFG(CFG_DFS_CHAN_AGEOUT_TIME) \
|
||||
CFG(CFG_SAE_CONNECION_RETRIES)
|
||||
CFG(CFG_SAE_CONNECION_RETRIES) \
|
||||
CFG(CFG_WLS_6GHZ_CAPABLE)
|
||||
#endif /* __CFG_MLME_GENERIC_H */
|
||||
|
@@ -319,6 +319,17 @@ QDF_STATUS wlan_mlme_get_crash_inject(struct wlan_objmgr_psoc *psoc,
|
||||
QDF_STATUS wlan_mlme_get_lpass_support(struct wlan_objmgr_psoc *psoc,
|
||||
bool *lpass_support);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_wls_6ghz_cap() - Get the wifi location service(WLS)
|
||||
* 6ghz capability
|
||||
* @psoc: pointer to psoc object
|
||||
* @wls_6ghz_capable: Pointer to the variable from caller
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void wlan_mlme_get_wls_6ghz_cap(struct wlan_objmgr_psoc *psoc,
|
||||
bool *wls_6ghz_capable);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_self_recovery() - Get the self recovery config
|
||||
* @psoc: pointer to psoc object
|
||||
|
@@ -1110,6 +1110,7 @@ struct wlan_mlme_chainmask {
|
||||
* @peer_create_conf_support: Peer create confirmation command support
|
||||
* @dual_sta_roam_fw_support: Firmware support for dual sta roaming feature
|
||||
* @sae_connect_retries: sae connect retry bitmask
|
||||
* @wls_6ghz_capable: wifi location service(WLS) is 6ghz capable
|
||||
*/
|
||||
struct wlan_mlme_generic {
|
||||
uint32_t band_capability;
|
||||
@@ -1151,6 +1152,7 @@ struct wlan_mlme_generic {
|
||||
bool peer_create_conf_support;
|
||||
bool dual_sta_roam_fw_support;
|
||||
uint32_t sae_connect_retries;
|
||||
bool wls_6ghz_capable;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@@ -325,6 +325,21 @@ QDF_STATUS ucfg_mlme_get_lpass_support(struct wlan_objmgr_psoc *psoc,
|
||||
return wlan_mlme_get_lpass_support(psoc, lpass_support);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_wls_6ghz_cap() - Get the WiFi Location Service(WLS)
|
||||
* 6ghz capability
|
||||
* @psoc: pointer to psoc object
|
||||
* @wls_6ghz_capable: Pointer to the variable from caller
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static inline
|
||||
void ucfg_mlme_get_wls_6ghz_cap(struct wlan_objmgr_psoc *psoc,
|
||||
bool *wls_6ghz_capable)
|
||||
{
|
||||
wlan_mlme_get_wls_6ghz_cap(psoc, wls_6ghz_capable);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_self_recovery() - Get the self recovery config
|
||||
* @psoc: pointer to psoc object
|
||||
|
Reference in New Issue
Block a user