qcacmn: Add new enum action OUI type support

Add ACTION_OUI_11BE_OUI_ALLOW enum to support new WMI action
oui type WMI_VENDOR_OUI_ACTION_ALLOW_11BE.
Add scan entry to candidate validation struct.

Change-Id: I502a246584cd5ee6b4759d8fbb67629628314560
CRs-Fixed: 3301859
This commit is contained in:
Liangwei Dong
2022-09-15 11:55:44 +08:00
committed by Madan Koyyalamudi
parent c307d90397
commit 7f3b6c9512
3 changed files with 6 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ enum wlan_if_mgr_evt {
* @chan_freq: Frequency of the potential BSS connection * @chan_freq: Frequency of the potential BSS connection
* @beacon_interval: beacon interval of BSS * @beacon_interval: beacon interval of BSS
* @is_mlo: indicate whether MLO is supported by the BSS or not * @is_mlo: indicate whether MLO is supported by the BSS or not
* @scan_entry: scan entry data
*/ */
struct validate_bss_data { struct validate_bss_data {
struct qdf_mac_addr peer_addr; struct qdf_mac_addr peer_addr;
@@ -85,6 +86,7 @@ struct validate_bss_data {
uint16_t beacon_interval; uint16_t beacon_interval;
#ifdef WLAN_FEATURE_11BE_MLO #ifdef WLAN_FEATURE_11BE_MLO
bool is_mlo; bool is_mlo;
struct scan_cache_entry *scan_entry;
#endif #endif
}; };

View File

@@ -545,6 +545,7 @@ cm_candidate_mlo_update(struct scan_cache_entry *scan_entry,
struct validate_bss_data *validate_bss_info) struct validate_bss_data *validate_bss_info)
{ {
validate_bss_info->is_mlo = !!scan_entry->ie_list.multi_link; validate_bss_info->is_mlo = !!scan_entry->ie_list.multi_link;
validate_bss_info->scan_entry = scan_entry;
} }
#else #else
static inline static inline

View File

@@ -60,7 +60,9 @@ bool wmi_get_action_oui_id(enum action_oui_id action_id,
case ACTION_OUI_EXTEND_WOW_ITO: case ACTION_OUI_EXTEND_WOW_ITO:
*id = WMI_VENDOR_OUI_ACTION_EXTEND_WOW_ITO; *id = WMI_VENDOR_OUI_ACTION_EXTEND_WOW_ITO;
return true; return true;
case ACTION_OUI_11BE_OUI_ALLOW:
*id = WMI_VENDOR_OUI_ACTION_ALLOW_11BE;
return true;
default: default:
return false; return false;
} }