qcacmn: Add support to parse MU-EDCA IE from beacons

Made changes to add support for parsing MU-EDCA IE from beacons.

Change-Id: I6e9b76c82f9048858df3fe0c259182b5df070f30
CRs-fixed: 2247879
Esse commit está contido em:
Rhythm Patwa
2018-05-23 19:29:57 -07:00
commit de nshrivas
commit a6ba9eefb4
4 arquivos alterados com 23 adições e 3 exclusões

Ver arquivo

@@ -196,6 +196,7 @@ struct ie_list {
uint8_t *fils_indication;
uint8_t *esp;
uint8_t *mbo_oce;
uint8_t *muedca;
};
enum scan_entry_connection_state {

Ver arquivo

@@ -1332,6 +1332,20 @@ util_scan_entry_heop(struct scan_cache_entry *scan_entry)
return scan_entry->ie_list.heop;
}
/**
* util_scan_entry_muedca() - function to read MU-EDCA IE
* @scan_entry: scan entry
*
* API, function to read MU-EDCA IE
*
* Return, MUEDCA IE or NULL if IE is not present
*/
static inline uint8_t*
util_scan_entry_muedca(struct scan_cache_entry *scan_entry)
{
return scan_entry->ie_list.muedca;
}
/**
* util_scan_entry_spatial_reuse_parameter() - function to read spatial reuse
* parameter ie

Ver arquivo

@@ -369,6 +369,9 @@ util_scan_parse_extn_ie(struct scan_cache_entry *scan_params,
case WLAN_EXTN_ELEMID_ESP:
scan_params->ie_list.esp = (uint8_t *)ie;
break;
case WLAN_EXTN_ELEMID_MUEDCA:
scan_params->ie_list.muedca = (uint8_t *)ie;
break;
default:
break;
}