qcacmn: Update RNR IE as per 11be D1.4 specification
Update RNR IE fields as per 11be D1.4 specification. Change-Id: I46b04e430ee4477117e8396d65a9de4608cd8dbe CRs-Fixed: 3157064
This commit is contained in:
@@ -471,32 +471,27 @@ struct neighbor_ap_info_field {
|
||||
* enum tbtt_information_field - TBTT information field
|
||||
* @TBTT_NEIGHBOR_AP_OFFSET_ONLY: TBTT information field type
|
||||
* @TBTT_NEIGHBOR_AP_BSS_PARAM: neighbor AP and bss param
|
||||
* @TBTT_NEIGHBOR_AP_MLD_PARAM: neighbor AP and MLD param
|
||||
* @TBTT_NEIGHBOR_AP_SHORTSSID: neighbor AP and Short ssid
|
||||
* @TBTT_NEIGHBOR_AP_S_SSID_BSS_PARAM: neighbor AP, short ssid and bss param
|
||||
* @TBTT_NEIGHBOR_AP_BSSID: neighbor AP and bssid
|
||||
* @TBTT_NEIGHBOR_AP_BSSID_BSS_PARAM: neighbor AP, bssid and bss param
|
||||
* @TBTT_NEIGHBOR_AP_BSSID_BSS_PARAM_20MHZ_PSD: neighbor AP, bssid and bss
|
||||
* param and 20MHz PSD
|
||||
* @TBTT_NEIGHBOR_AP_BSSID_MLD_PARAM: neighbor AP, bssid and MLD param
|
||||
* @TBTT_NEIGHBOR_AP_BSSSID_S_SSID: neighbor AP, bssid and short ssid
|
||||
* @TBTT_NEIGHBOR_AP_BSSID_S_SSID_BSS_PARAM: neighbor AP, bssid, short ssid
|
||||
* and bss params
|
||||
* @TBTT_NEIGHBOR_AP_BSSID_S_SSID_BSS_PARAM_20MHZ_PSD: neighbor AP, bssid,
|
||||
* short ssid, bss params and 20MHz PSD
|
||||
* @TBTT_NEIGHBOR_AP_BSSID_S_SSID_BSS_PARAM_20MHZ_PSD_MLD_PARAM: neighbor AP,
|
||||
* bssid, short ssid, bss params, 20MHz PSD and MLD param
|
||||
*/
|
||||
enum tbtt_information_field {
|
||||
TBTT_NEIGHBOR_AP_OFFSET_ONLY = 1,
|
||||
TBTT_NEIGHBOR_AP_BSS_PARAM = 2,
|
||||
TBTT_NEIGHBOR_AP_MLD_PARAM = 4,
|
||||
TBTT_NEIGHBOR_AP_SHORTSSID = 5,
|
||||
TBTT_NEIGHBOR_AP_S_SSID_BSS_PARAM = 6,
|
||||
TBTT_NEIGHBOR_AP_BSSID = 7,
|
||||
TBTT_NEIGHBOR_AP_BSSID_BSS_PARAM = 8,
|
||||
TBTT_NEIGHBOR_AP_BSSID_BSS_PARAM_20MHZ_PSD = 9,
|
||||
TBTT_NEIGHBOR_AP_BSSID_MLD_PARAM = 10,
|
||||
TBTT_NEIGHBOR_AP_BSSSID_S_SSID = 11,
|
||||
TBTT_NEIGHBOR_AP_BSSID_S_SSID_BSS_PARAM = 12,
|
||||
TBTT_NEIGHBOR_AP_BSSID_S_SSID_BSS_PARAM_20MHZ_PSD = 13,
|
||||
|
@@ -758,21 +758,6 @@ util_scan_update_rnr_mld(struct rnr_bss_info *rnr,
|
||||
TBTT_NEIGHBOR_AP_BSSID_S_SSID_BSS_PARAM_20MHZ_PSD_MLD_PARAM;
|
||||
|
||||
switch (tbtt_info_length) {
|
||||
case TBTT_NEIGHBOR_AP_MLD_PARAM:
|
||||
rnr->channel_number = ap_info->channel_number;
|
||||
rnr->operating_class = ap_info->operting_class;
|
||||
qdf_mem_copy(&rnr->mld_info, &data[1],
|
||||
sizeof(struct rnr_mld_info));
|
||||
mld_info_present = true;
|
||||
break;
|
||||
case TBTT_NEIGHBOR_AP_BSSID_MLD_PARAM:
|
||||
rnr->channel_number = ap_info->channel_number;
|
||||
rnr->operating_class = ap_info->operting_class;
|
||||
qdf_mem_copy(&rnr->bssid, &data[1], QDF_MAC_ADDR_SIZE);
|
||||
qdf_mem_copy(&rnr->mld_info, &data[1 + QDF_MAC_ADDR_SIZE],
|
||||
sizeof(struct rnr_mld_info));
|
||||
mld_info_present = true;
|
||||
break;
|
||||
case TBTT_NEIGHBOR_AP_BSSID_S_SSID_BSS_PARAM_20MHZ_PSD_MLD_PARAM:
|
||||
rnr->channel_number = ap_info->channel_number;
|
||||
rnr->operating_class = ap_info->operting_class;
|
||||
|
Reference in New Issue
Block a user