qcacld-3.0: Add API to get max mcs index

Add a new field max_mcs_index in mlme_legacy_priv to save max mcs
index of current vdev.
Add a new field max_real_mcs_idx in hdd_station_info to save max
mcs index of the connected station.

Change-Id: I28908515cbe5c18c79f14f8645defd5c82e3a6f0
CRs-Fixed: 3065838
这个提交包含在:
Bing Sun
2022-04-06 19:13:21 +08:00
提交者 Madan Koyyalamudi
父节点 b5ba99c5aa
当前提交 6df47a0d95
修改 24 个文件,包含 388 行新增97 行删除

查看文件

@@ -447,19 +447,6 @@ int wlan_son_anqp_frame(struct wlan_objmgr_vdev *vdev, int subtype,
*/
uint8_t wlan_son_get_node_tx_power(struct element_info assoc_req_ies);
/**
* wlan_son_get_max_mcs() - calculate the max mcs supported by the node
* @mode: current phymode
* @supp_idx: max supported idx
* @ext_idx: max extended idx
* @ht_mcs_idx: max mcs index for HT
* @vht_mcs_map: mcs map for VHT
*
* return: max_mcs for the node
*/
uint8_t wlan_son_get_max_mcs(uint8_t mode, uint8_t supp_idx, uint8_t ext_idx,
uint8_t ht_mcs_idx, uint8_t vht_mcs_map);
/**
* wlan_son_get_peer_rrm_info() - Get RRM info for peer
* @assoc_req_ies: assoc req ies
@@ -548,13 +535,6 @@ uint8_t wlan_son_get_node_tx_power(struct element_info assoc_req_ies)
return 0;
}
static inline
uint8_t wlan_son_get_max_mcs(uint8_t mode, uint8_t supp_idx, uint8_t ext_idx,
uint8_t ht_mcs_idx, uint8_t vht_mcs_map)
{
return 0;
}
static inline
QDF_STATUS wlan_son_get_peer_rrm_info(struct element_info assoc_req_ies,
uint8_t *rrmcaps,

查看文件

@@ -178,19 +178,6 @@ int ucfg_son_set_cbs_dwell_split_time(struct wlan_objmgr_vdev *vdev,
*/
uint8_t ucfg_son_get_tx_power(struct element_info assoc_req_ies);
/**
* ucfg_get_max_mcs() - calculate the max mcs supported by the node
* @mode: current phy mode
* @supp_idx: max supported idx
* @ext_idx: max extended idx
* @ht_mcs_idx: max mcs index for HT
* @vht_mcs_map: mcs map for VHT
*
* Return: max_mcs for the node
*/
uint8_t ucfg_son_get_max_mcs(uint8_t mode, uint8_t supp_idx, uint8_t ext_idx,
uint8_t ht_mcs_idx, uint8_t vht_mcs_map);
/**
* ucfg_son_get_peer_rrm_info() - Get RRM info for peer
* @assoc_req_ies: assoc req ies