qcacmn: Add support to parse 6GHz specific IEs

Add support to scan for the 6GHz band capabilities
IE and parse the IE. Added peer assoc param for updating
the minimum data rate advertised by the peer in 6GHz
Opration information.

Change-Id: Iebb4379d321832f3ed2bcd3174a54843fa2d497c
Šī revīzija ir iekļauta:
Rhythm Patwa
2019-09-23 22:09:00 -07:00
revīziju iesūtīja nshrivas
vecāks f3557ff4d1
revīzija 7232cb187e
6 mainīti faili ar 24 papildinājumiem un 0 dzēšanām

Parādīt failu

@@ -148,6 +148,8 @@ struct element_info {
* @cswrp: pointer to channel switch announcement wrapper ie
* @widebw: pointer to wide band channel switch sub ie
* @txpwrenvlp: pointer to tx power envelop sub ie
* @hecap: pointer to hecap ie
* @hecap_6g: pointer to he 6ghz cap ie
* @srp: pointer to spatial reuse parameter sub extended ie
* @fils_indication: pointer to FILS indication ie
* @esp: pointer to ESP indication ie
@@ -194,6 +196,7 @@ struct ie_list {
uint8_t *secchanoff;
uint8_t *mdie;
uint8_t *hecap;
uint8_t *hecap_6g;
uint8_t *heop;
uint8_t *srp;
uint8_t *fils_indication;

Parādīt failu

@@ -1400,6 +1400,19 @@ util_scan_entry_hecap(struct scan_cache_entry *scan_entry)
return scan_entry->ie_list.hecap;
}
/**
* util_scan_entry_he_6g_cap() - function to read he 6GHz caps vendor ie
* @scan_entry: scan entry
*
* API, function to read he 6GHz caps vendor ie
*
* Return: he caps vendorie or NULL if ie is not present
*/
static inline uint8_t*
util_scan_entry_he_6g_cap(struct scan_cache_entry *scan_entry)
{
return scan_entry->ie_list.hecap_6g;
}
/**
* util_scan_entry_heop() - function to read heop vendor ie