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:

committed by
Madan Koyyalamudi

parent
c307d90397
commit
7f3b6c9512
@@ -78,6 +78,7 @@ enum wlan_if_mgr_evt {
|
||||
* @chan_freq: Frequency of the potential BSS connection
|
||||
* @beacon_interval: beacon interval of BSS
|
||||
* @is_mlo: indicate whether MLO is supported by the BSS or not
|
||||
* @scan_entry: scan entry data
|
||||
*/
|
||||
struct validate_bss_data {
|
||||
struct qdf_mac_addr peer_addr;
|
||||
@@ -85,6 +86,7 @@ struct validate_bss_data {
|
||||
uint16_t beacon_interval;
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
bool is_mlo;
|
||||
struct scan_cache_entry *scan_entry;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@@ -545,6 +545,7 @@ cm_candidate_mlo_update(struct scan_cache_entry *scan_entry,
|
||||
struct validate_bss_data *validate_bss_info)
|
||||
{
|
||||
validate_bss_info->is_mlo = !!scan_entry->ie_list.multi_link;
|
||||
validate_bss_info->scan_entry = scan_entry;
|
||||
}
|
||||
#else
|
||||
static inline
|
||||
|
@@ -60,7 +60,9 @@ bool wmi_get_action_oui_id(enum action_oui_id action_id,
|
||||
case ACTION_OUI_EXTEND_WOW_ITO:
|
||||
*id = WMI_VENDOR_OUI_ACTION_EXTEND_WOW_ITO;
|
||||
return true;
|
||||
|
||||
case ACTION_OUI_11BE_OUI_ALLOW:
|
||||
*id = WMI_VENDOR_OUI_ACTION_ALLOW_11BE;
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user