qcacmn: TID to Link IE scan db changes

Change done to parse TID to Link IE in scan database.

Change-Id: I391c2f9939b43fd6bb21cd713e323ddb04e4bb79
CRs-Fixed: 3344664
Этот коммит содержится в:
Amruta Kulkarni
2022-11-06 20:03:09 -08:00
коммит произвёл Madan Koyyalamudi
родитель a780b76595
Коммит 52bd685515
4 изменённых файлов: 64 добавлений и 0 удалений

Просмотреть файл

@@ -30,6 +30,9 @@
#include <wlan_cmn_ieee80211.h>
#include <wlan_mgmt_txrx_utils_api.h>
#include <reg_services_public_struct.h>
#ifdef WLAN_FEATURE_11BE_MLO
#include "wlan_mlo_mgr_public_structs.h"
#endif
typedef uint16_t wlan_scan_requester;
typedef uint32_t wlan_scan_id;
@@ -202,6 +205,7 @@ struct channel_info {
* @rsnxe: Pointer to rsnxe IE
* @ehtcap: pointer to ehtcap ie
* @ehtop: pointer to eht op ie
* @t2lm: array of pointers to t2lm op ie
* @multi_link_bv: pointer to multi link basic variant IE
* @bwnss_map: pointer to NSS map IE
* @secchanoff: pointer to secondary chan IE
@@ -270,6 +274,7 @@ struct ie_list {
#endif
#ifdef WLAN_FEATURE_11BE_MLO
uint8_t *multi_link_bv;
uint8_t *t2lm[WLAN_MAX_T2LM_IE];
#endif
uint8_t *qcn;

Просмотреть файл

@@ -742,6 +742,8 @@ util_scan_copy_beacon_data(struct scan_cache_entry *new_entry,
#ifdef WLAN_FEATURE_11BE_MLO
ie_lst->multi_link_bv =
conv_ptr(ie_lst->multi_link_bv, old_ptr, new_ptr);
for (i = 0; i < WLAN_MAX_T2LM_IE; i++)
ie_lst->t2lm[i] = conv_ptr(ie_lst->t2lm[i], old_ptr, new_ptr);
#endif
ie_lst->qcn = conv_ptr(ie_lst->qcn, old_ptr, new_ptr);
@@ -1591,6 +1593,20 @@ util_scan_entry_ehtcap(struct scan_cache_entry *scan_entry)
}
#endif
#ifdef WLAN_FEATURE_11BE_MLO
static inline uint8_t*
util_scan_entry_t2lm(struct scan_cache_entry *scan_entry)
{
return scan_entry->ie_list.t2lm[0];
}
#else
static inline uint8_t*
util_scan_entry_t2lm(struct scan_cache_entry *scan_entry)
{
return NULL;
}
#endif
/**
* util_scan_entry_tpe() - function to read tpe ie
* @scan_entry: scan entry