qcacmn: Add ini support for SAE-PK roam score

SAE Public Key (SAE-PK) authentication is an extension of SAE. Host adds
support for SAE-PK APs roam score which host uses to select AP for initial
connection and roaming.
User configures SAE-PK APs weightage using INI "sae_pk_ap_weightage".

Change-Id: I9066c483188bcbf01e3ffbcc4c57f04e1a9129f1
CRs-Fixed: 2769373
This commit is contained in:
Abhishek Ambure
2020-09-03 18:08:48 +05:30
gecommit door snandini
bovenliggende 76c1c5f124
commit 8248366419
7 gewijzigde bestanden met toevoegingen van 162 en 19 verwijderingen

Bestand weergeven

@@ -123,6 +123,7 @@ struct channel_info {
* @rnrie: reduced neighbor report IE
* @adaptive_11r: pointer to adaptive 11r IE
* @single_pmk: Pointer to sae single pmk IE
* @rsnxe: Pointer to rsnxe IE
*/
struct ie_list {
uint8_t *tim;
@@ -175,6 +176,7 @@ struct ie_list {
uint8_t *extender;
uint8_t *adaptive_11r;
uint8_t *single_pmk;
uint8_t *rsnxe;
};
enum scan_entry_connection_state {

Bestand weergeven

@@ -1614,6 +1614,20 @@ util_scan_entry_mbo_oce(struct scan_cache_entry *scan_entry)
return scan_entry->ie_list.mbo_oce;
}
/**
* util_scan_entry_rsnxe() - function to read RSNXE ie
* @scan_entry: scan entry
*
* API, function to read RSNXE ie
*
* Return: RSNXE ie
*/
static inline uint8_t *
util_scan_entry_rsnxe(struct scan_cache_entry *scan_entry)
{
return scan_entry->ie_list.rsnxe;
}
/**
* util_scan_scm_chan_to_band() - function to tell band for channel number
* @chan: Channel number